[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
broken font locking in gdb-script-mode
From: |
Tim Van Holder |
Subject: |
broken font locking in gdb-script-mode |
Date: |
Thu, 18 May 2006 11:05:48 +0200 |
In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.8.16)
of 2006-05-18 on leeloo
X server distributor `RealVNC Ltd', version 11.0.3370
configured using `configure '--with-gtk' '--with-xpm' '--with-jpeg'
'--with-gif' '--with-tiff' '--with-png' '--with-x' '--with-kerberos'
'--with-kerberos5''
gdb-script-mode seems to indiscriminately font-lock the first word of
every line as a keyword.
However it fails to take line continuation into account, so that in
the case of
set args --foo --bar=baz \
--xyzzy=/some/path.ext
both 'set' and '--xyzzy=/some/path' get highlighted, while only 'set'
is a gdb statement.
I'm reasonably certain this wasn't the case a while ago (a relatively
long while, I admit - I usually tweak .gdbinits in nano). Perhaps
previously the '-', '/' and '=' would have ended word matching, where
now only the '.' does?
- broken font locking in gdb-script-mode,
Tim Van Holder <=