From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1610 invoked by alias); 8 Sep 2015 10:45:21 -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: 36451 Received: (qmail 4005 invoked from network); 8 Sep 2015 10:45:19 -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=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1441708779; bh=wXcGFaszaByae7fq4G7tnoC6b5JPYleuo3OoUbd3hDw=; h=In-reply-to:From:References:To:Subject:Date:From:Subject; b=Y2MTt226Eb94X7PIzWOEyksiU6Gn7u2qQqgQj8muTRixdsudQzYFqj1neCAgr/j0RC5AWQpEOG20XFwAaugFnjAiUDU9kAvn43b9tPKUyOPHik1i1Yb7RlgKLrmqzyUzgONVoBmAEHAz4Rs35kVj190oxQOUVzKon81qr0Dgn684F2jTDDKd4NmSuozGIThZ4/fT0ucuFLaSXEa2uPDKvymXKBz5DAjLqztl39Pk16tFXLz9Cpp1g+bOzB/gOCjlW/pYBJck5MqcOjDk6lWqN5GSGa+5ODzf99QpiHBtUcJ/QfdbeENq9rZAN2gXgithPq3ZSHq3uRL5TysfcIRTcw== X-Yahoo-Newman-Id: 315651.7108.bm@smtp130.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: c0FClFkVM1nlRG4Moge.ZQCPlv_Do9aGcpjDAAWKReIijEE tecHr.BogJyuZ8ZhWK0DyeSIdCqZQ0PvjA4RSn.wsT8cn.L5ZSYukO8FMvEY ed3wUuR8lxVjrCMxAgHHbe0.uqI1BCeRQEUhA2LkNhguRgVOy3RZy438tfQj 4TfY1uRaOJ2HUkDO6vk9htJ0SWXuvRaLQ66T5ryEWkdtrATbEQQbR4_clExy Yic8mRHPVhZZkPM7zS98GIAlmef9bubAT_VfkAWYdcqVlao6EiBGH6CRQhnw k5G9y2umVJ4apfR.YXwDN9mytgHVAFAJpm1KqaUUW_e.Hris3tQAKotg_fiH a9v9FGBpOx7xVLiQaKMxaCvTg2prEVN5uEIB0AHY23CMxjYTEwUXy22ZYTyy JXAVCO3y3biJuf3HJFSFe.nFKPlBVienGWkpBehKI1UXJ1vZMcc9.S5gb8pc 4L.WOdKPbCWCG7ID5U_23uXxjPpYE1v1.NOmNl287RudJQYTsZ339bpSiHlz 4VhMo9oWNb3unMxD7ycvwoL2qQV4- X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- In-reply-to: From: Oliver Kiddle References: <20150829012452.GE30848@bosko.stateful.de> <150828220057.ZM14497@torch.brasslantern.com> <20150830202530.GF30848@bosko.stateful.de> <150901164827.ZM2480@torch.brasslantern.com> <20150903235936.GH30848@bosko.stateful.de> <20150906095224.GD1895@tarsus.local2> <4397.1441547465@thecus.kiddle.eu> To: Zsh hackers list Subject: Re: bracketed paste - chopping trailing newlines MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13643.1441708777.1@thecus.kiddle.eu> Date: Tue, 08 Sep 2015 12:39:37 +0200 Message-ID: <13644.1441708777@thecus.kiddle.eu> Bart wrote: > OK, so who is a normal user who doesn't follow this list? A zsh user from > past versions who expects the paste to run magic-space and accept-line? > That clearly isn't what you mean, but I'd like to de-confuse them too. Not getting magic-space in the middle of a paste is fairly apparent. The same for intervening accept-lines because the prompt is not reprinted for each line. So in these cases a user expecting old behaviour would see that there has been a change and hopefully be pleasantly surprised rather than confused. A trailing newline is not so apparent. It seems like I'm just repeating myself on the rationale for the blank stripping; wasn't the case made adequately back in 35794? I'm all in favour of alternatives to the blank removal that address the original issue. Simply waiting until user expectations have adapted and is one alternative. Blank removal in accept-line is a quite separate notion. Daniel Shahaf wrote: > 3. Avoid saving trailing newlines into history. I'm no more keen on accept-line altering text before it goes into history than on bracketed-paste altering pasted text. Oliver