unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Mohsen BANAN'" <list-general@mohsen.1.banan.byname.net>
Cc: emacs-bidi@gnu.org, emacs-devel@gnu.org,
	'Antoine Levitt' <antoine.levitt@gmail.com>
Subject: RE: `C-b' is backward-char, `left' is left-char - why?
Date: Fri, 27 May 2011 18:53:26 -0700	[thread overview]
Message-ID: <48A77D3B38D543DCAB915FE7081AECDA@us.oracle.com> (raw)
In-Reply-To: <yx2aae7zm7b.fsf@mohsen.1.banan.byname.net>

> note that after Latin, Perso/Arabic script
> is the most widely used character set family on
> this planet.

No one is arguing with you.

Personally, I'm ignorant of charset/script usage.  If I had to naively guess I
would have guessed that Chinese chars were more commonly used than Latin ones.

The point is that no one is making this into a contest between scripts or
charsets - except maybe you.

> Then I try to reply and edit it in Farsi and use
> <right> and <left> keys as they make sense in my
> context. Why should that natural behavior not be
> default? Why should I, as a bidi user, have to over
> write any defaults to do what could be natural for
> both you (non-bidi-user) and I (bidi-user). 
> Are non-Latin character set users of emacs second
> class citizens in your view?

Did you actually read anything I wrote?  Get off your high, first-class horse,
please.

Who said that what you describe should not be the default behavior?  I said
clearly that it makes sense for bidi behavior to _be_ the default.  This
particular pretty-much-latin-only user _wants_ bidi behavior to be the default.

What I asked about was the possibility of opting out of the key-binding changes
I described (no, not by creating separate individual bindings).

No one said you would or should need to opt in as a bidi user.  I suggested, as
a possible addition to the implementation, having a minor mode to somehow
control this.  And I made it clear that the default for that mode (or whatever)
could be bidi ON.  If I wasn't clear enough, let me say again that the default
not only could but _should_ be bidi ON, not off.

And if the only way to allow bidi support is to change longstanding default
bindings, then so be it.  I've said that too several times now.  My question was
whether, and if so why, that is necessary.  I would like to understand it a bit.

That's the only question I raised.  There never has been any question of not
having bidi support turned on by default.  No one is trying to interfere with
your ability to open Gnus and immediately have Farsi support.  Clear enough?

> Because left-to-right got done before
> right-to-left, now <left> can not be different
> from 'C-b'?

Read what I wrote.  Stop with the knee-jerk reactions, please.

> Please explain to us why you think that Eli's
> solution is not the most reasonable? I am curious.

I never claimed that it is not the most reasonable.  I have no idea whether it
is _the most_ reasonable.  Do you?  If I had to guess, I'd guess that it
probably is the most reasonable.  I know and respect Eli's ability to design and
implement.

That does not mean that he has always thought of everything from the outset, or
that everything he does is perfect.  He would probably be the first to
acknowledge that.  More importantly, it does not mean that no one can ask the
question why.

FWIW, I asked a similar question when Yidong changed key bindings for
delete-char (or whatever it was) and when similar changes were made for cursor
movement and visual-line mode (or whatever it is).  Likewise, for the recent
mouse selection changes.  In some cases people, including our best developers,
_have_ changed bindings and other settings unnecessarily, and this was later
backtracked (no, I don't recall specifics).

There is nothing wrong with asking the question whether we really need to change
these bindings globally and why.  Wouldn't you like to know?  _Especially_ if
there is a good reason and this is the most reasonable approach, I would like to
understand it.

You are overreacting.




  reply	other threads:[~2011-05-28  1:53 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=48A77D3B38D543DCAB915FE7081AECDA@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=antoine.levitt@gmail.com \
    --cc=emacs-bidi@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=list-general@mohsen.1.banan.byname.net \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).