zsh-workers
 help / color / mirror / code / Atom feed
From: Zhiming Wang <zmwangx@gmail.com>
To: Oliver Kiddle <okiddle@yahoo.co.uk>
Cc: Zsh hackers list <zsh-workers@zsh.org>
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	[thread overview]
Message-ID: <67BC6DF6-BB02-4CC7-9C4C-624BEB8BBBFE@gmail.com> (raw)
In-Reply-To: <13854.1481114391@hydra.kiddle.eu>

On Dec 7, 2016, at 7:39 AM, Oliver Kiddle <okiddle@yahoo.co.uk> 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.


  reply	other threads:[~2016-12-07 18:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-07  2:57 Zhiming Wang
2016-12-07  3:25 ` Bart Schaefer
2016-12-07  4:02   ` Zhiming Wang
2016-12-07 12:39   ` Oliver Kiddle
2016-12-07 18:23     ` Zhiming Wang [this message]
2016-12-24  8:28     ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=67BC6DF6-BB02-4CC7-9C4C-624BEB8BBBFE@gmail.com \
    --to=zmwangx@gmail.com \
    --cc=okiddle@yahoo.co.uk \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).