help / color / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: Aryn Starr <whereislelouch@icloud.com>
Cc: zsh-workers@zsh.org
Subject: Re: [Feature Request] Adding option to support triple quotes
Date: Tue, 13 Aug 2019 11:06:45 +0200
Message-ID: <CAHYJk3T4B5So3b91UAH-RtS2+DXwUm9TBnMdO2YXKq0LpAyHqw@mail.gmail.com> (raw)
In-Reply-To: <6EA30061-5610-4CCA-93FB-0A160E2002A3@icloud.com>

On 8/13/19, Aryn Starr <whereislelouch@icloud.com> wrote:
> Adding an option to zsh to support triple quotes (TRIPLE_QUOTES) would make
> possible much more readable code.
> We can have double triple quotes that support `$` interpolation, and triple
> single quotes that just take raw strings. If it’s possible, we can even make
> it customizable for the user to set the number of quotes needed to activate
> this mode; I don’t imagine any one is using 4 consecutive quotes in their
> current code.

You are unfortunately wrong about this;
% echo it''''s used by RC_QUOTES
it's used by RC_QUOTES

Mikael Magnusson

  reply index

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-13  6:06 Aryn Starr
2019-08-13  9:06 ` Mikael Magnusson [this message]
2019-08-13 20:52   ` Aryn Starr
2019-08-13 16:28 ` Daniel Shahaf
2019-08-13 20:40   ` Aryn Starr
2019-08-14  9:54 ` Stephane Chazelas
2019-08-15 14:28   ` Aryn Starr
2019-08-15 15:56     ` Daniel Shahaf
     [not found] <2c845fb0-d628-400f-a805-ad8356b6d87a@www.fastmail.com>
     [not found] ` <7EBD1ADA-7179-4EEF-97CA-DBE4371D80D6@icloud.com>
     [not found]   ` <876f807b-dfdd-4246-8cfe-7cf6f373ac88@www.fastmail.com>
     [not found]     ` <f053e72e-e22e-4729-a2de-eaa712119728@www.fastmail.com>
2019-08-15 16:23       ` Aryn Starr
2019-08-17  5:31         ` Bart Schaefer
2019-08-17  6:30           ` Stephane Chazelas
2019-08-17  8:19             ` Stephane Chazelas
2019-08-18  4:24             ` Mikael Magnusson

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHYJk3T4B5So3b91UAH-RtS2+DXwUm9TBnMdO2YXKq0LpAyHqw@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=whereislelouch@icloud.com \
    --cc=zsh-workers@zsh.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link


Archives are clonable: git clone --mirror http://inbox.vuxu.org/zsh-workers

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git