Kevin Delia writes:
 >     Is anyone using folding mode and JDE together?  I can't seem to get
 > them to co-exist happily.  For example, when I load a java file and add
 > the tags for java-mode folding
 > 
 > // {{{ -and- // }}}
 > 
 > then type folding-mode, nothing happens.  If I load emacs w/o JDE, then
 > load the same file and do the same thing, it folds...
 > 
 > Any help would be appreciated....

For me, the following two things helped:

(fold-add-to-marks-list 'jde-mode "// {{{ " "// }}}" nil t)

Also, I have this at the end of each file:

// Local Variables:
// folded-file: t
// End:


-- 
[EMAIL PROTECTED] - mroh@IRCNet - #8207142@ICQ
http://www.rohleder.de - pgpkey: finger [EMAIL PROTECTED]

A language that doesn't affect the way you think about programming is
not worth knowing.

Reply via email to