From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17056 invoked from network); 26 Apr 2008 20:36:12 -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.5 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; 26 Apr 2008 20:36:12 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 5980 invoked from network); 26 Apr 2008 20:36:08 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 26 Apr 2008 20:36:08 -0000 Received: (qmail 4380 invoked by alias); 26 Apr 2008 20:36:06 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24880 Received: (qmail 4366 invoked from network); 26 Apr 2008 20:36:05 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 26 Apr 2008 20:36:05 -0000 Received: from mtaout01-winn.ispmail.ntl.com (mtaout01-winn.ispmail.ntl.com [81.103.221.47]) by bifrost.dotsrc.org (Postfix) with ESMTP id 6454D808A38A for ; Sat, 26 Apr 2008 22:36:02 +0200 (CEST) Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com with ESMTP id <20080426203918.GSPH27050.mtaout01-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com> for ; Sat, 26 Apr 2008 21:39:18 +0100 Received: from pws-pc.ntlworld.com ([81.107.40.67]) by aamtaout02-winn.ispmail.ntl.com with ESMTP id <20080426203825.HCVS17393.aamtaout02-winn.ispmail.ntl.com@pws-pc.ntlworld.com> for ; Sat, 26 Apr 2008 21:38:25 +0100 Received: from pws-pc (pws-pc [127.0.0.1]) by pws-pc.ntlworld.com (8.14.2/8.14.2) with ESMTP id m3QKZMIh029435 for ; Sat, 26 Apr 2008 21:35:22 +0100 Message-Id: <200804262035.m3QKZMIh029435@pws-pc.ntlworld.com> From: Peter Stephenson To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: PATCH: pattern incremental search In-Reply-To: Your message of "Sat, 26 Apr 2008 21:22:55 BST." <200804262022.m3QKMthr028055@pws-pc.ntlworld.com> Date: Sat, 26 Apr 2008 21:35:22 +0100 X-Virus-Scanned: ClamAV 0.91.2/6957/Sat Apr 26 20:28:22 2008 on bifrost X-Virus-Status: Clean And this one... if a search fails, nothing happens, then if you backtrack and type another characer, when a search again succeeds you get a feep. Am i missing something, or isn't this too feeping late? Index: Src/Zle/zle_hist.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/Zle/zle_hist.c,v retrieving revision 1.45 diff -u -r1.45 zle_hist.c --- Src/Zle/zle_hist.c 26 Apr 2008 20:27:39 -0000 1.45 +++ Src/Zle/zle_hist.c 26 Apr 2008 20:32:12 -0000 @@ -1357,6 +1357,10 @@ statusline = ibuf + NORM_PROMPT_POS; } nosearch = 0; + if (feep) { + handlefeep(zlenoargs); + feep = 0; + } sbuf[sbptr] = '_'; sbuf[sbptr+1] = '\0'; ref: -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/