all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Similar key bindings for moving among tags in sgml and nxml modes?
@ 2009-11-26  0:16 Lennart Borgman
  2009-11-26  0:44 ` Miles Bader
  0 siblings, 1 reply; 4+ messages in thread
From: Lennart Borgman @ 2009-11-26  0:16 UTC (permalink / raw)
  To: Emacs-Devel devel

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?

The first two corresponds to sgml-skip-element-forward/backward.

I do not know the corresponding functions for the last two.


;;; Convenient moving by tags:
(eval-after-load 'nxml-mode
  '(progn
     (define-key nxml-mode-map [C-M-left]  'nxml-backward-element)
     (define-key nxml-mode-map [C-M-right] 'nxml-forward-element)
     (define-key nxml-mode-map [C-M-up]    'nxml-backward-up-element)
     (define-key nxml-mode-map [C-M-down]  'nxml-down-element)))




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-27 17:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-26  0:16 Similar key bindings for moving among tags in sgml and nxml modes? Lennart Borgman
2009-11-26  0:44 ` Miles Bader
2009-11-26  1:32   ` Lennart Borgman
2009-11-27 17:07   ` Gilaras Drakeson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.