Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Bug in undo/redo handling in conjunction with history-beginning-search-backward
- X-seq: zsh-workers 38524
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>
- Subject: Bug in undo/redo handling in conjunction with history-beginning-search-backward
- Date: Fri, 20 May 2016 07:25:15 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=hsBcEfaZNCH4M6o+an8Zivww+EhKuLDjXfB1YJkj/qg=; b=iK0/E7seYmbMzvxRe24Q3U67Rv3caCBl8jvI/Qv4mO651BKI0ZhjRE4CsKrFAZZ3lp d5GjJXWQIFQKbbUiMdOyVZgSu/Me3d84DWOzrfRLKsX0rA5c/3XgNd1ULYHJ/5CHyjd+ X89V7bODW8uquPbN/r7qHKhyThlZgBOu1aa7msDRYxi9L7mabZQ1SRtfFjVJVZVwnoXT lU8uk2MGKSjgqX0wCZhkK7xEcR4j3T7YBldV56nPN8hAQR17Y7tBSw1FzSmxKQuycVT9 HkCUlbv+gh7GO3e58P+nzUG5ftSN3Di9iKIEOJrcU3LCnP5QaHqUod2nK//lkrLVizRm RiUA==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
zsh -f
% bindkey -e
% bindkey '^U' undo
% bindkey '^Y' redo
% bindkey '^[C' history-beginning-search-backward
at this point, type in "bin" and invoke the
history-beginning-search-backward widget, type a space, then undo and
redo fully a few times, you'll notice the point where the extra "n"
starts popping into the command line.
I think Bart was the last one to poke the undo code, or maybe Oliver?
:) I haven't bisected it (I will if anyone asks me to), but it doesn't
happen in 5.0.7 and it does happen in zsh-5.1-21-ga4f087b (which is
just the other old binary i had lying around).
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author