Hi!

I'm not sure if this has been fixed in versions above jde-2.1.6beta23
(which I still use, I simply have not got around updating yet ;).

When typing M-q (i.e. running fill-paragraph) in a JavaDOC comment,
fill-paragraph does the "wrong" thing, i.e.

/**
 * A very long sentence which goes <point-placed-here> on and on and on
and on and on and on and on and on and on over several lines.
 *
 * @param foo Some text describing foo
 */

If point is placed at <point-placed-here> and I hit M-q, the result is

/**
 * A very long sentence which goes <point-placed-here> on and
 * on and on and on and on and on and on and on and on over 
 * several lines. @param foo Some text describing foo
 */

Which is at least not what I intended. ;)

However this could very easily be fixed if JDE-mode redefined
paragraph-start and paragraph-separate to something like this

(make-local-variable 'paragraph-start)
(setq paragraph-start "\([ 
]\|[ ]+\*[ ]*\)")
(make-local-variable 'paragraph-separate)
(setq paragraph-separate "\([ ]*\|[ ]+\*[ ]*\)$")


/John

-- 
LM/ERA/LVA/KD John Olsson  mailto:[EMAIL PROTECTED] 
   Ericsson Radio Systems AB, Box 1248, S-581 12 Linkoping
-------------------------------------------------------------
  Phone: +46 13 321070   ECN: 868 1070   Fax: +46 13 287370
-------------------------------------------------------------
I was doing object-oriented assembly when I was 1 year old...  
For some reason my mom insists on calling it "Playing with blocks"

Reply via email to