Here is a better regexp -
(font-lock-add-keywords
'jde-mode
'(("^\\( \\|\\)\\( \\|\\)\\( \\|\\)\\(
\\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\(
\\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\(
\\|\\)\\( \\|\\)\\( \\|\\)\\( \\
e-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 30, 2001 8:54 AM
> To: Sandip Chitale
> Cc: burtonator; [EMAIL PROTECTED]
> Subject: Re: limiting line length
>
>
>
> the code you sent works as described - thanks.
> but it doesn'
the code you sent works as described - thanks.
but it doesn't do exactly what i am looking for, in that you can
only tell if a line goes over the desired length if the cursor is
on the line. i am looking for a way to show me all lines
over the defined column limit at a glance. if the hilightin
> > In fact putting the following lines in .emacs
> >
> > ;; Highlight current line
> > (require 'highline)
> > (highline-mode-on)
> >
> > and the following lines in jde-mode-hook
> >
> > (make-variable-buffer-local 'highline-line)
> > (setq highline-line (cons fill-column 240))
> >
> > di
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sandip Chitale <[EMAIL PROTECTED]> writes:
> In fact putting the following lines in .emacs
>
> ;; Highlight current line
> (require 'highline)
> (highline-mode-on)
>
> and the following lines in jde-mode-hook
>
> (make-variable-buffer-local 'hig
ginal Message-
> From: Sandip Chitale
> Sent: Friday, July 27, 2001 4:49 PM
> To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
> Subject: RE: limiting line length
>
>
> > >Or maybe just vertical line down the screen at char 80 to
> > >let you know when
> >Or maybe just vertical line down the screen at char 80 to
> >let you know when a line is to long?
>
> Does anyone know of a way to do this?
The highline.el has a customizable variable called
highline-line. Which seems to allow which part of the line
to highlight. I guess it could be set to
At Fri, 27 Jul 2001 11:04:33 -0500,
Molitor, Stephen <[EMAIL PROTECTED]> wrote:
>Or maybe just vertical line down the screen at char 80 to let you know when a line is
>to long?
Does anyone know of a way to do this?
i would prefer to have a visable reminder which i can decide to ignore or
beak
Duh! Thanks!
Steve
-Original Message-
From: Javier Lopez [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001 11:10 AM
To: Molitor, Stephen; [EMAIL PROTECTED]
Subject: RE: limiting line length
Try M-x auto-fill-mode
Javier
> -Original Message-
> From: Molitor, S
Try M-x auto-fill-mode
Javier
> -Original Message-
> From: Molitor, Stephen [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 27, 2001 12:05 PM
> To: [EMAIL PROTECTED]
> Subject: limiting line length
>
>
> This may be more of a Emacs than a JDE question, but...
>
> We have a coding standard
10 matches
Mail list logo