[Top][All Lists]

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


From: Michael Vehrs
Subject: quail-show-keyboard-layout
Date: Sat, 02 May 2015 15:16:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0

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)

The email addresses of the original authors no longer seem to be valid.


Michael Vehrs

reply via email to

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