Well I didn't really test this. I can get it to show up in the variable
though. I'd put this all in a method and add that to font-lock-mode-hook
and see if that helps.
>-----Original Message-----
>From: Will Sargent [mailto:[EMAIL PROTECTED]]
>Sent: Monday, August 28, 2000 4:36 PM
>To: [EMAIL PROTECTED]
>Cc: [EMAIL PROTECTED]
>Subject: RE: Making FIXME comments work in JDE
>
>
>> Should be able to just add you're (keyword face) to
>java-font-lock-keywords.
>>
>> I think this will work:
>> ;;; Make FIXME and XXX stand out as big ugly warnings.
>> (make-face 'font-lock-fixme-face)
>> (set-face-foreground 'font-lock-fixme-face "Red")
>> (set-face-background 'font-lock-fixme-face "Yellow")
>> (setq fixme-keyword-names "fixme\\|xxx")
>> (setq extra-keywords
>> (list
>> (list (concat "\\<\\(" fixme-keyword-names "\\)\\>") 1
>> 'font-lock-fixme-face)
>> ))
>> (append java-font-lock-keywords extra-keywords)
>
>I've done this, but when I check the variable, I don't see xxx
>or fixme in
>java-font-lock-keywords. It says it's loaded from
>"font-lock", if that helps any.
>Typing the offending keywords in a Java file shows no change.
>
>Do I need to set this before we load up font-lock? I'm kind
>of at a loss...
>
>Will.
>
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Mail - Free email you can access from anywhere!
>http://mail.yahoo.com/
>