[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: comment-region with prefix argument doesn't undo commenting in XML m
From: |
Chong Yidong |
Subject: |
Re: comment-region with prefix argument doesn't undo commenting in XML mode |
Date: |
Wed, 13 Feb 2008 21:13:24 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.90 (gnu/linux) |
Here is a simpler test case, that I think focuses on where the exact
bug lies.
1. Open an SGML-mode buffer containing the following text:
Comment
2. M-< C-SPC M-> M-x comment-region RET
3. M-< C-SPC M-> M-x comment-region RET
4. M-<
5. M-: (comment-forward)
Point moves here:
<!-- <\!-- Comment -\-> -->
^
This is incorrect. In contrast, if you perform the same procedure in
the c-mode, point moves here:
/* /\* Comment *\/ */
^