On Tue Oct 18 2005 Roland Winkler wrote:
I get rather strange results from font-lock when visiting my
~/.Xdefaults file. The only things that are highlighted are comments
starting with `!' and conditionals like `#if WIDTH==1600'. But not
even the matching `#endif' is recognized.
conf-xdefaults-mode says that assignments should be highlighted,
too.
The only thing I could figure out is that conf-mode uses the
obsolete variable font-lock-defaults-alist. But I do not know
whether this is causing the problem.
I just realized I forgot an important piece of information:
The problem occurs with `emacs --no-init-file' only if you first evaluate
(global-font-lock-mode 1)
I also noticed that at least as of june 22, when I last built Emacs,
font-locking in conf-mode is not what it used to be. Alas I currently
have no time to debug this.