From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58459 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: text/dns Date: Mon, 13 Sep 2004 10:11:28 +0900 Organization: Emacsen advocacy group Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1095038100 19914 80.91.229.6 (13 Sep 2004 01:15:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Sep 2004 01:15:00 +0000 (UTC) Original-X-From: ding-owner+M6999@lists.math.uh.edu Mon Sep 13 03:14:44 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 1C6fQa-0007zJ-00 for ; Mon, 13 Sep 2004 03:14:44 +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 1C6fNi-0001Og-00; Sun, 12 Sep 2004 20:11:46 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1C6fNb-0001Oa-00 for ding@lists.math.uh.edu; Sun, 12 Sep 2004 20:11:39 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1C6fNa-0007ow-CP for ding@lists.math.uh.edu; Sun, 12 Sep 2004 20:11:38 -0500 Original-Received: from washington.hostforweb.net (washington.hostforweb.net [69.61.11.2]) by justine.libertine.org (Postfix) with ESMTP id E69DA3A020D for ; Sun, 12 Sep 2004 20:11:35 -0500 (CDT) Original-Received: from localhost ([127.0.0.1]) by washington.hostforweb.net with asmtp (Exim 4.41) id 1C6fNa-0007EC-80 for ding@gnus.org; Sun, 12 Sep 2004 21:11:38 -0400 Original-To: ding@gnus.org X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Security Through Obscurity, linux) Cancel-Lock: sha1:VqBtcapJVxUkKkxVs4WDpEXbt9g= X-Hashcash: 0:040913:ding@gnus.org:f7ab99a66c01dd71 X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58459 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58459 --=-=-= >>>>> 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. --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline (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) --=-=-=--