, December 14, 2004 9:56 AM
To: Mark D. Hansen
Cc: [EMAIL PROTECTED]
Subject: Re: Auto-format code to width = 80
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
Mark Hansen once wrote:
Thanks for everyone's help with this. I'd like to get this warning
face working on columns 80. I've tried this suggestion, but nothing
is happening. Below is my .emacs. If anyone can see anything wrong,
I'd appreciate the help. (I'm kind of a newbie with
and
variable aren't defined in my version of Xemacs.
-Original Message-
From: Jeffrey Phillips [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 14, 2004 6:56 AM
To: Mark D. Hansen
Cc: [EMAIL PROTECTED]
Subject: Re: Auto-format code to width = 80
Not sure about auto-format
Mark D. Hansen 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
auto-fill-mode
: Auto-format code to width = 80
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
Jeffrey == Jeffrey Phillips [EMAIL PROTECTED] writes:
Jeffrey Not sure about auto-format, but I highlight (my warning
Jeffrey face is red) the part of lines that extend past 80
Jeffrey characters using this:
Jeffrey (defun my-font-lock-prepends (mode)
Jeffrey Adds a 80 character
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