unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Sven Joachim <svenjoac@gmx.de>
Cc: Robert L Knighten <RLK02@knighten.org>,
	emacs list <help-gnu-emacs@gnu.org>
Subject: Re: How to turn off conf-mode
Date: Wed, 12 Dec 2007 23:14:33 +0100	[thread overview]
Message-ID: <14514E38-29FF-44D6-91EF-AD5C11143503@Web.DE> (raw)
In-Reply-To: <874pend2gq.fsf@gmx.de>


Am 12.12.2007 um 22:31 schrieb Sven Joachim:

>> 	(add-to-list 'auto-mode-alist
>> ("[/.]c\\(?:on\\)?f\\(?:i?g\\)\\'". conf-mode))
>
> That would be a good idea.

No, not really! Since you explained that *file names* starting with  
cf etc. are triggering conf-mode, the reg-exp to add to auto-mode- 
alist should not start with with the choice of either / or . ...  
Then, I think, another reg-exp should be added, describing just conf*  
files, to still be able to view/edit standard configure,  
configure.in, config.log, config.sub, config.guess, and config.status  
files. And then, of course, the \\(?:\\.[a-zA-Z0-9._-]+\\) part could  
be kept.

--
Mit friedvollen Grüßen

   Pete
                       ~  o
                        ~_\\_/\
                       ~  O   O

  reply	other threads:[~2007-12-12 22:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-11  6:42 How to turn off conf-mode Robert L Knighten
2007-12-11 14:36 ` Rupert Swarbrick
2007-12-12  6:49   ` Robert L Knighten
2007-12-12 20:50     ` Peter Dyballa
     [not found]     ` <mailman.4948.1197492613.18990.help-gnu-emacs@gnu.org>
2007-12-12 21:31       ` Sven Joachim
2007-12-12 22:14         ` Peter Dyballa [this message]
2007-12-13  5:10         ` Robert L Knighten
2007-12-15  4:35           ` Kevin Rodgers
     [not found]           ` <mailman.5051.1197783054.18990.help-gnu-emacs@gnu.org>
2007-12-16  8:33             ` Robert L Knighten

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=14514E38-29FF-44D6-91EF-AD5C11143503@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=RLK02@knighten.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=svenjoac@gmx.de \
    /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).