Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: isearch match highlighting
- X-seq: zsh-workers 24888
- From: "Matt Wozniski" <godlygeek@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: isearch match highlighting
- Date: Sun, 27 Apr 2008 21:49:01 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=I1mmp4OmxFXZ25EbgfdhHJcRCbTii9Z9oqF/xhONg48=; b=l0n86TCTgVgOYMN3JGxpqVPkFlb802vXXVRPOw15h53JrLtF0FJ4qolv32FOM7bo7RPzYWlOq2dOJyJB18KJioUb/9tpsRZ3aVo5+zeFSDWJigitWQRC/i7qG2q2KQKiai1mBRRinc/n+xKP6LyAdomVo9IDjeKcI9ZXsGuksgI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QLipPcjO/CszG/oP4p0Pi9DeORoLNI7vGDwnw6Y8ZfH3vzQHUCIVqm9Yp007ZvN2GuqtKhHyU30qZKsdfW4e3Ty15n612iN+7yEv04Ri+P8BwAwIHstceyRRiydk+Ufj3JqCMxWrmtwDHa17hiHQAmbVaiDeddOFA4KjYsjhqAY=
- In-reply-to: <200804271957.m3RJvxiS004075@xxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <godlygeek@xxxxxxxxx> <17393e3e0804261727s560acff7sb6125d8f8b46b4b4@xxxxxxxxxxxxxx> <200804271957.m3RJvxiS004075@xxxxxxxxxxxxxxxxxxx>
On Sun, Apr 27, 2008 at 3:57 PM, Peter Stephenson wrote:
> "Matt Wozniski" wrote:
> > zsh -f
> > bindkey -e
> > ^Rb
> > and the shell goes into a tight loop, using 100% of one of my cores,
> > and won't die to anything less than a kill -9.
>
> Oops. pos wasn't yet updated.
Yep, works now - and looks very nice, though I wonder if we could set
it up in a way that would let us change the fg or bg color of the
text, rather than just reverse/standout/underline?
That said, I found a regression in history-incremental-search-backward
that's in CVS but not 4.3.6, so my guess is that it's caused by
something in this patch (though I didn't back this patch out to
double-check that assumption - I'm not very good at working with CVS).
zsh -f
mastermind% bindkey -e
mastermind% ^R-ff^H^He
failing bck-i-search: -e_
if you backspace again and retype the e, it changes to a succeeding bck-i-search
then, ^G and do
mastermind% ^R-f^He
bck-i-search: -e_
So, whatever the bug is, it seems to require more than one backspace
to trigger it for some reason...
~Matt
Messages sorted by:
Reverse Date,
Date,
Thread,
Author