From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8265 invoked by alias); 18 Jul 2015 23:35:11 -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: 35822 Received: (qmail 25473 invoked from network); 18 Jul 2015 23:35:08 -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,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2 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=1437262125; bh=Xu2S7QiHFMRgqUxNtpZDaOBuQ3rjPuVXpZ4XO8hwW5w=; h=In-reply-to:From:References:To:Subject:Date:From:Subject; b=igvCmHhhZ0INubQkYoEpxxaIxtM3l2JwumKBlLx8Htqs+USPlMGygdWcudrbVByf+4KCy3DQ5NBe336MOM3zShQimSZYwOyDO1EYB8KtKKq8Q1PTtU+t00NVO4jm9SgkF5KHhuDbT91m+yRuoFG83xSn48dCaW1KGTQsWDMZEjMIAdJ5UgiZ088LC1NNsbCEx8Vzyvo/9eukpJ4LwQO26q6oc8Y84+V4qtOeislricDvx6Tcp1rc5WMhDhrF6/x/O6cnj1Uox5BpRld2Or+cED1snm7qbnwsLbuOXlccshfe7MBhFc2xKXeCey3Py/ueXwjBGFcmwyyNzRojkK4R+g== X-Yahoo-Newman-Id: 701629.4066.bm@smtp141.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: enymYEIVM1lAetQeT7xSjIHk.I17sHiuY9CxCIRtY0jy2Z6 nFlM_XacYan01xYXY1gTwzsNiBdMnCXkWWCrRZ8a5FBKWeUTi7T5cJ12liG4 jM9XSQ4CJXy_VBK3J5KQJwzZfVHOzw6Mb7_Ys74ChYSL7JPtLmLx9R_lTRg_ 1lfKDwYLImsvhrNpk8DxzJw2pjZt54JClqCTLHqa6I_bqKzOCztQUCz_lK_E 1.xU0wo7U2E3dFUgpXp6P3S6mI7shLINeudfxO0xzBQYgTwtdJplk5RTHiKO VB.Su5hmRQqOlWwOQtwnGYE9qZXsfYdI2iGKZvkPK5.oPSe_ZnZW1fZvATPG Kjno19.lDx1dbpvet3to9R9UosL3OB1bSOlSiy5jgUYofzkrQeDNYL3itWnW J3GYpbnG6ODqdvcU8ba0DX9L.w8I63TToMFzin6CfiPAT_9uaK3IlzF._CGb oBhJTwmsrYVMDGeiwQmYLwQiT21lABx5W2C9.8ohArO_rQ2cDJt0m88vi7Mq zAeBgeLrnNUfAz35.bCcCvUR.D4lVYQ-- X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- In-reply-to: <150718101725.ZM3963@torch.brasslantern.com> From: Oliver Kiddle References: <7277.1437023995@thecus.kiddle.eu> <14646.1437186782@thecus.kiddle.eu> <150718101725.ZM3963@torch.brasslantern.com> To: zsh-workers@zsh.org Subject: Re: bracketed paste MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <18321.1437262124.1@thecus.kiddle.eu> Content-Transfer-Encoding: 8bit Date: Sun, 19 Jul 2015 01:28:44 +0200 Message-ID: <18322.1437262124@thecus.kiddle.eu> Bart wrote: > } (note that there seems to be a bug that we aren't doing unmeta() on > } postedit so you might need the patch below for these). > > Ah, I thought that was intentional to assure that the postedit string > was output verbatim. Are param values stored metafied? I don't see any I'd assume they are. var=$'one\0two' works so surely it is needed for that. It's a pity our function prototypes aren't explicit on this. > unmeta() in the getsparam() call chain, which is used to retrieve the > values of e.g. PROMPT_EOL_MARK, TMPPREFIX, EDITOR, HISTFILE, ... Do > all of those need unmetafying too? TMPPREFIX+=$'\u2584' noglob echo =(echo) /tmp/zshâ>#â>#clEH3p That seems to be picking up extra garbage. hist.c around line 2721, explicitly does open(unmeta(fn), .... but the not HAVE_SYMLINK branch in lockhistfile doesn't use unmeta. And none of the zerr calls bother. I think PROMPT_EOL_MARK is passed through promptexpand which I think is fixing it. EDITOR is fine when exported. FCEDIT seems to work because it is passed through word splitting. Oliver