From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nabil-82 Newsgroups: gmane.emacs.bugs Subject: bug#10183: small bidi problems in the org mode and in the mini buffer Date: Fri, 2 Dec 2011 10:19:48 -0800 (PST) Message-ID: <32904166.post@talk.nabble.com> References: <32897118.post@talk.nabble.com> <83hb1jcl07.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1322850059 16972 80.91.229.12 (2 Dec 2011 18:20:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2011 18:20:59 +0000 (UTC) To: 10183@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 02 19:20:55 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RWXjB-00075W-Io for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Dec 2011 19:20:53 +0100 Original-Received: from localhost ([::1]:56573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWXjA-0007dM-Ns for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Dec 2011 13:20:52 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:38820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWXj6-0007c2-TB for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2011 13:20:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWXj5-0000vs-L9 for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2011 13:20:48 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWXj5-0000vn-Jf for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2011 13:20:47 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RWXjK-0004to-Nc for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2011 13:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: nabil-82 Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Dec 2011 18:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10183 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.132285001918768 (code B ref -1); Fri, 02 Dec 2011 18:21:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Dec 2011 18:20:19 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RWXib-0004se-TD for submit@debbugs.gnu.org; Fri, 02 Dec 2011 13:20:18 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RWXiZ-0004sW-3f for submit@debbugs.gnu.org; Fri, 02 Dec 2011 13:20:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWXiH-0000mQ-Ui for submit@debbugs.gnu.org; Fri, 02 Dec 2011 13:19:58 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:40811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWXiH-0000mM-TH for submit@debbugs.gnu.org; Fri, 02 Dec 2011 13:19:57 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:38707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWXiG-0006uc-Vb for Bug-gnu-emacs@gnu.org; Fri, 02 Dec 2011 13:19:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWXiF-0000mC-32 for Bug-gnu-emacs@gnu.org; Fri, 02 Dec 2011 13:19:56 -0500 Original-Received: from sam.nabble.com ([216.139.236.26]:50291) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWXiE-0000m4-SO for Bug-gnu-emacs@gnu.org; Fri, 02 Dec 2011 13:19:55 -0500 Original-Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RWXi8-0005Ix-DT for Bug-gnu-emacs@gnu.org; Fri, 02 Dec 2011 10:19:48 -0800 In-Reply-To: <83hb1jcl07.fsf@gnu.org> X-Nabble-From: sjanjal@web.de X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 02 Dec 2011 13:21:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54628 Archived-At: 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 > + > + * 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 > > * 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.