unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* font lock customization does not work for me
@ 2008-06-05 13:09 rabbit50
  0 siblings, 0 replies; 2+ messages in thread
From: rabbit50 @ 2008-06-05 13:09 UTC (permalink / raw)
  To: emacs mailing list

Hallo Group Members

To the end of file I added:


;; Local Variables: **
;; comment-start: ";; "  **
;; comment-end:"**" **
;; font-lock-keywords: '(("Wed" . font-lock-warning-face)) **
;; End: **


then saved and reopened file, but "Wed" strings in my file did not change their face.

From within my buffer I have:
font-lock-keywords is a variable defined in `font-lock.el'.
Its value is 
'(("Wed" . font-lock-warning-face))

Local in buffer readme.txt; global value is nil

font-lock-maximum-decoration is a variable defined in `font-lock.el'.
Its value is t

global-font-lock-mode is a variable defined in `font-core.el'.
Its value is t

The:
;; font-lock-keywords: (("Wed" . font-lock-warning-face)) **
as well as:
;; font-lock-keywords: ("Wed" . font-lock-warning-face) **

also does not work

Did I overlooked something? have You got some ideas?

Regards,
Michal







^ permalink raw reply	[flat|nested] 2+ messages in thread
* font lock customization does not work for me
@ 2008-06-05 15:59 Michal
  0 siblings, 0 replies; 2+ messages in thread
From: Michal @ 2008-06-05 15:59 UTC (permalink / raw)
  To: emacs mailing list


Hallo Group Members

I am using emacs 22.1.

To the end of file I added:


;; Local Variables: **
;; comment-start: ";; "  **
;; comment-end:"**" **
;; font-lock-keywords: '(("Wed" . font-lock-warning-face)) **
;; End: **


then saved and reopened file, but "Wed" strings in my file did not change their face.

From within my buffer I have:
font-lock-keywords is a variable defined in `font-lock.el'.
Its value is 
'(("Wed" . font-lock-warning-face))

Local in buffer readme.txt; global value is nil

font-lock-maximum-decoration is a variable defined in `font-lock.el'.
Its value is t

global-font-lock-mode is a variable defined in `font-core.el'.
Its value is t

The:
;; font-lock-keywords: (("Wed" . font-lock-warning-face)) **
as well as:
;; font-lock-keywords: ("Wed" . font-lock-warning-face) **

also does not work

Did I overlooked something? have You got some ideas?

Regards,
Michal







^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-05 15:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-05 13:09 font lock customization does not work for me rabbit50
  -- strict thread matches above, loose matches on Subject: below --
2008-06-05 15:59 Michal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).