From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Default for editing XML files Date: Wed, 23 Sep 2009 11:57:57 -0400 Message-ID: <873a6dlkl6.fsf@stupidchicken.com> 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 1253721510 28696 80.91.229.12 (23 Sep 2009 15:58:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Sep 2009 15:58:30 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 23 17:58:22 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 1MqUEL-00078Q-79 for ged-emacs-devel@m.gmane.org; Wed, 23 Sep 2009 17:58:09 +0200 Original-Received: from localhost ([127.0.0.1]:37717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqUEK-0003iK-Pr for ged-emacs-devel@m.gmane.org; Wed, 23 Sep 2009 11:58:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqUEE-0003hM-TO for emacs-devel@gnu.org; Wed, 23 Sep 2009 11:58:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqUEA-0003eF-Cz for emacs-devel@gnu.org; Wed, 23 Sep 2009 11:58:02 -0400 Original-Received: from [199.232.76.173] (port=46359 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqUEA-0003e5-5D for emacs-devel@gnu.org; Wed, 23 Sep 2009 11:57:58 -0400 Original-Received: from pantheon-po37.its.yale.edu ([130.132.50.95]:46984) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MqUE9-0005Nj-Mz for emacs-devel@gnu.org; Wed, 23 Sep 2009 11:57:57 -0400 Original-Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po37.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n8NFvvRS025075 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 23 Sep 2009 11:57:57 -0400 Original-Received: by furry (Postfix, from userid 1000) id 263A8C070; Wed, 23 Sep 2009 11:57:57 -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-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:115552 Archived-At: Juri Linkov writes: > 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)) Sounds fine to me.