I would like to have automatic folds for comments in my AquaEmacs.
+1
A:
have a look at hs-minor-mode
. it's not automatic though. for a more automatic approach, i guess you could customize the hideshow mode the following way:
- hide comments via
hs-hide-comments-when-hiding-all
- assign a function which hides nothing to
hs-hide-all-non-comment-function
and then - use
hs-hide-all
to hide all comments.
have not tried it. just an idea.
check out the hideshow mode page at emacswiki as well.
halloleo
2009-02-23 00:54:35
Did I understand right that it is not possible to get similar (automatic) folds to xEmacs as to Vim? I use xEmacs only for LaTex so I need folds only for it.
Masi
2009-02-23 11:24:03