From: Steve Youngs <steve@youngs.au.com>
Subject: Re: text/dns
Date: Mon, 13 Sep 2004 12:46:26 +1000 [thread overview]
Message-ID: <microsoft-free.87y8jeubr1.fsf@youngs.au.com> (raw)
In-Reply-To: <b9y4qm36khr.fsf@jpl.org> (Katsumi Yamaoka's message of "Mon, 13 Sep 2004 10:11:28 +0900")
[-- Attachment #1: Type: text/plain, Size: 1412 bytes --]
* Katsumi Yamaoka <yamaoka@jpl.org> writes:
>>>>>> In <ilur7p7oex8.fsf@latte.josefsson.org> Simon Josefsson wrote:
>> Hm. Font-locking doesn't work alright. But I can't find out why. To
>> me, dns-mode.el seem to do the same as sieve-mode.el and dig.el for
>> font lock keywords, and both of them work. Anyone?
> In `dns-mode-font-lock-keywords', faces seem to have to be
> existing face symbols. So, defining all dns faces by defface or
> modifying `dns-mode-font-lock-keywords' as follows would solve it.
> (defcustom dns-mode-font-lock-keywords
> `(("^$ORIGIN" 0 ,dns-mode-control-entity-face)
> ("^$INCLUDE" 0 ,dns-mode-control-entity-face)
> ("^$[a-z0-9A-Z]+" 0 ,dns-mode-bad-control-entity-face)
> (,(regexp-opt dns-mode-classes) 0 ,dns-mode-class-face)
> (,(regexp-opt dns-mode-types) 0 ,dns-mode-type-face))
> "Font lock keywords used to highlight text in DNS master file mode."
> :type 'sexp
> :group 'dns-mode)
Yes, that works for me.
I've just discovered another problem. Once `dns-mode' is invoked, I
get a `DNS' menu in every new buffer (there's one in my message buffer
right now).
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| Te audire no possum. |
| Musa sapientum fixa est in aure. |
|----------------------------------<steve@youngs.au.com>---|
[-- Attachment #2: Type: application/pgp-signature, Size: 256 bytes --]
next prev parent reply other threads:[~2004-09-13 2:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-11 17:28 text/dns Simon Josefsson
2004-09-11 21:49 ` text/dns Andrew A. Raines
2004-09-11 22:21 ` text/dns Romain Francoise
2004-09-11 22:28 ` text/dns Steve Youngs
2004-09-12 11:45 ` text/dns Simon Josefsson
2004-09-12 12:22 ` text/dns Simon Josefsson
2004-09-13 1:11 ` text/dns Katsumi Yamaoka
2004-09-13 2:46 ` Steve Youngs [this message]
2004-09-13 4:47 ` text/dns Katsumi Yamaoka
2004-09-13 5:16 ` text/dns Steve Youngs
2004-09-13 5:23 ` text/dns Katsumi Yamaoka
2004-09-13 11:38 ` text/dns Simon Josefsson
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=microsoft-free.87y8jeubr1.fsf@youngs.au.com \
--to=steve@youngs.au.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 NNTP newsgroup(s).