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 authentication level.

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

Submitter:  Yogendra Valani <yogi>
Submitted:  Mon 06 Dec 2010 12:52:09 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Need Info
Privacy:  Public Assigned 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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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
  • -email is unavailable- added by jaalto (Posted a comment)
  • -email is unavailable- added by yogi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-02-04 yogi Attached File- Added test.tex, #22599
    2010-12-10 jaalto StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code