RE: Auto-format code to width = 80

2004-12-15 Thread Mark D. Hansen
, 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

RE: Auto-format code to width = 80

2004-12-15 Thread Michael Schupp
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

Re: Auto-format code to width = 80

2004-12-14 Thread Jeffrey Phillips
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

Re: Auto-format code to width = 80

2004-12-14 Thread Jason Rumney
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

RE: Auto-format code to width = 80

2004-12-14 Thread Karr, David
: 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

Re: Auto-format code to width = 80

2004-12-14 Thread Phillip Lord
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

Re: Auto-format code to width = 80

2004-12-13 Thread Jeffrey Phillips
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