Loading ...
Sorry, an error occurred while loading the content.

1921C-c C-b doesn't work as expected

Expand Messages
  • Chaitanya Gupta
    Apr 1, 2009
    • 0 Attachment
      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>


      Am I doing anything wrong? Or was I expecting the wrong thing with C-c C-b?

      Thanks,
      Chaitanya

      --
      http://chaitanyagupta.com/blog/