From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25295 invoked by alias); 13 Aug 2015 16:20:58 -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: 36150 Received: (qmail 960 invoked from network); 13 Aug 2015 16:20:57 -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.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.0 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=kDpPeB0JekhdTJ3qM1PDnzmHg3gvHRrseX9+QL+Q7XY=; b=HsfcNBvJCrVWqJg4CCmDnvvhxuD28KawnLD5B891I/zwhsbDlRqVe1nM/OLAA2ryqm LKq2rjiIgqJ5UzqtfyYKXPOaP+tmGXCaD/9lsSq+y9sUgbcUnVb+LgVtBCCS+BsqPiYX 7yc9yV8PjSMOTWlFHSJ30g5HUdDxdVYca0CxJWAevmVhRKQg/CaoDXNVYY3EIzKPtCyr DUco1vUuDefadJLmScHRTtrb0aXWX5g7em+xjRB2LRV22JRIGhDETkp7S6sCwfOz0gzz wob+BoAU6G4NAgty0y/suevZ9w5TABAL6loqCJksvNmSqZNnc34UXuAC8Ce831crKNrv XlLg== X-Gm-Message-State: ALoCoQntpWIwUiVos4eGQHjDmptstWCJ8MQuvJk77pvCffGVLOC6RR4mCiiK7Bf+2X2WzzofrxhZ X-Received: by 10.202.0.206 with SMTP id 197mr29210391oia.15.1439482852151; Thu, 13 Aug 2015 09:20:52 -0700 (PDT) From: Bart Schaefer Message-Id: <150813092049.ZM28652@torch.brasslantern.com> Date: Thu, 13 Aug 2015 09:20:48 -0700 In-Reply-To: <21668.1439477345@thecus.kiddle.eu> Comments: In reply to Oliver Kiddle "Re: [PATCH] bracketed-paste: change quoting style" (Aug 13, 4:49pm) References: <20150811220922.GF1859@tarsus.local2> <21668.1439477345@thecus.kiddle.eu> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: [PATCH] bracketed-paste: change quoting style MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Aug 13, 4:49pm, Oliver Kiddle wrote: } } I'd agree that it is less ugly but there was some rationale behind the } choice of \-quoting. It is easier to remove unwanted characters. It's easier to remove the unwanted characters if there isn't very much text being pasted or if all the unwanted characters are at the end ... but if there are a bunch of backslashes scattered throughout a large paste it gets ugly. } What I was hoping to get at with the vim-style `[ and `] marks was a way } to retrospectively quote the pasted text. Doing things in that order } seems more helpful and more flexible. Yes, invoking quote-region after the paste allows you to first clean up the tail end before adding the quotes, so you get the best of both.