Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: (OT) Emacs code folding

by kaif (Friar)
on Jun 03, 2005 at 17:49 UTC ( [id://463350]=note: print w/replies, xml ) Need Help??


in reply to (OT) Emacs code folding
in thread Subroutines versus straight top to bottom scripts

I just looked at the folding.el mentioned in that other thread and it mentioned that imenu (included with Emacs) and hideshow might be good packages for function/block-level hiding. The former is interesting, and I didn't know about it, but it doesn't provide hiding capability. I just tried out the latter and it seems good so far at hiding blocks.

Replies are listed 'Best First'.
Re^2: (OT) Emacs code folding
by mattr (Curate) on Jun 04, 2005 at 02:47 UTC
    Thank you (and above posters)! I'll try out hideshow I think, since it seems to automatically work based on the structure of the code itself and is closest to what I wanted (a toggling widget to the left of each "sub" keyword, etc. I'll see if it also can hide sections i.e. separated by a line leading with two sharps which happens to be an idiom I tend to use, though I guess I should use pod style. Thanks!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://463350]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-03-29 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found