> take a look at filladapt-mode
> http://cc-mode.sourceforge.net/filladapt.php

Yes and then you must ajust the option filladapt-token-table:
Call "M-x customize-option RET filladapt-token-table RET" and then
add the following elements (but do not add this at the end but add it
before the last to items already defined; for this simply press the
related [INS]-button)

After your changes the customize buffer should look like:

...
[INS] [DEL] List:
            Regexp: @param[     ]
            Symbol: bullet
[INS] [DEL] List:
            Regexp: @return[    ]
            Symbol: bullet
[INS] [DEL] List:
            Regexp: @see[       ]
            Symbol: bullet
[INS] [DEL] List:
            Regexp: @exception[         ]
            Symbol: bullet
[INS] [DEL] List:
            Regexp: [   ]+
            Symbol: space
[INS] [DEL] List:
            Regexp: $
            Symbol: end-of-line
[INS]
   [State]: this option has been set and saved.

Please note the last two elements are already there as default value of this
option. Please note also that [         ] is a space and a tab between brackets.

Then [Save for Future Sessions] and you will get well filled Javadocs!

Hope this helps,
Klaus








> -----Original Message-----
> From: Martin Monsorno [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, March 02, 2001 11:57 AM
> To:   jde mailing list
> Subject:      filling javadoc comments
> 
> I often use M-q inside of javadoc-comments to automatically break
> long lines. The problem is: when I have this:
>     @param id an id
>     @return something useful
> the result is:
>     @param id an id @return something useful
> 
> Does anybody know how to prevent emacs from filling lines with tags?
> 
> -- 
> Martin Monsorno
> mailto:[EMAIL PROTECTED]

Reply via email to