all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lowell Gilbert <usenet@be-well.ilk.org>
Subject: Re: zone-mode
Date: Sat, 24 Jan 2004 19:39:35 GMT	[thread overview]
Message-ID: <447jzh16h4.fsf@be-well.ilk.org> (raw)
In-Reply-To: mailman.1274.1074959413.928.help-gnu-emacs@gnu.org

Lars Bungum <lars@bungum.no> 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.

       reply	other threads:[~2004-01-24 19:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1274.1074959413.928.help-gnu-emacs@gnu.org>
2004-01-24 19:39 ` Lowell Gilbert [this message]
2004-01-24 21:14   ` zone-mode Lars Bungum
2004-01-24 21:46     ` zone-mode Martin Rydstr|m
2004-01-24 23:16       ` zone-mode Lars Bungum
2004-01-24 15:49 zone-mode Lars Bungum

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=447jzh16h4.fsf@be-well.ilk.org \
    --to=usenet@be-well.ilk.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.