lisp/isearch.el (isearch-message-prefix): Run the input method part
of the prompt through bidi-string-mark-left-to-right.
+2011-12-02 Eli Zaretskii <eliz@gnu.org>
+
+ * isearch.el (isearch-message-prefix): Run the input method part
+ of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
+
2011-12-02 Juri Linkov <juri@jurta.org>
* isearch.el (isearch-occur): Use `word-search-regexp' for
(if nonincremental "search" "I-search")
(if isearch-forward "" " backward")
(if current-input-method
- (concat " [" current-input-method-title "]: ")
+ ;; Input methods for RTL languages use RTL
+ ;; characters for their title, and that messes
+ ;; up the display of the prompt.
+ (bidi-string-mark-left-to-right
+ (concat " [" current-input-method-title "]: "))
": ")
)))
(propertize (concat (upcase (substring m 0 1)) (substring m 1))