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 `comment-multi-line' is non-nil, the indentation and line prefix are preserved (see the `c-comment-prefix-regexp' and `c-block-comment-prefix' variables for details). If inside a single line comment and `comment-multi-line' is nil, a new comment of the same type is started on the next line and indented as appropriate for comments. If a fill prefix is specified, it overrides all the above. Regards, Matthias "Daniel Hegyi" <[EMAIL PROTECTED]> writes: > 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 wrap, add an > > Asterisk, > >And indent to the appropriate place within the comment. > > > >- david > > > >-----original Message----- > >From: Daniel Hegyi [mailto:[EMAIL PROTECTED]] > >Sent: Wednesday, September 11, 2002 4:23 PM > >To: [EMAIL PROTECTED] > >Subject: Javadoc comments > > > > > >Hi, > > > >When I'm typing a javadoc comment I'd like to have every new line > >Automatically start with an asterisk. How can I do this? > > > >Thanks, > >Daniel > > > >_________________________________________________________________ > >Msn Photos is the easiest way to share and print your photos: > >Http://photos.msn.com/support/worldwide.aspx > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com -- Registered Linux User #229038 http://counter.li.org