Re: C-c C--

"gavenkoa" <[email protected]>
Newsgroups gmane.emacs.nxml.general
Message-ID <[email protected]>
Dave Pawson <dave.pawson@...> wrote:
> I have C-c C-- linked to sgml-untag-element.
Oh! I search 'sgml-untag-element' in Emacs 'lisp' dir and not found. Google search take me psgml-mode, which provide this func:

  http://sourceforge.net/projects/psgml/develop

This func make same as 'sgml-delete-tag' from 'sgml-mode.el' which comes with Emacs but it works more ugly - do not removes empty lines.

If you applay 'sgml-untag-element' on 'member' in:

<tag>
  <member>
    text
  </member>
</tag>

you get:

<tag>
  <-- spaces
    text
  <-- spaces
</tag>

With 'sgml-delete-tag' you get:

<tag>
    text
</tag>

May be create request to emacs-bugs for implementation of 'sgml-delete-tag'/'sgml-untag-element'?



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.