Michael -
Thanks so much for the pointer..what I had to do was not use the line
(autoload 'folding-mode "folding" "Folding mode" t)
as described in the folding.el documentation, but instead use
(load "folding")
otherwise, the command to add the jde-mode stuff failed since the autoload
command didn't really load folding (at least it doesn't appear to have)
Also, I did not have to add the lines to the end of my file as you
suggested - one less thing to do! :->
Finally, there is a typo in your command => it should be "folding", not
"fold"
Thanks again for useful help...
Michael Rohleder wrote:
> 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.