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 40120
- From: Zhiming Wang <zmwangx@xxxxxxxxx>
- To: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- Subject: Re: Regression in bracketed-paste-magic (not in 5.2, but affects 5.3's test releases)
- Date: Wed, 7 Dec 2016 13:23:56 -0500
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=LW2jqpGE52LzDhSLWMvY0wY7aKHWRSatzGgqACXRbwU=; b=Ypj38cVySl0H9LG4MkwQUmrhalMVNcNqSWXRlX7iueioEL8DXB7upe7BGzSAfzonF9 FiKEMBYNUPEC84PPg9WH2PiJS20JRiZ3r9UVa1dagA5kRI4ZnaDjoPafda7ECpJ6GU4l gkT5mVIVPw1lpf3sPbpckT6Onfw8Ug5n1+98iYY/MnuLLRyolWABviq1QJ0VL5rdZEi2 cyeDBo3E2ucJHcQhJruJSQ4Uoj8O05Yoqll02rwO1x9OWyg0AjenO2P0eyU66PTIXY+a wS0QNFj4oM0rVdrF6FaZuL/fNQQPtq/mzD7zwjtyp1EOr6JwXRaFvfpoSY4mtwdav5jU 8w7w==
- In-reply-to: <13854.1481114391@hydra.kiddle.eu>
- 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> <CAH+w=7ZbZdfN7rhXQ-yi4_kqyjyAv1w8B7hKi55TPEBnc5Yfvg@mail.gmail.com> <13854.1481114391@hydra.kiddle.eu>
On Dec 7, 2016, at 7:39 AM, Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
> I don't use bracketed-paste-magic so would appreciate if someone
> else could do some testing ...
>
> diff --git a/Functions/Zle/bracketed-paste-magic b/Functions/Zle/bracketed-paste-magic
> index fb584d5..c3cc8b6 100644
> --- a/Functions/Zle/bracketed-paste-magic
> +++ b/Functions/Zle/bracketed-paste-magic
> @@ -151,10 +151,10 @@ bracketed-paste-magic() {
> integer bpm_mark=$MARK bpm_region=$REGION_ACTIVE
> integer bpm_numeric=${NUMERIC:-1}
> integer bpm_limit=$UNDO_LIMIT_NO bpm_undo=$UNDO_CHANGE_NO
> - BUFFER=
> - CURSOR=1
> zle .split-undo
> UNDO_LIMIT_NO=$UNDO_CHANGE_NO
> + BUFFER=
> + CURSOR=1
> fc -p -a /dev/null 0 0
> if [[ $bmp_keymap = vicmd ]]; then
> zle -K viins
I applied the patch and played around for a while; the issue appears to be
fixed.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author