[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
font-locking in conf-mode
From: |
Roland Winkler |
Subject: |
font-locking in conf-mode |
Date: |
Tue, 18 Oct 2005 05:23:50 +0200 |
Symptoms:
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 problem occurs with `emacs --no-init-file' iff you first evaluate
(global-font-lock-mode 1)
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.
Roland
In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2005-08-25 on tfkp07
configured using `configure '--prefix=/nfs/tfkp07/winkler/emacs/NEW'
'--with-gcc' '--with-pop' '--with-x' '--with-x-toolkit=athena'
'--x-libraries=/usr/X11R6/lib' '--x-includes=/usr/X11R6/include''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
locale-coding-system: nil
default-enable-multibyte-characters: nil
- font-locking in conf-mode,
Roland Winkler <=