all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* `C-b' is backward-char, `left' is left-char - why?
@ 2011-05-27 20:40 Drew Adams
  2011-05-27 20:48 ` Pascal J. Bourguignon
                   ` (2 more replies)
  0 siblings, 3 replies; 66+ messages in thread
From: Drew Adams @ 2011-05-27 20:40 UTC (permalink / raw)
  To: emacs-devel

I'm curious. Why is it a good idea that `C-b' and `left' are no longer bound to
the same command?

I'm not asking about the difference; I can see that from the doc strings.  I'm
wondering why we've broken their longstanding correspondence.

Lots of Emacs and Emacs Lisp does things based on which commands are used.  It's
sometimes not enough that two commands behave the same or similarly.  If they
are different commands then some code will likely not DTRT - some code will at
least not treat them the same.

Even if the bidi stuff specifies the same behavior for `backward-char' and
`left-char' whenever there is in fact no bidirectional stuff present, that does
not mean that Emacs will behave the same for these two keys, simply because they
are bound to different commands.  As a trivial example, if you have code that
remaps or uses `substitute-key-definition' with `backward-char', it will no
longer work for `left' as well as `C-b'.

Why not make bidi optional?  Why not have a minor mode for the bidi stuff, and
only bind keys such as `left' to commands that are specific to bidi when that
mode is turned on?  Why make such an invasive, top-level change to Emacs?

I understand that bidi is a great addition to Emacs and will be welcomed by
folks around the world.  I also realize that it is complex to implement.  But
some of us will rarely, if ever, use it.  A priori, it doesn't seem like a great
idea to be changing basic default key bindings.

I say "a priori" because I would like to understand why this is necessary or a
good idea.  I'm not claiming it's a bad idea and should be undone.  Chalk it up
mainly to surprise, if you like: I was surprised to see that `C-h w
backward-char' did not list `left' as well as `C-b'.




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

end of thread, other threads:[~2011-06-07 10:54 UTC | newest]

Thread overview: 66+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-27 20:40 `C-b' is backward-char, `left' is left-char - why? Drew Adams
2011-05-27 20:48 ` Pascal J. Bourguignon
2011-05-27 21:11   ` Eli Zaretskii
2011-05-27 22:08   ` Drew Adams
2011-05-28  0:19   ` Nix
2011-05-27 21:09 ` Eli Zaretskii
2011-05-27 21:13   ` Eli Zaretskii
2011-05-27 22:08   ` Drew Adams
2011-05-27 22:23     ` Antoine Levitt
2011-05-27 23:19       ` Drew Adams
2011-05-28  0:46         ` Mohsen BANAN
2011-05-28  1:53           ` Drew Adams
2011-05-28  2:24             ` Mohsen BANAN
2011-05-28  8:00         ` Eli Zaretskii
2011-05-27 23:09     ` PJ Weisberg
2011-05-27 23:23       ` Drew Adams
2011-05-28  0:25         ` PJ Weisberg
2011-05-28  0:39           ` Drew Adams
2011-05-28  6:57             ` David Kastrup
2011-05-28  8:21     ` Eli Zaretskii
2011-05-28  0:48 ` Stefan Monnier
2011-05-28  1:54   ` Drew Adams
2011-05-28  7:07     ` David Kastrup
2011-05-28  8:26     ` Eli Zaretskii
2011-05-30  3:57     ` Stefan Monnier
2011-05-31 14:18       ` Davis Herring
2011-05-31 14:39         ` Eli Zaretskii
2011-06-01 11:48         ` Andy Moreton
2011-06-01 13:23           ` Eli Zaretskii
2011-06-01 23:26             ` Andy Moreton
2011-06-02  4:37               ` Eli Zaretskii
2011-06-02 10:38                 ` Andy Moreton
2011-06-02 11:12                   ` Eli Zaretskii
2011-06-02 12:59                     ` Andy Moreton
2011-06-02 15:09                       ` Eli Zaretskii
2011-06-02 16:23                         ` Andy Moreton
2011-06-02 17:43                           ` Eli Zaretskii
2011-06-02 21:42                             ` Andy Moreton
2011-06-03  7:01                               ` Eli Zaretskii
2011-06-02 17:09                         ` David Kastrup
2011-06-02 18:05                           ` Eli Zaretskii
2011-06-03 14:35                             ` David Kastrup
2011-06-03 15:08                               ` Eli Zaretskii
2011-06-03 15:14                                 ` David Kastrup
2011-06-03 16:48                                   ` Eli Zaretskii
2011-06-03 20:56                                     ` David Kastrup
2011-06-04  6:28                                       ` Eli Zaretskii
2011-06-05 16:51                                 ` Ehud Karni
2011-06-05 17:10                                   ` Eli Zaretskii
2011-06-05 17:19                                     ` Ehud Karni
2011-06-05 17:26                                       ` David Kastrup
2011-06-05 17:44                                         ` Eli Zaretskii
2011-06-05 18:26                                           ` David Kastrup
2011-06-05 19:22                                             ` Eli Zaretskii
2011-06-07  8:51                                               ` David Kastrup
2011-06-07 10:54                                                 ` Eli Zaretskii
2011-06-02 15:35                       ` PJ Weisberg
2011-06-02 17:44                         ` Eli Zaretskii
2011-06-02 19:29                           ` PJ Weisberg
2011-06-02 21:10                             ` Eli Zaretskii
2011-06-03  0:47                   ` Kenichi Handa
2011-06-03  7:13                     ` Eli Zaretskii
2011-06-05 11:27                       ` Kenichi Handa
2011-06-05 13:04                         ` Eli Zaretskii
2011-06-02  7:23             ` David Kastrup
2011-06-02  8:59               ` Eli Zaretskii

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.