From: "\"O. Wölfelschneider\"" <usenet002@mail.teratronik.com>
Subject: generic-mode: Keywords also highlight with an underscore
Date: Wed, 24 Aug 2005 09:51:20 +0200 [thread overview]
Message-ID: <deh8tp$196$01$1@news.t-online.com> (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
next reply other threads:[~2005-08-24 7:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-24 7:51 "O. Wölfelschneider" [this message]
2005-08-24 22:52 ` generic-mode: Keywords also highlight with an underscore rgb
2005-08-25 5:54 ` "O. Wölfelschneider"
2005-08-25 17:55 ` rgb
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='deh8tp$196$01$1@news.t-online.com' \
--to=usenet002@mail.teratronik.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).