emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to recognize keyboard insertion?


From: Eli Zaretskii
Subject: Re: How to recognize keyboard insertion?
Date: Mon, 02 Nov 2009 21:02:05 +0200

> Date: Mon, 2 Nov 2009 16:49:46 +0200
> From: "Ehud Karni" <address@hidden>
> Cc: address@hidden
> 
> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]