Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

(OT) Emacs code folding

by radiantmatrix (Parson)
on Jun 03, 2005 at 17:05 UTC ( #463336=note: print w/replies, xml ) Need Help??

in reply to Re: Subroutines versus straight top to bottom scripts
in thread Subroutines versus straight top to bottom scripts

I had a thread on cross-platform editors a while back. I always like Emacs, but had gotten away from it because of it's lack of code-folding (which is what you're talking about). However, a respondant to my query replied with information about an Emacs LISP file that adds code-folding. I'm using Eclipse now, so I haven't run the ELISP referenced, but it is here: Re: Cross-platform development: editors

Yoda would agree with Perl design: there is no try{}

Replies are listed 'Best First'.
Re: (OT) Emacs code folding
by kaif (Friar) on Jun 03, 2005 at 17:49 UTC
    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.
      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!
Re: (OT) Emacs code folding
by benizi (Hermit) on Jun 03, 2005 at 17:45 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://463336]
[1nickt]: hippo You suggest this as a transport agent for Email::Sender, or ...? Just for the record Email::Sender:: Transport::SMTP has SSL/TLS support built-in (and some shiny RJBS extras like "partial success" ...)
[Perl300]: ok

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (12)
As of 2017-10-17 16:15 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (234 votes). Check out past polls.