GNU bug report logs -
#4169
23.1.50; default mode for xml files not correct
Previous Next
Reported by: "Xah Lee" <xah <at> xahlee.org>
Date: Mon, 17 Aug 2009 02:40:05 UTC
Severity: normal
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:
#4169: 23.1.50; default mode for xml files not correct
It has been closed by Chong Yidong <cyd <at> stupidchicken.com>.
Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <cyd <at> stupidchicken.com> by
replying to this email.
--
4169: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4169
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
I've made nXML mode the default for editing XML files.
[Message part 3 (message/rfc822, inline)]
On my Windows emacs, when i open a xml file, the default mode loaded is
sgml-mode, not nxml.
This is reproducible with Emacs -Q with FSF's binary for Windows.
Since nxml is better, it seems the default should be nxml-mode.
PS here's some tidbits from Lennart.
On Aug 16, 5:49 pm, Lennart Borgman <lennart.borg...@gmail.com> wrote:
> On Sat, Aug 15, 2009 at 5:08 PM, Xah Lee<xah...@gmail.com> wrote:
>
> > is this a bug or intentional?
>
> It is one of those unintentional problems that has not got the
> official bug status ;-)
>
> I wrote majmodpri.el (part of nXhtml) to take care of this kind of
> problem and suggested that something like it should be included in
> Emacs. There has not been any positive response to it yet.
>
> The reason I wrote it was that this problem is much more prominent
> when there are multi major modes as an alternative too. (For an xhtml
> file for example you could use html-mode, nxml-mode, html-mumamo-mode,
> nxhtml-mumamo-mode etc.)
I'm not sure how emacs choose modes, or the policies, mechanisms, file
locations...etc, or what majmodpri.el is supposed to do. Anyway, i thought
this warrant a bug report for the record. Thanks.
Xah
∑ http://xahlee.org/
☄
This bug report was last modified 15 years and 307 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.