Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Regression in bracketed-paste-magic (not in 5.2, but affects 5.3's test releases)
- X-seq: zsh-workers 40112
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zhiming Wang <zmwangx@xxxxxxxxx>
- Subject: Re: Regression in bracketed-paste-magic (not in 5.2, but affects 5.3's test releases)
- Date: Tue, 6 Dec 2016 19:25:27 -0800
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Hgt6sVsQMIbSK+rqYNEewHeqO5MWpVu5RSpoFR+MlLg=; b=j26JQXJctbpTUoNx2jlXlc+RyNldOfSJ4DFelE92WLdEGlBGBGC8Aeh6985o+MezvH Pr7rklm9UB2eDm9ellJH++Pi41huiYPDHWz+yfPInH8qXARjDvAKZupF7wkecqBsqWLK Cbugigvyq8CtG85u0W5xiQaM6Hc+Fj++NSdmXbumzZCmC4lAq7QHY3cmqCNjLW8gp/uz slFpdD5VRNAu7VBtrDRCNJo3OnJgpiSkBGe59nr1rLhboq2Ok6+1BOJ80t4xIv/riIvu kvFwYAqpHrd3+d8zn6ne91b3MPTJQt7kjucZ4m8lo5/FcHjgtQzFtg0tvuPxZ+yD+vgy 029A==
- In-reply-to: <B3CEC842-B789-472A-8C8B-89391950787A@gmail.com>
- 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
- References: <B3CEC842-B789-472A-8C8B-89391950787A@gmail.com>
On Dec 6, 2016 6:58 PM, "Zhiming Wang" <zmwangx@xxxxxxxxx> wrote:
Commit 20948d0 (38579: Functions/Zle/bracketed-paste-magic: simplify saving
and
restoring of state) introduced a regression that results in the ZLE buffer
being repeated when pasting under certain conditions.
[...]
Here's a simple reproducer:
2. Press the following sequence of keys (no space): ^R echo ^R ^E
(history-incremental-search-backward, "echo",
history-incremental-search-backward, end-of-line), then paste something,
say, "zsh".
This probably indicates a problem with undo-point handling around history
search, which has been a sticky wicket in the past. The patch you cite
replaced b-p-m's internal handling of $BUFFER with reliance on the undo
mechanism.
For the 5.3 release the easiest approach is likely to be to back out that
change and re-apply it after the release when it can be more thoroughly
debugged.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author