Description of problem: When I edit an XML file and hit ctrl-c followed by a ctrl-b after typing a beginning tag, I get the closing tag on the same line rather than on a new line as described in the documentation. This is identical behaviour to the ctrl-c, ctrl-i combination. Version-Release number of selected component (if applicable): emacs 23.1.7-fc11 How reproducible: Always Steps to Reproduce: 1. Open an xml file 2. Type <begin followed by ctrl-c and ctrl-b Actual results: <begin></begin> Expected results: <begin> </begin> the cursor should be located at an indented position on the line between the two begin's. Additional info:
Fixing component.
I can't reproduce this - trying your recipe, when I press C-c C-b the point (cursor) just moves back to the begining of the tag. Looking at the key binding I see this is the expected behaviour: C-c C-b runs the command sgml-skip-tag-backward, which is an interactive compiled Lisp function. It is bound to C-c C-b, C-c <left>, <menu-bar> <sgml> <sgml-skip-tag-backward>. (sgml-skip-tag-backward arg) Skip to beginning of tag or matching opening tag if present. With prefix argument arg, repeat this arg times. Return non-nil if we skipped over matched tags.
OK, I suspect the missing part of your recipe is that you're editing with nxml-mode turned on, right?
Upstream bug report: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2840 There's a fix in CVS/bzr apparently, but I haven't dug it out yet.
This is the changeset that fixes this problem - won't have time to test it for a few hours yet tho: http://bazaar.launchpad.net/~vcs-imports/emacs/trunk/revision/98299
My apologies, yes, I am using nxml-mode.
emacs-23.1-20.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/emacs-23.1-20.fc12
emacs-23.1-11.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/emacs-23.1-11.fc11
emacs-23.1-11.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update emacs'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/emacs-23.1-11.fc11
emacs-23.1-20.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update emacs'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/emacs-23.1-20.fc12
emacs-23.1-13.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/emacs-23.1-13.fc11
emacs-23.1-21.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/emacs-23.1-21.fc12
It looks like emacs-23.1-11.fc11 has fixed the issue. The line-feeds appear where I expect them. Thank you.
emacs-23.1-21.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update emacs'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/emacs-23.1-21.fc12
emacs-23.1-13.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update emacs'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/emacs-23.1-13.fc11
emacs-23.1-13.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
emacs-23.1-21.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.