unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* shadowing out sgml-mode (how?)
@ 2008-06-22 17:52 T. V. Raman
  2008-06-22 17:54 ` Lennart Borgman (gmail)
  2008-06-22 21:55 ` Stefan Monnier
  0 siblings, 2 replies; 3+ messages in thread
From: T. V. Raman @ 2008-06-22 17:52 UTC (permalink / raw)
  To: emacs-devel

I've been using nxml-mode for a long time now (approx 4 years or
more)

and defalias html-mode to nxml.  But now, with nxml-mode bundled
in emacs, there appears to be a precedence problem, sgml-mode
wichhhhhhhh also defaliases html-mode wins.
So how do i get nxml-mode to gain precedence over sgml-mode? My
own preference would be to drop sgml-mode over time.

-- 
Best Regards,
--raman

      
Email:  raman@users.sf.net
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs




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

* Re: shadowing out sgml-mode (how?)
  2008-06-22 17:52 shadowing out sgml-mode (how?) T. V. Raman
@ 2008-06-22 17:54 ` Lennart Borgman (gmail)
  2008-06-22 21:55 ` Stefan Monnier
  1 sibling, 0 replies; 3+ messages in thread
From: Lennart Borgman (gmail) @ 2008-06-22 17:54 UTC (permalink / raw)
  To: raman; +Cc: emacs-devel

T. V. Raman wrote:
> I've been using nxml-mode for a long time now (approx 4 years or
> more)
> 
> and defalias html-mode to nxml.  But now, with nxml-mode bundled
> in emacs, there appears to be a precedence problem, sgml-mode
> wichhhhhhhh also defaliases html-mode wins.
> So how do i get nxml-mode to gain precedence over sgml-mode? My
> own preference would be to drop sgml-mode over time.

See http://www.emacswiki.org/cgi-bin/wiki/NxmlMode

I wrote the little file fmode.el for that.




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

* Re: shadowing out sgml-mode (how?)
  2008-06-22 17:52 shadowing out sgml-mode (how?) T. V. Raman
  2008-06-22 17:54 ` Lennart Borgman (gmail)
@ 2008-06-22 21:55 ` Stefan Monnier
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2008-06-22 21:55 UTC (permalink / raw)
  To: raman; +Cc: emacs-devel

> and defalias html-mode to nxml.  But now, with nxml-mode bundled
> in emacs, there appears to be a precedence problem, sgml-mode
> wichhhhhhhh also defaliases html-mode wins.

I don't see any place where sgml-mode defaliases html-mode.
sgml-mode.el does *define* the html-mode major mode, as it always has.
So please report a precise recipe that shows your problem,


        Stefan




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

end of thread, other threads:[~2008-06-22 21:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-22 17:52 shadowing out sgml-mode (how?) T. V. Raman
2008-06-22 17:54 ` Lennart Borgman (gmail)
2008-06-22 21:55 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).