GNU bug report logs -
#10183
small bidi problems in the org mode and in the mini buffer
Previous Next
Reported by: nabil-82 <sjanjal <at> web.de>
Date: Thu, 1 Dec 2011 18:11:02 UTC
Severity: normal
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #23 received at submit <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii wrote:
>
> I understand that "[XX]" is the mnemonic of the current input method.
>
> If so, this problem is fixed in revision 106577 on the trunk. The
> patch is below (note that isearch.el is preloaded into Emacs, so you
> will have to rebuild it for this fix to take effect).
>
> Thanks.
>
>
> === modified file 'lisp/ChangeLog'
> --- lisp/ChangeLog 2011-12-02 10:19:49 +0000
> +++ lisp/ChangeLog 2011-12-02 10:35:17 +0000
> @@ -1,3 +1,8 @@
> +2011-12-02 Eli Zaretskii <eliz <at> 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 <at> jurta.org>
>
> * isearch.el (isearch-occur): Use `word-search-regexp' for
>
> === modified file 'lisp/isearch.el'
> --- lisp/isearch.el 2011-12-02 10:19:49 +0000
> +++ lisp/isearch.el 2011-12-02 10:37:53 +0000
> @@ -2225,7 +2225,11 @@ If there is no completion possible, say
> (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 search text after the prompt.
> + (bidi-string-mark-left-to-right
> + (concat " [" current-input-method-title "]: "))
> ": ")
> )))
> (propertize (concat (upcase (substring m 0 1)) (substring m 1))
>
>
>
>
>
>
>
Thanks. This problem is solved.
--
View this message in context: http://old.nabble.com/small-bidi-problems-in-the-org-mode-and-in-the-mini-buffer-tp32897118p32904166.html
Sent from the Emacs - Bugs mailing list archive at Nabble.com.
This bug report was last modified 13 years and 231 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.