From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13010 invoked from network); 28 Apr 2008 01:49:15 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 28 Apr 2008 01:49:15 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 18039 invoked from network); 28 Apr 2008 01:49:11 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 28 Apr 2008 01:49:11 -0000 Received: (qmail 15895 invoked by alias); 28 Apr 2008 01:49:07 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24888 Received: (qmail 15877 invoked from network); 28 Apr 2008 01:49:07 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 28 Apr 2008 01:49:07 -0000 Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by bifrost.dotsrc.org (Postfix) with ESMTP id A0586808A38A for ; Mon, 28 Apr 2008 03:49:03 +0200 (CEST) Received: by wf-out-1314.google.com with SMTP id 25so4378294wfc.3 for ; Sun, 27 Apr 2008 18:49:01 -0700 (PDT) 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= Received: by 10.142.133.15 with SMTP id g15mr469522wfd.271.1209347341800; Sun, 27 Apr 2008 18:49:01 -0700 (PDT) Received: by 10.142.142.12 with HTTP; Sun, 27 Apr 2008 18:49:01 -0700 (PDT) Message-ID: <17393e3e0804271849l30fe20bdp4008fc8247298d12@mail.gmail.com> Date: Sun, 27 Apr 2008 21:49:01 -0400 From: "Matt Wozniski" To: zsh-workers@sunsite.dk Subject: Re: PATCH: isearch match highlighting In-Reply-To: <200804271957.m3RJvxiS004075@pws-pc.ntlworld.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <17393e3e0804261727s560acff7sb6125d8f8b46b4b4@mail.gmail.com> <200804271957.m3RJvxiS004075@pws-pc.ntlworld.com> X-Virus-Scanned: ClamAV 0.91.2/6973/Sun Apr 27 22:15:00 2008 on bifrost X-Virus-Status: Clean 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