unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* generic-mode: Keywords also highlight with an underscore
@ 2005-08-24  7:51 "O. Wölfelschneider"
  2005-08-24 22:52 ` rgb
  0 siblings, 1 reply; 4+ messages in thread
From: "O. Wölfelschneider" @ 2005-08-24  7:51 UTC (permalink / raw)


Hi group!

Say I did:

(define-generic-mode 'fnord-mode
   nil
   (list "fnord" "foobar")
   nil
   (list "\\.fnord")
   (list 'turn-on-font-lock))

This mode will then highlight the keywords fnord and foobar.

However, it will also highlight _fnord, foobar_ and so on.

I do not want the keyword to highlight if it has an
underscore attached to it.

How can I get rid of this behaviour?

(Emacs 21.4 that comes with debian sarge, also an older
20.7.1 on windows)

Thanks!
  Olav

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

end of thread, other threads:[~2005-08-25 17:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-24  7:51 generic-mode: Keywords also highlight with an underscore "O. Wölfelschneider"
2005-08-24 22:52 ` rgb
2005-08-25  5:54   ` "O. Wölfelschneider"
2005-08-25 17:55     ` rgb

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).