From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19566 invoked by alias); 27 Aug 2015 16:56:43 -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: 36298 Received: (qmail 8487 invoked from network); 27 Aug 2015 16:56:42 -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 autolearn=ham autolearn_force=no version=3.4.0 Date: Thu, 27 Aug 2015 18:56:40 +0200 From: Axel Beckert To: zsh-workers@zsh.org Subject: Re: Escaping of pasted URLs no more works with 5.0.8-test-3 (compared to 5.0.8) Message-ID: <20150827165639.GB9970@sym.noone.org> Mail-Followup-To: zsh-workers@zsh.org References: <20150827160910.GZ9970@sym.noone.org> <150827092834.ZM558@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <150827092834.ZM558@torch.brasslantern.com> X-Operating-System: Linux 3.2.0-4-amd64 X-Machine: sym2 x86_64 X-Editor: GNU Emacs 23.4.1 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAAAAAC3mUtaAAAABGdBTUEAALGPC/xhBQAAADh0RVh0U29mdHdhcmUAWFYgVmVyc2lvbiAzLjEwYSAgUmV2OiAxMi8yOS85NCAoUE5HIHBhdGNoIDEuMindFS5JAAACGElEQVQ4jXXQMU8UYRDG8f8shNjdDH4AbpfGDjAWlKiJiZ0ajL1aGCvsNCbGaCGG1koLaztaTYz6ATy+gOyehYmF3MxVxgg3FnDsHcTpJr/M+8w7Rf6nCsaVTTDqxbg9hoOXmw83H71+Eyfg4E1d7/Z2fG9rGkZbTQiu+K+3U/C+76lmkvAhJuDndnoAiftou4V84okAGclop4U/jYACZDTxrYWP0gkxVfAm/W//GLZpxIzwIN0Hn8dw0B+IWkZmQmRsj2HfhwokEklHfNCCiQCRgAR7YyhQVRVTCKCzP4Y5zBBE0t0zY3Q8oQaBqqAMlVEcgVQd9706zGirAFium8HXumlMIeMwqQCInju+2+uB6MRENupdpMt8pRlHZyuAW0F+Mb6XSIVqtxjD+iVmVqqystLEzFTGT92YqRaXpNT5eTVjeJhbALPnrTxLUZUKZsgxcNm64hAOYisT/xhF+oKTGU5RegtC3Rt6eEDi/QnIevdTx9Md2EMmYBRmCQR1026FCGQQJJExsRUqgkMGaWSbwYLnoO4T6VgpbQbdELPMBAHWWrhYrcxXnYgAsatPWygkFCBD4K62MAsOTqA6szYRPpsu6e6Y8mPiVrBMNuGIMrgwBUu4p2DgG1Ownu6hpuTv7hScefHAzAC/yRRw5U5pALMbJ4AUALvHSZhxgHPXTsHcdWD1GadAHr9avP+c0wCr7263Df8ASLwXWHWs+KIAAAAHdElNRQfYBQEBODPr Organization: DeuxChevaux.org -- The =?iso-8859-1?Q?Citr?= =?iso-8859-1?B?b+tu?= 2CV Database User-Agent: Mutt/1.5.21 (2010-09-15) Hi, On Thu, Aug 27, 2015 at 09:28:34AM -0700, Bart Schaefer wrote: > On Aug 27, 6:09pm, Axel Beckert wrote: > } In zsh 5.0.8-test-3, nothing is escaped anymore: > } > } While I generally consider this to be a good idea for line breaks and > } friends, not escaping pasted URLs anymore is IMHO definitely a > } regression and a loss of a very nice feature. > > You need Functions/Zle/bracketed-paste-magic to go with url-quote-magic Thanks for that hint. I've added the following to my zshrc directly after "zle -N self-insert url-quote-magic": autoload -Uz bracketed-paste-magic zle -N bracketed-paste bracketed-paste-magic (as mentioned inside a comment in Functions/Zle/bracketed-paste-magic.) Now it seems to work again, thanks! Interestingly zsh 5.0.8 seems to have no issue with that config either, so I don't have to guard it with some version test. Neat! > I should probably write actual contrib.yo documentation for these at > some point, it seems from the feedback as though url-quote-magic is > a lot more widely used than I thought. Hehe. Yeah, I consider it one of the best zsh features, at least a very good selling argument. :-) Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | abe@deuxchevaux.org (Mail) X See http://www.nonhtmlmail.org/campaign.html | abe@noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web)