Re: [emacs-nxml-mode] Automatic Insertion of Required Elements and Attributes
- On Aug 7, 2012, at 08:51, Dave Pawson <dave.pawson@...> wrote:
> C-RET does split an element.No, that is C-c RET.
Oh, and M-C-k (kill-sexp) just works for me.
I make my life a little easier this way:
(Why is is that C-RET went away in (a recent?) Emacs 24?
Can't type M-TAB easily on a Mac.)
>>>>> Peter Flynn <peter@...>:[snip!]
> This is only one of a dozen or more missing facilities in nxml-mode.
> I'm sure nxml-mode must be useful to some people, but that does not
> include anyone who actually wants to write or edit a text document.
> nxml-node is possibly useful for data documents, but it is not aIMO you're completely wrong here. The nxml mode is quite good for
> usable tool for editing XML text documents.
editing text type documents (I've done docbook and DITA in it). You
just have to unlearn psgml behaviour and embrace nxml behaviour.
But it isn't very good for data documents. For those you'd be better
off with some kind of tree view based editor.
Heh... but of course, if you won't accept that nxml can be a good text
document editor, then I guess the conclusion is that it is useless...;-)
It isn't useless to me, though.
>>>>> "John W. Shipman" <JOHN@...>:I also posted this message as a response to one of Peter's earlier
>> I'm actually slightly amazed. How do you deal with the absence of C-c
>> C-e, C-c C-r, C-RET, M-C-k, and all the other editing functions? Is
>> there a shim that implements these somewhere?
> I used to use sgml-mode but now I do everything in nxml-mode. I
> forget what all those keybindings meant,
attempts at nxml:
The message attempts to show how you would start creating a docbook
document from scratch.