Re: Code folder with Emacs

2008-03-25 Thread Martin Sand Christensen
> "Grant" == Grant Edwards <[EMAIL PROTECTED]> writes: Grant> Has anybody figured out how to do code folding of Python source Grant> files in emacs? I use outline-minor-mode with the following home baked configuration: ;; Python stuff for outline mode. (defvar py-outline-regexp "^\\([ \t]*\\

Re: Code folder with Emacs

2008-03-21 Thread Grant Edwards
On 2008-03-21, Diez B. Roggisch <[EMAIL PROTECTED]> wrote: >> Has anybody figured out how to do code folding of Python source >> files in emacs? >> >> I tried "hide-show" minor mode, but it doesn't really work for >> Python code: the only think it knows how to hide/show are >> function bodies.

Re: Code folder with Emacs

2008-03-21 Thread Diez B. Roggisch
Grant Edwards schrieb: > Has anybody figured out how to do code folding of Python source > files in emacs? > > I tried "hide-show" minor mode, but it doesn't really work for > Python code: the only think it knows how to hide/show are > function bodies. It can't do normal things like hide/show a

Re: Code folder with Emacs

2008-03-20 Thread Michael Wieher
I don't use emucks, but in vim its very simple. :set foldmethod=indent and instantly anything indented (ie: all python blocks) are folded. to unfold a fold zo to close an opened fold zc that outta be enough to get any fellow vim-heads going =) 2008/3/20, Grant Edwards <[EMAIL PROTECTED]>: > >