From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lars Bungum Newsgroups: gmane.emacs.help Subject: Re: zone-mode Date: Sun, 25 Jan 2004 00:16:35 +0100 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1074986194.1902.27.camel@shostakovitsj.larsemann> References: <447jzh16h4.fsf@be-well.ilk.org> <1074978893.1903.19.camel@shostakovitsj.larsemann> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1074986348 365 80.91.224.253 (24 Jan 2004 23:19:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 24 Jan 2004 23:19:08 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 25 00:19:00 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AkX3M-00023V-00 for ; Sun, 25 Jan 2004 00:19:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AkX3H-0000Fj-V2 for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Jan 2004 18:18:56 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AkX1e-00088U-MZ for help-gnu-emacs@gnu.org; Sat, 24 Jan 2004 18:17:14 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AkX14-0007up-D8 for help-gnu-emacs@gnu.org; Sat, 24 Jan 2004 18:17:10 -0500 Original-Received: from [217.13.4.2] (helo=mail.broadpark.no) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AkX13-0007uW-Eb for help-gnu-emacs@gnu.org; Sat, 24 Jan 2004 18:16:37 -0500 Original-Received: from un (151.80-202-161.nextgentel.com [80.202.161.151]) by mail.broadpark.no (Postfix) with ESMTP id 979067A64A; Sun, 25 Jan 2004 00:16:35 +0100 (MET) Original-To: rydis+replies@cd.chalmers.se In-Reply-To: X-Mailer: Ximian Evolution 1.4.4 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16332 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16332 On Sat, 2004-01-24 at 22:46, rydis@CD.Chalmers.SE wrote: > Lars Bungum writes: > > My zone-files don't have a particular extension, though, so my next > > challenge would be to get hold of some lines for my .emacs that would > > open zone-mode for all files opened in my zone-file directory. How can > > I do this? > (add-to-list 'auto-mode-alist (cons "\\`/etc/namedb/Z/" 'zone-mode)) > (I keep my zone-files in /etc/namedb/Z/.) Thanks! It just struck me that it would be very useful for me if the zone-mode would give some sort of notice if it tried to bump the serial, but failed to find one in the file. Just a little status warning at the bottom at the bottom of the screen or something. Would it be easy to append something like that to the zone-mode.el file (or otherwise)? --lars