On Wed, 09 May 2001 12:09:04 +0300, Shai Berger <[EMAIL PROTECTED]> wrote:
> 
> > Is there any chance you guys will add Left/Right-Ctrl-Shift
> > bindings for changing the editing widgets' strong BiDi directionality?
> 
> Suggestions along this line have come up many times, but they are problematic.
> Many X and non-X *NIX utilities treat Ctrl-shift or Alt-shift as key modifiers,
> not keyboard events (which makes more sense IMHO), and so setting Ctrl-shift to
> changing the RTL mode essentially breaks them (in most cases you can change
> the bindings in these applications, of course, but this means systematically
> rejecting defaults, breaking tutorials, etc.

I agree that Alt+Shift alone or Ctrl+Shift alone are bad choices.
But combined with a key it becomes a regular event that any X program
can detect. Moreover, you can disable it by using xmodmap.

I suggest using the right and left arrow keys, such that:

Ctrl+Shift+Left  ==> R2L direction, Hebrew (or any other R2L font)
Ctrl+Shift+Right ==> L2R direction, Latin  (or any other L2R font)
Alt+Shift+Left   ==> Direction unchanged, Hebrew (or any other R2L font) 
Alt+Shift+Right  ==> direction unchanged, Latin  (or any other L2R font)

Of course the Alt+Shift+<arrow-key> is meaningful only for visual
editing (which is still needed here and there).

I'm quite sure these key combinations are not used by most of todays
applications (although simpler combination like Control-<arrow-key>
or Shift-<arrow-key> are used).

Ehud.


-- 
 Ehud Karni     Mivtach - Simon  Insurance   /"\
 Tel: +972-3-6212-757 Fax: +972-3-6292-544   \ /  ASCII Ribbon Campaign
 (USA) Fax and  voice  mail: 1-815-5509341    X   Against  HTML  Mail
     Better     Safe     Than     Sorry      / \
     mailto:[EMAIL PROTECTED]    http://www.simonwiesel.co.il

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to