[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 23.0.50; XML conf file

From: Stefan Monnier
Subject: Re: 23.0.50; XML conf file
Date: Sat, 22 Dec 2007 20:02:24 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]