From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4169: marked as done (23.1.50; default mode for xml files not correct) Date: Fri, 18 Sep 2009 18:55:06 +0000 Message-ID: References: <87eiq4jdgh.fsf@stupidchicken.com> <48317C0E1A69429482B1548C992F0FFC@xahPC> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1253300106-9617-0" X-Trace: ger.gmane.org 1253301221 1949 80.91.229.12 (18 Sep 2009 19:13:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Sep 2009 19:13:41 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 18 21:13:34 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Moita-00051b-7E for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Sep 2009 21:13:31 +0200 Original-Received: from localhost ([127.0.0.1]:34348 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoitZ-0005ag-35 for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Sep 2009 15:13:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoipX-0003qX-Qm for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2009 15:09:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoipT-0003oC-8L for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2009 15:09:15 -0400 Original-Received: from [199.232.76.173] (port=50279 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoipS-0003o5-TX for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2009 15:09:10 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:25395) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MoipS-0005CC-8h for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2009 15:09:10 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MoipR-0003Cz-Fp for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2009 15:09:09 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8IJ72dg012235; Fri, 18 Sep 2009 12:07:02 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8IIt6D9009647; Fri, 18 Sep 2009 11:55:06 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4169 X-Emacs-PR-Package: emacs X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31237 Archived-At: This is a multi-part message in MIME format... ------------=_1253300106-9617-0 Content-Disposition: inline Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Your message dated Fri, 18 Sep 2009 14:49:02 -0400 with message-id <87eiq4jdgh.fsf@stupidchicken.com> and subject line Re: Default for editing XML files has caused the Emacs bug report #4169, regarding 23.1.50; default mode for xml files not correct to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 4169: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4169 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1253300106-9617-0 Content-Type: message/rfc822 Content-Disposition: inline Received: (at submit) by emacsbugs.donarmstrong.com; 17 Aug 2009 02:33:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.3 required=4.0 tests=AWL,GMAIL,IMPRONONCABLE_1, MURPHY_WRONG_WORD2,STOX_REPLY_TYPE autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7H2XgQf031056 for ; Sun, 16 Aug 2009 19:33:44 -0700 Received: from mail.gnu.org ([199.232.76.166]:37378 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Mcs2Y-0002Wa-AL for emacs-pretest-bug@gnu.org; Sun, 16 Aug 2009 22:33:42 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Mcs2W-0004eY-6L for emacs-pretest-bug@gnu.org; Sun, 16 Aug 2009 22:33:41 -0400 Received: from mout.perfora.net ([74.208.4.195]:53045) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mcs2V-0004du-T5 for emacs-pretest-bug@gnu.org; Sun, 16 Aug 2009 22:33:40 -0400 Received: from xahPC (c-76-102-12-87.hsd1.ca.comcast.net [76.102.12.87]) by mrelay.perfora.net (node=mrus1) with ESMTP (Nemesis) id 0MKpCa-1Mcs2Q2czb-000D31; Sun, 16 Aug 2009 22:33:36 -0400 Message-ID: <48317C0E1A69429482B1548C992F0FFC@xahPC> From: "Xah Lee" To: Subject: 23.1.50; default mode for xml files not correct Date: Sun, 16 Aug 2009 19:33:27 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6002.18005 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18005 X-Provags-ID: V01U2FsdGVkX1/llsNp1BD2UoHyC49vnUsIo79Xs2owpMDwfnB PsuMudhz5wiezpmr1iKJB1nn0JHwH3kR/2QKUeZcWYX/aUBIU8 K09JQmArl+yTC+L9EllwQ== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id n8IJ72dg012235 On my Windows emacs, when i open a xml file, the default mode loaded is=20 sgml-mode, not nxml. This is reproducible with Emacs -Q with FSF's binary for Windows. Since nxml is better, it seems the default should be nxml-mode. PS here's some tidbits from Lennart. On Aug 16, 5:49 pm, Lennart Borgman wrote: > On Sat, Aug 15, 2009 at 5:08 PM, Xah Lee wrote: > > > 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.) I'm not sure how emacs choose modes, or the policies, mechanisms, file=20 locations...etc, or what majmodpri.el is supposed to do. Anyway, i though= t=20 this warrant a bug report for the record. Thanks. Xah =E2=88=91 http://xahlee.org/ =E2=98=84=20 ------------=_1253300106-9617-0 Content-Type: message/rfc822 Content-Disposition: inline Received: (at 4169-done) by emacsbugs.donarmstrong.com; 18 Sep 2009 18:49:36 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.4 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po45.its.yale.edu (pantheon-po45.its.yale.edu [130.132.50.79]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8IInY69008788 for <4169-done@emacsbugs.donarmstrong.com>; Fri, 18 Sep 2009 11:49:36 -0700 Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po45.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n8IIn9Kj010468 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 18 Sep 2009 14:49:22 -0400 Received: by furry (Postfix, from userid 1000) id 60738C070; Fri, 18 Sep 2009 14:49:02 -0400 (EDT) From: Chong Yidong To: emacs-devel@gnu.org Cc: 4169-done@emacsbugs.donarmstrong.com Subject: Re: Default for editing XML files References: <87ws45qavl.fsf@stupidchicken.com> Date: Fri, 18 Sep 2009 14:49:02 -0400 In-Reply-To: <87ws45qavl.fsf@stupidchicken.com> (Chong Yidong's message of "Fri, 11 Sep 2009 20:12:30 -0400") Message-ID: <87eiq4jdgh.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) I've made nXML mode the default for editing XML files. ------------=_1253300106-9617-0--