From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18069 invoked by alias); 6 Sep 2015 13:57:41 -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: 36431 Received: (qmail 15047 invoked from network); 6 Sep 2015 13:57:39 -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.0 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=1441547466; bh=EqhC6kmpcZCsZPJO5vWkBY5LMF09QWaS+fUjpBKMzGU=; h=In-reply-to:From:References:To:Subject:Date:From:Subject; b=FW1jFo5+fs/DZvaaxVXIox3SgZkCW1qQVP16pmsoWYofgWXduuzThYQOOujD7bt67Yp7AbibWwf3XBp/bQ/mytYVRJ5URDqa9mGe209EqObDZuefED8h0YVTDczwT9+FxWXshjud9pRG5tPwuhsnno06AGwS1rDwsxcAoGyMf0qNMVomipqjp0SRiP6ujidcLkNiLol/vtH8Y9Edd7rxzhYUe3WVPydI0JSPpWMY6rhxmiRXF3+8+9wMXrqFBzBRfnCnL2nU9tzHk22vtBdFMsqA7e9p5DMDBzKt1La6FcN5sYaVj28w0X1upKPgDzDxDY4d2gbW4phluovDCxHvLQ== X-Yahoo-Newman-Id: 966653.33510.bm@smtp104.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: kC5kCXoVM1kyHH0SAqKVESlN7j8skPdXVVCWn6N2yfnvoYQ 7P3Acx2BWYJXDB7E6Lx5TutoSK3XeTYTVZXNvlwcUgtYxpFiAYB81JZizKf6 mcCeGBVXiSYmIkbya5RJjZbOe7aqdhnUnsm5rLG6866ihA3gUW7PFqlrND9b Qm95rsEcmMcSVIjk8dpgqsfLr2LKnYot7qFCLDihG6zJYKJHl6EyzBemkV6c m7MdBDHD7Q.m3RP2bbpKcI7C42tjBgwjZhPt_Hu1kZcv4yqpbX68NhjXyXUN ngQiuO7CjArUkKcYNl31U4lxM4dy7YqOFAzYBJTxShlWKfUabhbPqEKhlWSK zu6pWI9PIfF7UhWGysz7bACqDFU5D0VIAo9SqmZq2bMIX1lR62Ew0Y7cdaDb Yx4xqk52CeR65Uz6l8XyPmFB9LMxF9qHloTQNu2sN9LKZt0tN5WH_XUAW5At j_csBB6AyWsSOo2X8ltn04XM.eHwU1Rr2EO9y_7X.1ivWSaHm2FIMQL4bnmZ _okTDg64078z8KFex6hV3m.HKe7ue8g-- X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- In-reply-to: <20150906095224.GD1895@tarsus.local2> 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> To: zsh-workers@zsh.org Subject: Re: bracketed paste - chopping trailing newlines MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <4396.1441547465.1@thecus.kiddle.eu> Content-Transfer-Encoding: 8bit Date: Sun, 06 Sep 2015 15:51:05 +0200 Message-ID: <4397.1441547465@thecus.kiddle.eu> Daniel Shahaf wrote: > The behaviour is: (a) pastes are never executed until is pressed; > (b) zle_highlight is set; (c) newlines are removed only at . I really don't see the point of doing (c). Perhaps the reason for removing newlines in the current 5.1 behaviour has got lost in all this. >>From pre-5.1, users are accustomed to pasted newlines being executed. With a trailing newline, it is now hard to discern that the line hasn't been executed: the cursor advances to the next line whether the newline is accepted or inserted so without the stripping the user is left waiting until they lose patience. I think that the default behaviour should cater to normal users who don't follow this list. I agree that the newline stripping isn't ideal but it seemed the best option for the short term. And it is possible to work around it with a custom widget. Oliver