From: Eli Zaretskii Date: Wed, 7 Mar 2012 18:48:07 +0000 (+0200) Subject: Fix direction of keyboard layout display for Arabic input method. X-Git-Tag: emacs-pretest-24.0.05~143 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7a08ed357d4c747986457d3d1250335bb214a089;p=emacs.git Fix direction of keyboard layout display for Arabic input method. lisp/international/quail.el (quail-help): Force bidi-paragraph-direction be left-to-right. See discussion in http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html for the reason. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d8342df4da5..68b48f5047e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,10 @@ +2012-03-07 Eli Zaretskii + + * international/quail.el (quail-help): Force + bidi-paragraph-direction be left-to-right. See discussion in + http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html + for the reason. + 2012-03-07 Michael Albinus Avoid superfluous registering of signals. (Bug#10807) diff --git a/lisp/international/quail.el b/lisp/international/quail.el index 1dd5e3551c7..48aa013c674 100644 --- a/lisp/international/quail.el +++ b/lisp/international/quail.el @@ -2485,6 +2485,11 @@ package to describe." ;; the width of the window in which the buffer displayed. (with-current-buffer (help-buffer) (setq buffer-read-only nil) + ;; Without this, a keyboard layout with R2L characters might be + ;; displayed reversed, right to left. See the thread starting at + ;; http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html + ;; for a description of one such situation. + (setq bidi-paragraph-direction 'left-to-right) (insert "Input method: " (quail-name) " (mode line indicator:" (quail-title)