From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Default for editing XML files Date: Wed, 23 Sep 2009 16:43:22 -0400 Message-ID: References: <87ws45qavl.fsf@stupidchicken.com> <87eiq4jdgh.fsf@stupidchicken.com> <8763bc2fei.fsf@mail.jurta.org> <87d45kt0a4.fsf@stupidchicken.com> <87ab0mr5vq.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253738623 27714 80.91.229.12 (23 Sep 2009 20:43:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Sep 2009 20:43:43 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 23 22:43:35 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MqYgW-0002a8-QL for ged-emacs-devel@m.gmane.org; Wed, 23 Sep 2009 22:43:33 +0200 Original-Received: from localhost ([127.0.0.1]:40166 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqYgW-0000Uw-3f for ged-emacs-devel@m.gmane.org; Wed, 23 Sep 2009 16:43:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqYgR-0000Uc-JK for emacs-devel@gnu.org; Wed, 23 Sep 2009 16:43:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqYgN-0000U2-Sf for emacs-devel@gnu.org; Wed, 23 Sep 2009 16:43:27 -0400 Original-Received: from [199.232.76.173] (port=36591 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqYgN-0000Tz-Pi for emacs-devel@gnu.org; Wed, 23 Sep 2009 16:43:23 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:2858 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MqYgN-0008MH-H6 for emacs-devel@gnu.org; Wed, 23 Sep 2009 16:43:23 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArsFAKslukpFpYEz/2dsb2JhbACBUdYbhBsFh34 X-IronPort-AV: E=Sophos;i="4.44,440,1249272000"; d="scan'208";a="46449800" Original-Received: from 69-165-129-51.dsl.teksavvy.com (HELO pastel.home) ([69.165.129.51]) by ironport2-out.pppoe.ca with ESMTP; 23 Sep 2009 16:43:22 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 1F147807A; Wed, 23 Sep 2009 16:43:22 -0400 (EDT) In-Reply-To: <87ab0mr5vq.fsf@mail.jurta.org> (Juri Linkov's message of "Wed, 23 Sep 2009 12:06:49 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:115560 Archived-At: > 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