From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 957b386a for ; Tue, 13 Aug 2019 06:07:49 +0000 (UTC) Received: (qmail 22901 invoked by alias); 13 Aug 2019 06:07:41 -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: List-Unsubscribe: X-Seq: 44654 Received: (qmail 8330 invoked by uid 1010); 13 Aug 2019 06:07:41 -0000 X-Qmail-Scanner-Diagnostics: from st43p00im-zteg10061901.me.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25538. spamassassin: 3.4.2. Clear:RC:0(17.58.63.168):SA:0(-4.3/5.0):. Processed in 3.627837 secs); 13 Aug 2019 06:07:41 -0000 X-Envelope-From: whereislelouch@icloud.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at icloud.com designates 17.58.63.168 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1565676418; bh=kCCa8BMGbWJUhm5IDhN8jjx9z9Oia+spBUCKik99+EU=; h=From:Content-Type:Subject:Message-Id:Date:To; b=VQpUikfZBjAK//IPDBcPRgf6iiM/602qwiTECpMu4EXdMlg01Ge/U9NFmeA/Frm/U cga2uJ0+ZQwpF+AdKWJEpdnt8ckYZjUYE/n5ZqJ214dHW3Yb+mZ4f2h40S931SCJ/V zxWx3KeR1yhsYRiPpn2tI9e4fPLCTUwb/cn8lHwXsPTD6e7alroL1upsR5rOWxBrfc tH7Qofks9yZPMhwQdXk7LaNVXU6Pj9VelfstdJ9epagWRZM4li4Xp/JEiygUkHFlTR pOjh59B/dL4kyH8rdkRUwIYhC1q35l0ACe/4sxGD5JhoA3niSLqsEn01TkgslCoxgt n3olxHPkZrN/w== From: Aryn Starr Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: [Feature Request] Adding option to support triple quotes Message-Id: <6EA30061-5610-4CCA-93FB-0A160E2002A3@icloud.com> Date: Tue, 13 Aug 2019 10:36:53 +0430 To: zsh-workers@zsh.org X-Mailer: Apple Mail (2.3445.104.11) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-08-13_01:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=560 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1812120000 definitions=main-1908130067 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=E2=80=99s = possible, we can even make it customizable for the user to set the = number of quotes needed to activate this mode; I don=E2=80=99t imagine = any one is using 4 consecutive quotes in their current code. These little conveniences go a long way to make zsh a stronger = competitor to scripting languages like Python. zsh is optimized for = filesystem and process programming, which necessates some compromises, = but things like triple quotes can be introduced to the current syntax = with no problem, I think.=