yes it was me, and i'm sorry i didn't make this clearer ... swamped by
the huge changelog, i guess :)
My intention was to create a unified scheme for all of the arrow key etc.
combinations:
;; context-sensitive movement
;; (meta control left/right) should be reserved for bindings that
;; switch between buffers/web pages/etc.
(define-key global-map '(meta left) 'backward-sexp)
(define-key global-map '(meta right) 'forward-sexp)
(define-key global-map '(meta up) 'backward-sentence)
(define-key global-map '(meta down) 'forward-sentence)
(define-key global-map '(meta control up) 'backward-paragraph)
(define-key global-map '(meta control down) 'forward-paragraph)
(define-key global-map '(meta control home) 'beginning-of-defun)
(define-key global-map '(meta control end) 'end-of-defun)
(define-key global-map '(meta control prior) 'backward-page)
(define-key global-map '(meta control next) 'forward-page)
All meta combinations do "context sensitive" movements except for meta +
prior/next/home/end, which cause scrolling in the "other buffer". I tried
to create a hierarchy of ever larger movements following the "intuitive"
order of movement size of various combinations: M-left/right < M-up/down <
M-C-up/down < M-C-home/end < M-C-prior/next. This equation is missing
M-prior/next and M-home/end (just mentioned) and M-C-left/right, which I
thought could be reserved for switching between buffers or hyperlinks.
Comments? I realize now that I definitely should have discussed this more
before going ahead and making the changes, but it seemed to me that nobody
cared much about the arrow keys, given the sorry state (from my obviously
biased perspective) they were in. Any suggestions or alternative
proposals are completely welcome.
ben
Hrvoje Niksic wrote:
I've noticed that M-up and M-down no longer move by paragraphs,
but by
sentences instead. OTOH, C-M-up and C-M-down now move by paragraphs.
Ben, is that your change? What's the motive behind it? I don't claim
that the new behaviour is either better or worse than the old one, but
I'm definitely used to the old bindings, so the change comes as a bit
unnerving to my XEmacs-trained fingers.
--
Ben
In order to save my hands, I am cutting back on my mail. I also write
as succinctly as possible -- please don't be offended. If you send me
mail, you _will_ get a response, but please be patient, especially for
XEmacs-related mail. If you need an immediate response and it is not
apparent in your message, please say so. Thanks for your understanding.
See also
http://www.666.com/ben/typing.html.