all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.