From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58460 Path: main.gmane.org!not-for-mail From: Steve Youngs Newsgroups: gmane.emacs.gnus.general Subject: Re: text/dns Date: Mon, 13 Sep 2004 12:46:26 +1000 Organization: Linux Users - Fanatics Dept. Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: sea.gmane.org 1095043682 29712 80.91.229.6 (13 Sep 2004 02:48:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Sep 2004 02:48:02 +0000 (UTC) Keywords: dns-mode-font-lock-keywords,dns-mode,dns Original-X-From: ding-owner+M7000@lists.math.uh.edu Mon Sep 13 04:47:43 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C6gsZ-0002f0-00 for ; Mon, 13 Sep 2004 04:47:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1C6grm-0001Y6-00; Sun, 12 Sep 2004 21:46:54 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1C6grf-0001Y0-00 for ding@lists.math.uh.edu; Sun, 12 Sep 2004 21:46:47 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1C6grd-0008NZ-Sx for ding@lists.math.uh.edu; Sun, 12 Sep 2004 21:46:45 -0500 Original-Received: from bastard.youngs.au.com (CPE-61-9-212-151.qld.bigpond.net.au [61.9.212.151]) by justine.libertine.org (Postfix) with ESMTP id 813AD3A020D for ; Sun, 12 Sep 2004 21:46:34 -0500 (CDT) Original-Received: from bastard.youngs.au.com (localhost [127.0.0.1]) by bastard.youngs.au.com (8.12.11/8.12.11) with ESMTP id i8D2kSAv003226 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 13 Sep 2004 12:46:30 +1000 Original-Received: (from steve@localhost) by bastard.youngs.au.com (8.12.11/8.12.11/Submit) id i8D2kSYs003225; Mon, 13 Sep 2004 12:46:28 +1000 X-Authentication-Warning: bastard.youngs.au.com: steve set sender to steve@youngs.au.com using -f Mail-Copies-To: never Original-To: Gnus List X-Face: #/1'_-|5_1$xjR,mVKhpfMJcRh8"k}_a{EkIO:Ox<]@zl/Yr|H,qH#3jJi6Aw(Mg@"!+Z"C N_S3!3jzW^FnPeumv4l#,E}J.+e%0q(U>#b-#`~>l^A!_j5AEgpU)>t+VYZ$:El7hLa1:%%L=3%B>n K{^jU_{& X-X-Day: Only 2431350 days till X-Day. Got Slack? X-URL: X-Request-PGP: X-OpenPGP-Fingerprint: 1659 2093 19D5 C06E D320 3A20 1D27 DB4B A94B 3003 X-Discordian-Date: Sweetmorn, the 37th day of Bureaucracy, 3170. X-Attribution: SY Mail-Followup-To: Gnus List In-Reply-To: (Katsumi Yamaoka's message of "Mon, 13 Sep 2004 10:11:28 +0900") User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Security Through Obscurity, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58460 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58460 --=-=-= * Katsumi Yamaoka writes: >>>>>> In 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). -- |---------------------| | Te audire no possum. | | Musa sapientum fixa est in aure. | |-------------------------------------| --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Eicq - The XEmacs ICQ Client iEYEABECAAYFAkFFCgQACgkQHSfbS6lLMAMmMgCgr6xqn2fkh1nZZhBuoasbVgz7 01EAmgKwmFvYowxScaZYDQncDEPoD9fP =xGvm -----END PGP SIGNATURE----- --=-=-=--