Not sure about auto-format, but I highlight (my warning face is red)
the part of lines that extend past 80 characters using this:

(defun my-font-lock-prepends (mode)
 "Adds a 80 character line-width"
 (font-lock-add-keywords
  mode
  '(("\\(.\\{80\\}\\)\\(.+\\)"
     2 font-lock-warning-face prepend))))

(my-font-lock-prepends 'jde-mode)

-jeffrey

On Tue, 14 Dec 2004 09:01:20 -0500, Mark D. Hansen
<[EMAIL PROTECTED]> wrote:
> Can anyone tell me how to configure emacs/jde so that my java code will
> auto-format to have column width 80?
> 
> Thanks,
> 
> Mark
>

Reply via email to