From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13258 invoked by alias); 3 Nov 2015 17:31:56 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 37054 Received: (qmail 14209 invoked from network); 3 Nov 2015 17:31:54 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) 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.0 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=EV35tXfnvf5WXArTOt8ZFOhE6xeOd5k8o6YETTcQvBU=; b=KKn6PB7s7w8lOUz94h/049aV79O8ZO48qlqtv0bm1XIFoF3jU5wNMSvZzTBXyestS4 +iWiQ/eecMkDKR6iyT+4Q0rCRwOi3lbHMara/ZpKvJM7x9armdfg1RP3nAKqLCnGFbDx mKa/g5OaU+5c8bTj/6OXxKrEyx4BpCLCOTV5XhhD6W8GfzK3F7mNI+IxHhYq/GvcUABg zt6LQ3jWMwhMuA5uKotCPVCNROriM9ZuFE23TjQpx94t9vtEuD4rUpdMPJgbIUv/vkP+ oPpDEHQDqgquEsmEGNmQAGX/scQeeNzPBsA0yreNPlqf6PulG82GnYLLQO3sM8V+4LbQ k+Mw== 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=EV35tXfnvf5WXArTOt8ZFOhE6xeOd5k8o6YETTcQvBU=; b=QT5czIvhkEoNkm/F9Bre/7aXMs8V5UUewYldODKRwZ06dDkXhW+l4Qy77FKa3G4sDU +9R8ikCHZI9on+EwmQG+zEvi1hMyHKuTZ4UR+jUB0V+Aa8ohAPSHfpMe5ElWhVMDl87v lghhqp5dTtYlpkeCZJJODveLDDz1WOAympoyNMvekbK/48fENfGpiSzzXWfUudOGD9O3 vr3Y+k+IyVjAer1fQqbP83iEvqVFptmC+hsGFSzBcUNUqkrGU+zyE9PEOayq7cjKLktN WFi4SJRv5jqo1j5GoXNv5hS838ZhYCi00S2bRsdOtpQAw8KpDiDlBXd1CUzDR83XHC4t cCbg== X-Gm-Message-State: ALoCoQmNqIKywalNYumE777XPSVx0nkB1fxoB0LCziIogSGv0z9a6bNlTfveayA7Sktf6fRrnOGC X-Received: by 10.60.119.40 with SMTP id kr8mr18728742oeb.86.1446571912064; Tue, 03 Nov 2015 09:31:52 -0800 (PST) From: Bart Schaefer Message-Id: <151103093149.ZM18895@torch.brasslantern.com> Date: Tue, 3 Nov 2015 09:31:49 -0800 In-Reply-To: <18028.1446462993@thecus.kiddle.eu> Comments: In reply to Oliver Kiddle "Re: edit-command-line, vim, and pasting" (Nov 2, 12:16pm) References: <151101103921.ZM16163@torch.brasslantern.com> <18028.1446462993@thecus.kiddle.eu> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: edit-command-line, vim, and pasting MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii [> workers] On Nov 2, 12:16pm, Oliver Kiddle wrote: } } Bart wrote: } > We need a generalized fix for this. Oliver? } } I'm not sure we can do anything more generalized than the following } patch to edit-command-line. Perhaps the zle builtin could have an option } to cover the situation but that doesn't help much because the function } would still need to invoke the builtin. What did you have in mind? Mostly I was dumping it in your lap because you introduced this feature. Ideally there'd be some mechanism ala the STTY parameter / ttyctl that resets this state every time an external command gets control of the terminal.