From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 996 invoked by alias); 11 Jun 2017 17:09:01 -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: 41267 Received: (qmail 25732 invoked from network); 11 Jun 2017 17:09:01 -0000 X-Qmail-Scanner-Diagnostics: from smtprelay03.ispgateway.de by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(80.67.29.28):SA:0(-0.7/5.0):. Processed in 2.009598 secs); 11 Jun 2017 17:09:01 -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=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: ft@bewatermyfriend.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at bewatermyfriend.org does not designate permitted sender hosts) From: Frank Terbeck To: Peter Backes Cc: zsh-workers@zsh.org Subject: Re: counterintuitive behavior of zle_bracketed_paste In-Reply-To: <20170611103726.GA15108@helen.PLASMA.Xg8.DE> (Peter Backes's message of "Sun, 11 Jun 2017 12:37:26 +0200") References: <20170611103726.GA15108@helen.PLASMA.Xg8.DE> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Date: Sun, 11 Jun 2017 18:55:54 +0200 Message-ID: <87d1aasbtx.fsf@ft.bewatermyfriend.org> MIME-Version: 1.0 Content-Type: text/plain X-Df-Sender: NDMwNDQ0 Hi, Peter Backes wrote: [...] > While backeted paste mode is certainly a good thing, this behavior is > very counterintuitive. If the last pasted character is a return, the > command should instead be executed instantly. Users who do not want to > execute instantly can simply not paste a return on the last line, as > before. Please change zsh accordingly. Personally, I disagree. I find the new behavior to be a significant improvement. This way I can paste anything, multiple lines even, into my shell, make adjustments if so needed and then deliberately execute whatever is in the buffer. This also takes care of the occasional accidental paste. Since automatic execution is possible to activate via configuration, as Daniel has shown, the defaults should be left as they are. Regards, Frank