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 Dec 6 12:52:09 2010  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Need Info
Privacy: PublicAssigned to: None
Open/Closed: Open

Wed Mar 9 11:05:31 2011, comment #4:

Any luck with this,

have I given you enough details?

Yogi

Yogendra Valani <yogi>
Fri Feb 4 14:37:05 2011, 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 Dec 10 05:00:53 2010, 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 Dec 8 11:30:44 2010, comment #1:

It is actually function

folding-search-in

That is not working properly.

Yogendra Valani <yogi>
Mon Dec 6 12:52:09 2010, 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 Feb 4 14:37:05 2011yogiAttached File-=>Added test.tex, #22599
    Fri Dec 10 05:02:31 2010jaaltoStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup