bugEmacs Tiny Tools - Bugs: bug #31808, Folding.el and emacs load at...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #31808: Folding.el and emacs load at specific file line

Submitted by:  Yogendra Valani <yogi>
Submitted on:  Mon 06 Dec 2010 12:52:09 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Need Info
Privacy: PublicAssigned to: None
Open/Closed: Open

Wed 09 Mar 2011 11:05:31 AM UTC, comment #4:

Any luck with this,

have I given you enough details?

Yogi

Yogendra Valani <yogi>
Fri 04 Feb 2011 02:37:05 PM UTC, comment #3:

Jari,

Please find attached a sample Tex file. compile with command
latex test.tex

I have looked into the problem further:

If I automatically start folding mode when the file is loaded
then

emacs +5 test.tex

will NOT work.

But if I remove autoload then

emacs +5 test.tex

does work.

So the folding-search-in function may not be the problem

Thanks Yogi

(file #22599)

Yogendra Valani <yogi>
Fri 10 Dec 2010 05:00:53 AM UTC, comment #2:

Thank you for the report,

Could you attach an example *.tex file for testing the problem as I don't use TeX.

Jari

Jari Aalto <jaalto>
Project Administrator
Wed 08 Dec 2010 11:30:44 AM UTC, comment #1:

It is actually function

folding-search-in

That is not working properly.

Yogendra Valani <yogi>
Mon 06 Dec 2010 12:52:09 PM UTC, original submission:

Hi,

I am using a reverse search on some latex code.
Folding mode is loaded automatically loaded via the following code in my .emacs file:

(if (load "folding" 'nomessage 'noerror)
(folding-mode-add-find-file-hook))

Now if I want to load a latex file at say line 100 in the command line I would type

emacs +100 filename.tex

The problem is emacs folds entire file, and just goes to the top fold mark containing line 100.

What would be ideal is if emacs loads with all folds folded except the fold where line 100 is.

Thanks Yogi

Ps I hope this is clear. If not please ask further questions,

Yogendra Valani <yogi>

 

Attached Files
file #22599:  test.tex added by yogi (166B - application/x-tex)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jaalto (Posted a comment)
  • -unavailable- added by yogi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 04 Feb 2011 02:37:05 PM UTCyogiAttached File-=>Added test.tex, #22599
    Fri 10 Dec 2010 05:02:31 AM UTCjaaltoStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup