Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bracketed paste
- X-seq: zsh-workers 35822
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: bracketed paste
- Date: Sun, 19 Jul 2015 01:28:44 +0200
- 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==
- In-reply-to: <150718101725.ZM3963@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <mo6325$r5k$1@ger.gmane.org> <7277.1437023995@thecus.kiddle.eu> <mo8f9k$qt2$1@ger.gmane.org> <14646.1437186782@thecus.kiddle.eu> <150718101725.ZM3963@torch.brasslantern.com>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author