2053Re: [emacs-nxml-mode] Re: C-c C--
- Apr 8, 2011On 8 April 2011 22:22, gavenkoa <gavenkoa@...> wrote:
> Dave Pawson <dave.pawson@...> wrote:I have C-c C-- linked to sgml-untag-element.
>> In xml-mode C-c C-- used to remove markup.
>> Has anyone got that working with nxml-mode please?
> Do you meen:
> C-c C-d
> Delete the tag at or after point, and delete the matching tag too (sgml-delete-tag). If the tag at or after point is an opening tag, delete the closing tag too; if it is a closing tag, delete the opening tag too.
> I not found C-c C-- in xml-mode, but I use C-c C-d (sgml-delete-tag) from 'sgml-mode.el'.
> I miss this func in nxml mode. I try this and it does not properly work in nxml:
> (eval-after-load 'nxml-mode
> (require 'sgml-mode)
> (define-key nxml-mode-map (kbd "C-c C-y") 'sgml-delete-tag)
I changed mode to sgml-mode and used that.
Many defuns involved in bringing it into nxml-mode though.
Very useful function.
XSLT XSL-FO FAQ.
- << Previous post in topic Next post in topic >>