[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Default for editing XML files
From: |
Juri Linkov |
Subject: |
Re: Default for editing XML files |
Date: |
Wed, 23 Sep 2009 12:06:49 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) |
>>>> I've made nXML mode the default for editing XML files.
>>> Shouldn't `xml-mode' be replaced with `nxml-mode' in
>>> `magic-fallback-mode-alist' and `conf-mode-maybe' as well?
>
>> Yes, I missed that. Thanks.
>
> I think this is wrong. I think all those variable should point to
> xml-mode, and then xml-mode should be an alias for nxml-mode (which the
> user can re-alias back to sgml-mode if she so prefers).
I agree, it would be better to configure sgml-mode/nxml-mode
for all calls of xml-mode in one place. Maybe with the help
of a new defcustom like:
(defcustom xml-mode 'nxml-mode
"Define xml-mode."
:type '(choice (const nxml-mode)
(const sgml-mode)))
(defun xml-mode ()
(interactive)
(funcall xml-mode))
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: Default for editing XML files, (continued)
- Re: Default for editing XML files, Miles Bader, 2009/09/11
- Re: Default for editing XML files, joakim, 2009/09/12
- Re: Default for editing XML files, Eric Hanchrow, 2009/09/12
- Re: Default for editing XML files, Chong Yidong, 2009/09/18
- Re: Default for editing XML files, Juri Linkov, 2009/09/21
- Re: Default for editing XML files, Chong Yidong, 2009/09/21
- Re: Default for editing XML files, Stefan Monnier, 2009/09/22
- Re: Default for editing XML files,
Juri Linkov <=
- Re: Default for editing XML files, Chong Yidong, 2009/09/23
- Re: Default for editing XML files, Stefan Monnier, 2009/09/23
- Re: Default for editing XML files, Juri Linkov, 2009/09/24
- Re: Default for editing XML files, Lennart Borgman, 2009/09/24
- Re: Default for editing XML files, Chong Yidong, 2009/09/24
- Re: Default for editing XML files, Juri Linkov, 2009/09/25
- Re: Default for editing XML files, Stefan Monnier, 2009/09/25