GNU bug report logs -
#2840
[emacs-nxml-mode] C-c C-b doesn't work as expected
Previous Next
Reported by: Jason Rumney <jasonr <at> gnu.org>
Date: Wed, 1 Apr 2009 08:05:06 UTC
Severity: normal
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sat, 24 Oct 2009 17:33:36 -0400
with message-id <87y6n01npr.fsf <at> stupidchicken.com>
and subject line Re: [emacs-nxml-mode] C-c C-b doesn't work as expected
has caused the Emacs bug report #2840,
regarding [emacs-nxml-mode] C-c C-b doesn't work as expected
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 help-debbugs <at> gnu.org
immediately.)
--
2840: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2840
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
X-Debbugs-Cc: mail <at> 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)
>
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head-!-
> </html>
>
>
> And I press C-c C-b, I get this
>
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>-!-</head>
> </html>
>
>
> instead of what I was expecting:
>
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
> -!-
> </head>
> </html>
>
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.
[Message part 3 (message/rfc822, inline)]
> if my buffer is like this: (-!- indicates the point)
>
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head-!-
> </html>
>
>
> And I press C-c C-b, I get this
>
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>-!-</head>
> </html>
I have checked a fix into Emacs CVS. Thanks for the bug report.
This bug report was last modified 15 years and 215 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.