[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: highlight failed part of isearch input
From: |
Juri Linkov |
Subject: |
Re: highlight failed part of isearch input |
Date: |
Tue, 24 Jul 2007 02:33:42 +0300 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
>> (when (string-match " +$" m)
>> (propertize (substring m (match-beginning 0)) 'face
>> 'trailing-whitespace))
>>
>> This is a no-op. But maybe it is good to remove this code because the
>> failed trailing whitespace is highlighted in the new face isearch-failed.
>> We could change its background to more strong color, e.g. to something
>> like is used in Firefox failed search, so failed space will be
>> more visible.
>
> Good catch. We need to change the face of the pertinent part of `m' itself,
> not just a copy. Thx. The face to use for that is `trailing-whitespace', no?
Why use `trailing-whitespace' when `isearch-fail' face makes failed
trailing whitespace visible as well?
--
Juri Linkov
http://www.jurta.org/emacs/
- RE: highlight failed part of isearch input, (continued)
- Re: highlight failed part of isearch input, Masatake YAMATO, 2007/07/10
- Re: highlight failed part of isearch input, Stefan Monnier, 2007/07/10
- Re: highlight failed part of isearch input, Richard Stallman, 2007/07/10
- RE: highlight failed part of isearch input, Drew Adams, 2007/07/22
- Re: highlight failed part of isearch input, Richard Stallman, 2007/07/23
- Re: highlight failed part of isearch input, Juri Linkov, 2007/07/23
- RE: highlight failed part of isearch input, Drew Adams, 2007/07/23
- Re: highlight failed part of isearch input,
Juri Linkov <=
- RE: highlight failed part of isearch input, Drew Adams, 2007/07/23
- Re: highlight failed part of isearch input, Richard Stallman, 2007/07/24
- Re: highlight failed part of isearch input, Richard Stallman, 2007/07/24
- RE: highlight failed part of isearch input, Drew Adams, 2007/07/24