From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lowell Gilbert Newsgroups: gmane.emacs.help Subject: Re: zone-mode Date: Sat, 24 Jan 2004 19:39:35 GMT Organization: Comcast Online Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <447jzh16h4.fsf@be-well.ilk.org> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1074973736 27345 80.91.224.253 (24 Jan 2004 19:48:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 24 Jan 2004 19:48:56 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 24 20:48:50 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 1AkTly-0001q3-00 for ; Sat, 24 Jan 2004 20:48:50 +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 1AkTlX-0000i6-Lp for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Jan 2004 14:48:23 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!attbi_feed3!attbi_feed4!attbi.com!attbi_s03.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-NNTP-Posting-Host: 66.30.196.44 Original-X-Complaints-To: abuse@comcast.net Original-X-Trace: attbi_s03 1074973175 66.30.196.44 (Sat, 24 Jan 2004 19:39:35 GMT) Original-NNTP-Posting-Date: Sat, 24 Jan 2004 19:39:35 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:120382 Original-To: help-gnu-emacs@gnu.org 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:16327 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16327 Lars Bungum writes: > I'm trying to use the zone-mode to update the serial number of a DNS > zone-file from within emacs. > > >From what I can read in the docs, the mode should update the serials > automatically when you save the file. I can't see that this happenes. > Then I tried to use M-x zone-mode-update-serial to see if that worked, > but wasn't able to get any response back. No error, but nothing > happenes to the file. > > I don't really know what to do to find out of this (my question). I'm > not fluent in elisp, but should be able to make something out of > debugging information. The regular expression which the mode uses to recognize serial numbers is not very flexible. There has to be whitespace, a number, (optionally) whitespace, a semicolon, (optionally) whitespace, and the word "serial" (optionally capitalized). Among other things, this means the closing parenthesis has to be on a later line. [See the re-search-forward line in zone-mode.el] Hope that helps.