Your folding extension looks great to me.  I installed it along with
folding.el (Revision: 2.73, Date: 2000/03/13 20:24:07) and while it folds
the methods fine, it is not folding the comments.  I format my comments like
this:

/**
 * long, well-written, but out-of-date 
 * method comment goes here ;-)
 */

I tried playing around with the (folding-add-to-marks-list 'jde-mode "/*"
"*/"  nil  t ), without success.  I tried putting in comments like this

/* comment goes here */

and this

/*
 * comment goes here
 */

and still no luck.  I tried M-x jfolding-hide-all as well as C-c L.  I'm
probably missing something really basic here ... (or maybe I have a newer
version of folding.el that breaks jfolding?)  Thanks!

-----Original Message-----
From: Phillip Lord [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 20, 2000 3:12 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Simple questions from a beginner (mostly emacs related
sorry)



>>>>> "Martin" == Martin Kift <[EMAIL PROTECTED]> writes:

  Martin> One last question before I shut up and get on with using
  Martin> lovely emacs and JDE. One feature I really miss from an
  Martin> editor called Codewrite (and this feature is prob in other
  Martin> editors too), is code wrap up.

          Cor Blimey have I had a load of opportunities to plug this
recently.

          My own minor-mode "jfolding" does precisely this. Its a 
little bit of a hack, just wrapping two other modes (hide-show and
folding mode), but it folds both method bodies and block comments
(which is great if you write lots of javadoc!). 

          It's available at

          http://www.bioinf.man.ac.uk/~lord/home.html

          After me every one

          "Anything Codewrite can do, 
          emacs can do better,
          yes it can, yes it can, yes it can!"

          or lets be less partisan, and say emacs can do it
as well....

          Phil
          

Reply via email to