OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: DOCBOOK-APPS: how to terminate XML tags in emacs



  as a final efficiency for typing in my XML, i'd like
to add an emacs function to auto-terminate tags, as one
can do in emacs+psgml.  (i don't know enough about psgml
to see how it does it, but i don't need all of psgml --
just this one feature.)

  all i want to be able to do is, with a control sequence
(from psgml, what was it?  C-c / or just C-/), be able
to close the innermost element, that's all.

  i don't even care if it validates the element first,
i just want to add a function that looks backwards for 
the last <blah> and adds </blah> at that point, regardless
of what "blah" actually says.

  can anyone just supply a function to do that that i
can add to my .emacs file?

rday




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC