all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: emacs-devel@gnu.org
Subject: Re: org-mode, please change the name of function org-metaleft etc
Date: Wed, 31 Oct 2007 16:25:07 +0000	[thread overview]
Message-ID: <87y7djgskc.fsf@bzg.ath.cx> (raw)
In-Reply-To: <E1In8Ip-0001p4-Uj@fencepost.gnu.org> (Richard Stallman's message of "Wed, 31 Oct 2007 03:47:51 -0400")

Richard Stallman <rms@gnu.org> writes:

>     In org-mode the functions that are bound to some keys are named
>     after the key binding, for example:
>
>        <M-left>        org-metaleft
>
> M-left is a basic cursor motion key which runs backward-word.
> It is not good for any major mode to rebind such keys,
> unless the new binding is a sort of extension or adaptation
> of the standard binding.  It is hard to see how backward-word
> could require any adaptation to a given major mode.
>
> What's up here?

Just a few remarks:

1. `org-metaleft' falls back on `backward-word' in the vaste majority of
   cases.  It calls the two other commands only when the point is at a
   table or a subtree -- so no surprise for the user.

2. the historical key for `backward-word' (M-b) remains unchanged.

3. this rebinding doesn't seem conceptually different to the one
   affecting the C-a key in message-mode: `message-beginning-of-line'
   redefines `beginning-of-line' so that the command is aware of the
   implicit field the line may contain.

4. the way Org handles all the commands associated with the arrow keys
   is very coherent; changing one binding among arrow keys commands may
   affect the whole equilibrum.

-- 
Bastien

  parent reply	other threads:[~2007-10-31 16:25 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-30 21:16 org-mode, please change the name of function org-metaleft etc Lennart Borgman (gmail)
2007-10-30 23:49 ` Bastien
2007-10-30 23:03   ` Lennart Borgman (gmail)
2007-10-31  2:29     ` Bastien
2007-10-31  7:47 ` Richard Stallman
2007-10-31 14:57   ` Lennart Borgman (gmail)
2007-10-31 15:37     ` Andreas Schwab
2007-10-31 16:32     ` Jason Rumney
2007-10-31 18:34       ` Bastien
2007-10-31 17:43         ` Lennart Borgman (gmail)
2007-10-31 16:47     ` Bastien
2007-10-31 23:58     ` Richard Stallman
2007-11-01  1:08       ` Jason Rumney
2007-11-03 20:48       ` Stephen J. Turnbull
2007-10-31 16:25   ` Bastien [this message]
2007-11-04  7:29   ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y7djgskc.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.