Hi Curtis,

Thanks for digging this out. Perhaps Eric or David can comment.

- Paul

Curtis Clifton writes:
 > > -----Original Message-----
 > > From: Paul Kinnucan [mailto:[EMAIL PROTECTED]]
 > >
 > > Niranjan Rao writes:
 > >  > JDE Version 2.2.8
 > >  > GNU Emacs 20.7.1 on NT 4.0
 > >  >
 > >  > When I try to continue comment using indent-new-comment-line (Meta - J)
 > >  > command, JDE adds new comment line along with proper comment
 > > marks i.e. //
 > >  >
 > >  > \s-*\*/
 > >  >
 > >  > Is this problem in my settings or bug in JDE
 > >
 > > Insert the following form
 > >
 > >   (setq block-comment-end nil)
 > >
 > > into your jde hook function. I don't know who is setting
 > > it to "\s-*\*/" or why. I don't think it's the JDE.
 > 
 > I've experienced this problem as well.  A quick grep of my *.el files yields
 > the following:
 > 
 > ./semantic-1.4beta8/semantic-java.el:    (set (make-local-variable
 > 'block-comment-end) "\\s-*\\*/")
 > 
 > This is in the function semantic-default-java-setup and is preceded by the
 > comment ";; Needed by `semantic-find-doc-snarf-comment'."
 > semantic-find-doc-snarf-comment is defined in semantic-util.el.  I'm not
 > sure, but it seems to me that semantic is using block-comment-end for other
 > than its intended purpose.  Quoting from its declaration in simple.el:
 > 
 > "*String to insert to end a new comment on a line by itself.
 > Should be an empty string if comments are terminated by end-of-line.
 > If nil, use `comment-end' instead."
 > 
 > Semantic seems to be using the variable as a regexp pattern match (if my
 > lisp reading is correct).
 > 
 > -- Curt
 > 

Reply via email to