From: Mikael Magnusson <mikachu@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh workers <zsh-workers@zsh.org>
Subject: Re: Bracketed-paste and quoting, again
Date: Mon, 17 Aug 2015 04:03:28 +0200 [thread overview]
Message-ID: <CAHYJk3QHpHvOqeOBv7FDn-PjRgXYof0iYodhHXC82JOz7q1ZKQ@mail.gmail.com> (raw)
In-Reply-To: <150816183504.ZM13077@torch.brasslantern.com>
On Mon, Aug 17, 2015 at 3:35 AM, Bart Schaefer
<schaefer@brasslantern.com> wrote:
> wpaste = stringaszleline((zmult == 1) ? pbuf :
> quotestring(pbuf, NULL, QT_BACKSLASH), 0, &n, NULL, NULL);
>
> It seems a bit odd for NUMERIC=0 (zmult == 0) to cause quoting to happen.
> Perhaps that should be (zmult <= 1) ? Should NUMERIC=-1 REMOVE quoting?
In a widget, $NUMERIC is unset if it wasn't specified, can we tell at
this point if it was 1 because of being 1 by default here, or if it
was specified by the user? I think it's a bit odd that alt-0 and
alt-2+ specify quoting while alt-1 has no effect.
--
Mikael Magnusson
prev parent reply other threads:[~2015-08-17 2:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-17 1:35 Bart Schaefer
2015-08-17 2:03 ` Mikael Magnusson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHYJk3QHpHvOqeOBv7FDn-PjRgXYof0iYodhHXC82JOz7q1ZKQ@mail.gmail.com \
--to=mikachu@gmail.com \
--cc=schaefer@brasslantern.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).