emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Can't isearch for non-ASCII text


From: Lennart Borgman
Subject: Re: Can't isearch for non-ASCII text
Date: Tue, 06 Mar 2007 11:13:34 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666

Kim F. Storm wrote:
Katsumi Yamaoka <address@hidden> writes:

In the gmane.emacs.diffs newsgroup, Kim F. Storm wrote:
Index: isearch.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/isearch.el,v
retrieving revision 1.294
retrieving revision 1.295
diff -u -b -r1.294 -r1.295
--- isearch.el  15 Feb 2007 16:54:09 -0000      1.294
+++ isearch.el  1 Mar 2007 22:28:14 -0000       1.295
@@ -1957,8 +1957,9 @@
                       (concat " [" current-input-method-title "]: ")
                     ": ")
                   )))
-    (propertize (concat (upcase (substring m 0 1)) (substring m 1))
-               'face 'minibuffer-prompt)))
+    (apply 'propertize
+          (concat (upcase (substring m 0 1)) (substring m 1))
+          minibuffer-prompt-properties)))
This change disables me from searching for non-ASCII text because
of the `read-only' property in `minibuffer-prompt-properties'.

Thanks.  I have reverted the patch.


Thanks Kim. Emacs is full of surprises. I would be glad for an explanation of what happens with non-ASCII text.

Are there any other properties that could interfere with non-ASCII text? Could other properties from minibuffer-prompt-properties still be applied to the isearch prompt?




reply via email to

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