all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs 23 does not load nxml but sgml-mode for .xml files?
@ 2009-08-15 15:08 Xah Lee
  2009-08-17  0:49 ` Lennart Borgman
       [not found] ` <mailman.4753.1250470154.2239.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Xah Lee @ 2009-08-15 15:08 UTC (permalink / raw)
  To: help-gnu-emacs

on my Windows emacs, when i open a xml file, seems the default mode
loaded is sgml-mode, not nxml?

is this a bug or intentional?

GNU Emacs 23.1.50.1 (i386-mingw-nt6.0.6002) of 2009-06-30 on
LENNART-69DE564 (patched)

Reproducible with emacs -Q using FSF's official emacs for Windows
binary too.

  Xah
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Emacs 23 does not load nxml but sgml-mode for .xml files?
  2009-08-15 15:08 Emacs 23 does not load nxml but sgml-mode for .xml files? Xah Lee
@ 2009-08-17  0:49 ` Lennart Borgman
       [not found] ` <mailman.4753.1250470154.2239.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Lennart Borgman @ 2009-08-17  0:49 UTC (permalink / raw)
  To: Xah Lee; +Cc: help-gnu-emacs

On Sat, Aug 15, 2009 at 5:08 PM, Xah Lee<xahlee@gmail.com> wrote:
> on my Windows emacs, when i open a xml file, seems the default mode
> loaded is sgml-mode, not nxml?
>
> 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.)


> GNU Emacs 23.1.50.1 (i386-mingw-nt6.0.6002) of 2009-06-30 on
> LENNART-69DE564 (patched)
>
> Reproducible with emacs -Q using FSF's official emacs for Windows
> binary too.
>
>  Xah
> ∑ http://xahlee.org/
>
> ☄
>




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Emacs 23 does not load nxml but sgml-mode for .xml files?
       [not found] ` <mailman.4753.1250470154.2239.help-gnu-emacs@gnu.org>
@ 2009-08-17  2:45   ` Xah Lee
  0 siblings, 0 replies; 3+ messages in thread
From: Xah Lee @ 2009-08-17  2:45 UTC (permalink / raw)
  To: help-gnu-emacs

Thanks Lennart.

I filed a bug report.

 Xah

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:
> > on my Windows emacs, when i open a xml file, seems the default mode
> > loaded is sgml-mode, not nxml?
>
> > 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.)
>
>
>
> > GNU Emacs 23.1.50.1 (i386-mingw-nt6.0.6002) of 2009-06-30 on
> > LENNART-69DE564 (patched)
>
> > Reproducible with emacs -Q using FSF's official emacs for Windows
> > binary too.
>
> >  Xah
> > ∑http://xahlee.org/
>
> > ☄


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-17  2:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-15 15:08 Emacs 23 does not load nxml but sgml-mode for .xml files? Xah Lee
2009-08-17  0:49 ` Lennart Borgman
     [not found] ` <mailman.4753.1250470154.2239.help-gnu-emacs@gnu.org>
2009-08-17  2:45   ` Xah Lee

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.