unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Juri Linkov <juri@jurta.org>
Cc: Chong Yidong <cyd@stupidchicken.com>, emacs-devel@gnu.org
Subject: Re: Default for editing XML files
Date: Wed, 23 Sep 2009 16:43:22 -0400	[thread overview]
Message-ID: <jwviqf9v1fi.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87ab0mr5vq.fsf@mail.jurta.org> (Juri Linkov's message of "Wed, 23 Sep 2009 12:06:49 +0300")

> 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))

We already had xml-mode as an alias for sgml-mode, AFAICT.
I see no need to introduce such additional customization: we should just
change the alias to point to nxml-mode.


        Stefan




  parent reply	other threads:[~2009-09-23 20:43 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-12  0:12 Default for editing XML files Chong Yidong
2009-09-12  1:41 ` Miles Bader
2009-09-12  6:29 ` joakim
2009-09-12 16:02 ` Eric Hanchrow
2009-09-12 22:19   ` Sean Sieger
2009-09-13  1:16     ` Stefan Monnier
2009-09-13  1:30     ` Jason Rumney
2009-09-18 18:49 ` Chong Yidong
2009-09-21 21:48   ` Juri Linkov
2009-09-21 22:12     ` Chong Yidong
2009-09-22 14:27       ` Stefan Monnier
2009-09-23  9:06         ` Juri Linkov
2009-09-23 15:57           ` Chong Yidong
2009-09-23 20:43           ` Stefan Monnier [this message]
2009-09-24 20:57             ` Juri Linkov
2009-09-24 21:14               ` Lennart Borgman
2009-09-25  2:03               ` Chong Yidong
2009-09-25  9:01                 ` Juri Linkov
2009-09-25 14:18                   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwviqf9v1fi.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).