Emacs feature similar to JEdit's indent folding mode? -


possible duplicate:
emacs equivalent of vim's foldmethod = indent

jedit has mode (specifically, folding mode: indent, in options) lets fold code blocks based purely on indentation. not require additional configuration, or knowledge of language using.

that is, if have code this:

  foo      bar      blah   oof 

and cursor on second or third line, , tell jedit fold, 2 lines hidden.

i have read similar questions, haven't found in emacs "just works", buffer, jedit's code folding does.

i have tried fold dwim. doesn't work me. folds right end of buffer, reason, utterly useless.

take @ minor mode folding-mode


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -