Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug in bracketed-paste-magic
- X-seq: zsh-users 21288
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Bug in bracketed-paste-magic
- Date: Sun, 14 Feb 2016 11:29:10 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=360fIEedB4tWYydvyGcqfgpcHw60oMmFktQ9hHm1/nc=; b=qkI5k7gZsBLNAy3YAzAW02gPvcsiPiJKEWGteR2MydDLuJrQjFKxLDHAQumWHmnR9N Y5SYCbXpZJJZBGpY8wPIxE8/uuzdtqs/W1WNm47pZwxJDO4pTpzxWJND1lybhyVge9G3 e1ANYqVBfD8n1RTRo2ahXqg2Zu52gtAlWd836oLs3gIiutTno71/2eXFr9lVNcHa4U2F P3PO1ZXz/60GdjnyjgD/7YOh2tOhbKuMdK4Z+uinTCaErvVJOO9zSQMv3f06CiSmRyyH ZHDwltCFRv2C0Gax/qKTDxxA1eP9DlG/+JDuILj77pvcYqDs5IpkJdD/HSs2bN8X+L05 PlLA==
- In-reply-to: <CAAikoAKcfLHq0vRwJJkD0p6JbdACYSTwCDV3Ja=b5UzT5N1Tzw@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAAikoAKcfLHq0vRwJJkD0p6JbdACYSTwCDV3Ja=b5UzT5N1Tzw@mail.gmail.com>
[Aside: zsh-users is propagated to zsh-workers, so there's no need to send
separate messages to each.]
On Feb 13, 5:18pm, Eric Freese wrote:
}
} [...] It seems to me this is a bug
} in bracketed-paste-magic- that it should be using the `-w` flag to set
} $WIDGET and associated parameters when invoking a possibly user-defined
} widget. Would adding the `-w` flag here possibly break anything else?
Good catch.
} I'm not very familiar with the best way to get this patched
Mailing a diff to this list is the usual way, but you've succeeded. :-)
} The relevant github issue for my plugin:
} https://github.com/tarruda/zsh-autosuggestions/issues/102
The initial description there sounds exactly like the problem we had
with multi-byte input and "zle -U". Any idea what user-defined widget
caused the problem?
} P.S. Another concern (though it's really a separate issue) is the `zle
} undo` later in the file. Shouldn't that be `zle .undo` to avoid any
} potential problems arising from the `undo` widget being overridden by a
} user-defined widget?
Seems reasonable.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author