Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: pattern incremental search
- X-seq: zsh-workers 24880
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: PATCH: pattern incremental search
- Date: Sat, 26 Apr 2008 21:35:22 +0100
- In-reply-to: Your message of "Sat, 26 Apr 2008 21:22:55 BST." <200804262022.m3QKMthr028055@xxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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