[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: quail-show-keyboard-layout
From: |
Eli Zaretskii |
Subject: |
Re: quail-show-keyboard-layout |
Date: |
Sat, 02 May 2015 17:10:31 +0300 |
> Date: Sat, 02 May 2015 15:16:00 +0200
> From: Michael Vehrs <address@hidden>
>
> If your keyboard is configured to use a right-to-left script,
> quail-show-keyboard-layout produces the mirror image of the correct
> keyboard layout. I suggest the following fix to quail.el:
>
>
> --- quail.el.ori 2015-05-02 14:59:51.603941542 +0200
> +++ quail.el.new 2015-05-02 15:02:05.187945040 +0200
> @@ -796,6 +796,7 @@
> "Insert the visual keyboard layout table according to KBD-LAYOUT.
> The format of KBD-LAYOUT is the same as `quail-keyboard-layout'."
> (let (done-list layout i ch)
> + (setq bidi-paragraph-direction 'left-to-right)
> ;; At first, convert KBD-LAYOUT to the same size vector that
> ;; contains translated character or string.
> (setq layout (string-to-vector kbd-layout)
Thanks, I pushed it.