From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4400 invoked by alias); 14 Feb 2016 19:28:53 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21288 Received: (qmail 7847 invoked from network); 14 Feb 2016 19:28:52 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 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== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=360fIEedB4tWYydvyGcqfgpcHw60oMmFktQ9hHm1/nc=; b=WxosQ6RYUPAfG1C28lWcUkzEhb++TzgyxU6qmR/u4OOMYf6Nn+uT0G66CAi6DMoVDT ubXpZzrvqBian4grGFcWKqF2FycL2jWS/kv04nr2HnLgzD6mek0A8h+1JvrLbFeNM/K/ xk2BCsMI/KPFjjqeCTXfrNBgtpKIX0VL4hiaEjSBCRJ6kaADeC5fSuQlehkKHkN617We 0YFdDVXNjncfceq6KxRkncTMTgz3d8sG/R3tLtPqBKTqCnnTrVYXKZiC4HEDWDcH+JCE ByxZIMYvZUMSSdLw7TCZ2eIHzQc9J0pSb1tO1qUM6cLISihuuFOLtFemfHnGHScLI5Hg h2PQ== X-Gm-Message-State: AG10YORXlZZehOAkh1zhHzek1VSeifvvU6gRT6NqfrS2Q2uIH95k7NX3hhEYrZYbhQ53kg== X-Received: by 10.98.17.208 with SMTP id 77mr18158064pfr.37.1455478131990; Sun, 14 Feb 2016 11:28:51 -0800 (PST) From: Bart Schaefer Message-Id: <160214112910.ZM20851@torch.brasslantern.com> Date: Sun, 14 Feb 2016 11:29:10 -0800 In-Reply-To: Comments: In reply to Eric Freese "Bug in bracketed-paste-magic" (Feb 13, 5:18pm) References: X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: Bug in bracketed-paste-magic MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii [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.