Markhor
May 31st, 2009, 09:23 PM
I am user of vim for several years. After constantly having to make heavy modifications to vim to suit my needs, I decided to switch to Emacs as my primary editor.
It's ironic that I am switching to Emacs primarily for IDE features, yet it doesn't seem to have the extremely useful code-folding feature (something which vim very elegantly provides), The only code folding mechanism I have found is selective display which essentially folds based on indentation. I'd like to fold regions of code. I ran into a hackish looking solution (fold.el). I'm wondering if anyone knows of a decent implementation of folding, preferably maintaining state across saves. Thanks.
It's ironic that I am switching to Emacs primarily for IDE features, yet it doesn't seem to have the extremely useful code-folding feature (something which vim very elegantly provides), The only code folding mechanism I have found is selective display which essentially folds based on indentation. I'd like to fold regions of code. I ran into a hackish looking solution (fold.el). I'm wondering if anyone knows of a decent implementation of folding, preferably maintaining state across saves. Thanks.