RE: Javadoc comments

2002-09-12 Thread Berndl, Klaus
Subject: Re: Javadoc comments Hi, have you tried M-j ? C-h k yields: M-j runs the command c-indent-new-comment-line which is an interactive compiled Lisp function in `cc-cmds'. (c-indent-new-comment-line optional SOFT) Break line at point and indent, continuing comment if within one

Re: Javadoc comments

2002-09-12 Thread Guy Worthington
Thanks for posting your Java specific code Klaus, my .emacs is now packed to the gunwales with your cc-mode and tempo enhancements.

RE: Javadoc comments

2002-09-12 Thread Heinz-Dieter Conradi
hi, On Wed, 11 Sep 2002, Daniel Hegyi wrote: I know. However, is there a way of getting this functionality when starting a new line (i.e., hitting ENTER)? I'd like to get an asterisk then as well. I discovered by accident that if you turn on auto-fill-mode and begin typing within a

RE: Javadoc comments

2002-09-12 Thread Nick Sieger
] ' Subject: RE: Javadoc comments Hi! Smart ENTER in all cc-mode based major-modes (so also for jde-mode): Here is what i have bound to RET in my c-mode-common-hook (jde-mode inherits all this!): (defun my-cc-mode-return

Re: Javadoc comments

2002-09-12 Thread Phillip Lord
Nick == Nick Sieger [EMAIL PROTECTED] writes: Nick Thanks for the nifty code, Klaus. Your `my-cc-mode-return' Nick function led me to wonder if there was a way to make Nick auto-fill/filladapt obey string semantics. It'd be slick if Nick hitting space after the fill-column would close

RE: Javadoc comments

2002-09-11 Thread McGaffin, David
I discovered by accident that if you turn on auto-fill-mode and begin typing within a javadoc comment, the line will automatically wrap, add an asterisk, and indent to the appropriate place within the comment. - david -Original Message- From: Daniel Hegyi [mailto:[EMAIL PROTECTED]]

RE: Javadoc comments

2002-09-11 Thread Daniel Hegyi
I know. However, is there a way of getting this functionality when starting a new line (i.e., hitting ENTER)? I'd like to get an asterisk then as well. Daniel I discovered by accident that if you turn on auto-fill-mode and begin typing within a javadoc comment, the line will automatically

Re: Javadoc comments

2002-09-11 Thread Matthias Papesch
Hi, have you tried M-j ? C-h k yields: M-j runs the command c-indent-new-comment-line which is an interactive compiled Lisp function in `cc-cmds'. (c-indent-new-comment-line optional SOFT) Break line at point and indent, continuing comment if within one. If inside a comment and