Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: pattern incremental search



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 <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/



Messages sorted by: Reverse Date, Date, Thread, Author