[Top][All Lists]

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

Re: highlight failed part of isearch input

From: Masatake YAMATO
Subject: Re: highlight failed part of isearch input
Date: Tue, 10 Jul 2007 23:07:17 +0900 (JST)


> I find that this minor tweak to `isearch-message' helps a good deal when
> using Isearch. It highlights, within your Isearch input, the part that fails
> to match.

I like it. I'd like to use your patch with following patch.
`ding' is too noisy for me. Instead of `ding' your patch tells 
the failing of search calmly.

Masatake YAMATO

--- isearch.el  09 Apr 2007 19:11:44 +0900      1.297
+++ isearch.el  10 Jul 2007 23:01:32 +0900      
@@ -2069,7 +2069,8 @@
     ;; Ding if failed this time after succeeding last time.
     (and (isearch-success-state (car isearch-cmds))
-        (ding))
+;       (ding)
     (if (functionp (isearch-pop-fun-state (car isearch-cmds)))
         (funcall (isearch-pop-fun-state (car isearch-cmds)) (car 
     (goto-char (isearch-point-state (car isearch-cmds)))))

reply via email to

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