all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: ehud@unix.mvs.co.il
Cc: emacs-devel@gnu.org
Subject: Re: How to recognize keyboard insertion?
Date: Mon, 02 Nov 2009 21:02:05 +0200	[thread overview]
Message-ID: <83y6mobviq.fsf@gnu.org> (raw)
In-Reply-To: <200911021449.nA2EnkN7007964@beta.mvs.co.il>

> Date: Mon, 2 Nov 2009 16:49:46 +0200
> From: "Ehud Karni" <ehud@unix.mvs.co.il>
> Cc: emacs-devel@gnu.org
> 
> It seems that both Microsoft and the Xorg developers decided to use
> mirroring for Hebrew keyboard (see /usr/share/X11/xkb/symbols/il).
> 
> So if the user uses an external "input method" (i.e. keyboard map)
> the 4 pairs - () [] {} <>, are already mirrored.  If she prefers to
> use an Emacs internal input method (like I use with my hebeng.el)
> the mirroring should be an option.

I tend to agree.  The automatic mirroring is not 100% correct, but
it's probably right 80% of the time, and the rest could be fixed by
introducing a command to mirror the character at point.

> BTW. The keying of the RTL text and arithmetic expression discussed
>      previously on the thread, Typing (from left to right):
>      "A B C D ( 4 + 5 ) * 9"  results in:  9*)4+5(DCBA
>      That is because of parens mirroring (at the keyboard).

Yes, that's exactly one manifestation of why the automatic mirroring
is wrong: it assumes too much about the application which will get
this input.




      reply	other threads:[~2009-11-02 19:02 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-31 15:57 How to recognize keyboard insertion? Eli Zaretskii
2009-10-31 16:58 ` David De La Harpe Golden
2009-10-31 17:20   ` Eli Zaretskii
2009-10-31 17:37     ` David De La Harpe Golden
2009-10-31 17:43       ` David De La Harpe Golden
2009-10-31 18:15       ` Eli Zaretskii
2009-10-31 19:26         ` David De La Harpe Golden
2009-10-31 20:01           ` Eli Zaretskii
2009-10-31 20:42             ` David De La Harpe Golden
2009-10-31 21:23               ` Eli Zaretskii
2009-10-31 21:49                 ` David De La Harpe Golden
2009-11-01  3:44                   ` Eli Zaretskii
2009-11-01  5:24                     ` David De La Harpe Golden
2009-11-01 19:59                       ` Eli Zaretskii
2009-11-01 20:19                         ` David De La Harpe Golden
2009-11-01  3:40           ` Stephen J. Turnbull
2009-11-01  5:46             ` David De La Harpe Golden
2009-11-01  5:44         ` tomas
2009-11-01 18:48           ` Eli Zaretskii
2009-11-01 20:09             ` David De La Harpe Golden
2009-11-02  5:03               ` tomas
2009-11-01  1:30     ` Jason Rumney
2009-11-01  4:02       ` Eli Zaretskii
2009-11-01  5:25         ` Stephen J. Turnbull
2009-11-01 13:59           ` David De La Harpe Golden
2009-11-01 19:57           ` Eli Zaretskii
     [not found]     ` <837huac8gg.fsf@gnu.org>
2009-11-02 14:49       ` Ehud Karni
2009-11-02 19:02         ` Eli Zaretskii [this message]

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=83y6mobviq.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=ehud@unix.mvs.co.il \
    --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.