From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Peter Dyballa <Peter_Dyballa@Freenet.DE>
Cc: emacs-pretest-bug@gnu.org, rms@gnu.org
Subject: Re: 23.0.50; XML conf file
Date: Sat, 22 Dec 2007 20:02:24 -0500 [thread overview]
Message-ID: <jwv4peajkd1.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <9F6DFBB8-0692-4179-A6F1-29050A382705@Freenet.DE> (Peter Dyballa's message of "Sat, 22 Dec 2007 20:43:49 +0100")
> Can it be that conf-mode comes too early into play? Wouldn't it make more
> sense to first check the type of a file, and when it is something not
> binary and not XML (i.e. something fundamental) then the file's name and
> extension are checked? I found the bug with /etc/ fonts/fonts.conf, in case
> someone needs an object to work on.
conf-mode is very "generic" and broad in its application. It's kind of
a default mode for a class of files, so it should be improved to check
for other classes of conf-files, such as XML. No need to change
anything to magic-mode-alist (which would have much further-reaching
consequences).
Stefan
prev parent reply other threads:[~2007-12-23 1:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-15 15:22 23.0.50; XML conf file Peter Dyballa
[not found] ` <E1J5xsk-0001vH-9f@fencepost.gnu.org>
2007-12-22 19:43 ` Peter Dyballa
2007-12-23 1:02 ` Stefan Monnier [this message]
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=jwv4peajkd1.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=Peter_Dyballa@Freenet.DE \
--cc=emacs-pretest-bug@gnu.org \
--cc=rms@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.
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.