Stephen,
        Thanks.

        Well I thought jde-java-font-lock was meant to -
(from the release notes of JDE 2.2.8beta5)

New font-lock setup policy.

  - If `jde-use-font-lock' is non-nil the JDE completely handles font
    lock setup. It turns on font locking in `java-mode' if needed and
    installs the extra level of fontification in
    `java-font-lock-keywords-4'.

  - If `jde-use-font-lock' is nil the JDE  delegates
    syntax coloring setup to standard `java-mode'.

So I thoght `font-lock-add-keywords' may not work when
"JDEE completely handles font lock setup".

I guess that is not the case. I have similarly verified that
it works even when jde-java-font-lock is non nil.

regards,
sandip


> -----Original Message-----
> From: Molitor, Stephen [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 22, 2001 12:27 PM
> To: 'Sandip Chitale'
> Subject: RE: Highlight columns after `fill-column'
> 
> 
> Sandip,
> 
> This is great, thanks!
> 
> What is the issue with jde-use-font-lock?  I have 
> jde-use-font-lock set to
> t, and it still seems to work for me.
> 
> Steve Molitor
> [EMAIL PROTECTED]
> 
> -----Original Message-----
> From: Sandip Chitale [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 22, 2001 1:36 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Highlight columns after `fill-column'
> 
> 
> Sorry for the garbled format. Here it is as an attachment....
> 
> > -----Original Message-----
> > From: Sandip Chitale [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 22, 2001 11:26 AM
> > To: '[EMAIL PROTECTED]'
> > Cc: '[EMAIL PROTECTED]'
> > Subject: Highlight columns after `fill-column'
> > 
> > 
> > (JDE users: This assumes `jde-use-font-lock' is set to nil. 
> > Can someone
> > figure out how to make it work with 'jde-use-font-lock' is t).
> > 
> > Usage:
> > 
> > In your .emacs -
> > 
> > (require 'highlight-beyond-fill-column)
> > 
> > (font-lock-add-keywords 'java-mode
> >                     '(
> >                       (find-after-fill-column 0 highlight prepend)
> >                       )
> >                     )
> > 
> >
> 

Reply via email to