[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Similar key bindings for moving among tags in sgml and nxml modes?
From: |
Miles Bader |
Subject: |
Re: Similar key bindings for moving among tags in sgml and nxml modes? |
Date: |
Thu, 26 Nov 2009 09:44:39 +0900 |
Lennart Borgman <address@hidden> writes:
> I have these routines for moving between tags. I saw now that there
> are rather similar sgm functions. Could we please add the same key
> bindings to nxml-mode that are used in sgml modes for these?
No, adding different key bindings is the wrong way. The right way is to
make emacs sexp-movement commands (which are even already bound globally
to the keys you suggest) work properly in nxml-mode .
... and in fact, that's already supported!
Just do: (setq nxml-sexp-element-flag t)
[I think that should even be the default, but what do I know...]
-Miles
--
Idiot, n. A member of a large and powerful tribe whose influence in human
affairs has always been dominant and controlling.