From unknown Sun Jun 22 04:15:04 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2840: [emacs-nxml-mode] C-c C-b doesn't work as expected Reply-To: Jason Rumney , 2840@debbugs.gnu.org Resent-From: Jason Rumney Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: mail@chaitanyagupta.com, Emacs Bugs Resent-Date: Wed, 01 Apr 2009 08:05:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 2840 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12385725078809 (code B ref -1); Wed, 01 Apr 2009 08:05:06 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 1 Apr 2009 07:55:07 +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=3.5 required=4.0 tests=GAPPY_SUBJECT,XIRONPORT 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.13.8/8.13.8/Debian-3) with ESMTP id n317t3Rt008485 for ; Wed, 1 Apr 2009 00:55:05 -0700 Received: from mx10.gnu.org ([199.232.76.166]:43460) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LovHr-00015q-7u for emacs-pretest-bug@gnu.org; Wed, 01 Apr 2009 03:55:03 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LovHo-0002MG-9a for emacs-pretest-bug@gnu.org; Wed, 01 Apr 2009 03:55:02 -0400 Received: from mx20.gnu.org ([199.232.41.8]:48983) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LovHn-0002M7-OY for emacs-pretest-bug@gnu.org; Wed, 01 Apr 2009 03:55:00 -0400 Received: from mk-outboundfilter-6-a-2.mail.uk.tiscali.com ([212.74.114.16]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LovHn-00056P-5h for emacs-pretest-bug@gnu.org; Wed, 01 Apr 2009 03:54:59 -0400 X-Trace: 89907873/mk-outboundfilter-6.mail.uk.tiscali.com/F2S/$F2S-INTERNET-ACCEPTED/None/61.4.103.130/None/jasonr@gnu.org X-SBRS: None X-RemoteIP: 61.4.103.130 X-IP-MAIL-FROM: jasonr@gnu.org X-MUA: Thunderbird 2.0.0.21 (Windows/20090302) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqECAHm60kk9BGeC/2dsb2JhbAAIgXbMT4N6Bg X-IronPort-AV: E=Sophos;i="4.39,305,1235952000"; d="scan'208,217";a="89907873" X-IP-Direction: OUT Received: from unknown (HELO [10.1.1.112]) ([61.4.103.130]) by smtp.f2s.tiscali.co.uk with ESMTP/TLS/DHE-RSA-AES256-SHA; 01 Apr 2009 08:54:56 +0100 Message-ID: <49D31D9A.5060606@gnu.org> Date: Wed, 01 Apr 2009 15:54:02 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: emacs-pretest-bug References: <49D31296.6060303@chaitanyagupta.com> In-Reply-To: <49D31296.6060303@chaitanyagupta.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-kernel: by mx20.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Debbugs-Cc: mail@chaitanyagupta.com Chaitanya Gupta wrote: > Hi, > > I am using GNU Emacs 23.0.92.1 and the nxml-mode which comes with it. > C-c C-b (nxml-balanced-close-start-tag-block) doesn't seem to work as > expected. > > e.g. if my buffer is like this: (-!- indicates the point) > > > > > > And I press C-c C-b, I get this > > > -!- > > > > instead of what I was expecting: > > > > -!- > > > This appears to be a bug in Emacs. If I run through nxml-balanced-close-start-tag in edebug, then it works as you expected, but if I let nxml-balanced-close-start-tag run without debugging, it acts as if 'inline was specified rather than 'block. From unknown Sun Jun 22 04:15:04 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Jason Rumney Subject: bug#2840 closed by Chong Yidong (Re: [emacs-nxml-mode] C-c C-b doesn't work as expected) Message-ID: References: <87y6n01npr.fsf@stupidchicken.com> <49D31D9A.5060606@gnu.org> X-Emacs-PR-Message: they-closed 2840 X-Emacs-PR-Package: emacs Reply-To: 2840@debbugs.gnu.org Date: Sat, 24 Oct 2009 21:40:10 +0000 Content-Type: multipart/mixed; boundary="----------=_1256420410-16911-1" This is a multi-part message in MIME format... ------------=_1256420410-16911-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #2840: [emacs-nxml-mode] C-c C-b doesn't work as expected It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 2840: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2840 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1256420410-16911-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2840-done) by emacsbugs.donarmstrong.com; 24 Oct 2009 21: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=1.3 required=4.0 tests=AWL,GAPPY_SUBJECT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po42.its.yale.edu (pantheon-po42.its.yale.edu [130.132.50.101]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9OLXg3s015997 for <2840-done@emacsbugs.donarmstrong.com>; Sat, 24 Oct 2009 14:33:43 -0700 Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po42.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n9OLXaIV008325 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 24 Oct 2009 17:33:36 -0400 Received: by furry (Postfix, from userid 1000) id 1C90CC070; Sat, 24 Oct 2009 17:33:36 -0400 (EDT) From: Chong Yidong To: mail@chaitanyagupta.com Cc: 2840-done@debbugs.gnu.org Subject: Re: [emacs-nxml-mode] C-c C-b doesn't work as expected Date: Sat, 24 Oct 2009 17:33:36 -0400 Message-ID: <87y6n01npr.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) > if my buffer is like this: (-!- indicates the point) > > > > > > And I press C-c C-b, I get this > > > -!- > I have checked a fix into Emacs CVS. Thanks for the bug report. ------------=_1256420410-16911-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 1 Apr 2009 07:55:07 +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=3.5 required=4.0 tests=GAPPY_SUBJECT,XIRONPORT 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.13.8/8.13.8/Debian-3) with ESMTP id n317t3Rt008485 for ; Wed, 1 Apr 2009 00:55:05 -0700 Received: from mx10.gnu.org ([199.232.76.166]:43460) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LovHr-00015q-7u for emacs-pretest-bug@gnu.org; Wed, 01 Apr 2009 03:55:03 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LovHo-0002MG-9a for emacs-pretest-bug@gnu.org; Wed, 01 Apr 2009 03:55:02 -0400 Received: from mx20.gnu.org ([199.232.41.8]:48983) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LovHn-0002M7-OY for emacs-pretest-bug@gnu.org; Wed, 01 Apr 2009 03:55:00 -0400 Received: from mk-outboundfilter-6-a-2.mail.uk.tiscali.com ([212.74.114.16]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LovHn-00056P-5h for emacs-pretest-bug@gnu.org; Wed, 01 Apr 2009 03:54:59 -0400 X-Trace: 89907873/mk-outboundfilter-6.mail.uk.tiscali.com/F2S/$F2S-INTERNET-ACCEPTED/None/61.4.103.130/None/jasonr@gnu.org X-SBRS: None X-RemoteIP: 61.4.103.130 X-IP-MAIL-FROM: jasonr@gnu.org X-MUA: Thunderbird 2.0.0.21 (Windows/20090302) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqECAHm60kk9BGeC/2dsb2JhbAAIgXbMT4N6Bg X-IronPort-AV: E=Sophos;i="4.39,305,1235952000"; d="scan'208,217";a="89907873" X-IP-Direction: OUT Received: from unknown (HELO [10.1.1.112]) ([61.4.103.130]) by smtp.f2s.tiscali.co.uk with ESMTP/TLS/DHE-RSA-AES256-SHA; 01 Apr 2009 08:54:56 +0100 Message-ID: <49D31D9A.5060606@gnu.org> Date: Wed, 01 Apr 2009 15:54:02 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: emacs-pretest-bug Subject: Re: [emacs-nxml-mode] C-c C-b doesn't work as expected References: <49D31296.6060303@chaitanyagupta.com> In-Reply-To: <49D31296.6060303@chaitanyagupta.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-kernel: by mx20.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Debbugs-Cc: mail@chaitanyagupta.com Chaitanya Gupta wrote: > Hi, > > I am using GNU Emacs 23.0.92.1 and the nxml-mode which comes with it. > C-c C-b (nxml-balanced-close-start-tag-block) doesn't seem to work as > expected. > > e.g. if my buffer is like this: (-!- indicates the point) > > > > > > And I press C-c C-b, I get this > > > -!- > > > > instead of what I was expecting: > > > > -!- > > > This appears to be a bug in Emacs. If I run through nxml-balanced-close-start-tag in edebug, then it works as you expected, but if I let nxml-balanced-close-start-tag run without debugging, it acts as if 'inline was specified rather than 'block. ------------=_1256420410-16911-1--