unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: dns mode
Date: Thu, 06 May 2010 22:59:14 -0400	[thread overview]
Message-ID: <jwvwrvgju4p.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: mailman.14.1273185801.9285.help-gnu-emacs@gnu.org

> And similarly for zone-mode.  This also has the advantage of working
> regardless of the regexp used to match the file name.

A simpler solution is to not remove anything but add instead:

  (push '("\\.soa\\'" . my-mode) auto-mode-alist)

this will work regardless of the shape and number of entries in
auto-mode-alist.


        Stefan


  parent reply	other threads:[~2010-05-07  2:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-21 18:33 dns mode Nachiket Gokhale
2010-04-21 20:49 ` Dmitry Dzhus
2010-05-06 22:43   ` Kevin Rodgers
     [not found]   ` <mailman.14.1273185801.9285.help-gnu-emacs@gnu.org>
2010-05-07  2:59     ` Stefan Monnier [this message]
2010-05-07  6:48 ` Reiner Steib

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvwrvgju4p.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).