From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30982 invoked from network); 4 Jan 2021 05:35:22 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 4 Jan 2021 05:35:22 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1609738522; b=MylcX44wBvTP7S+1YLSSDqAOB4c7q5RnDp1rEqy3ep6FETOTc29oygRDM7GXjP9oVKsl86tM3m BNwJsUfBzfS0/LgU+f5boUr5TtX9pOJvLuhXNxa60QH2zlcAn0PBNEG2PRC5DkhE+3ZMw9e4Bq 30P0GwBEnLWnNifa1YsuerrsjkpwcvUG3OJFf+MApShT9ilkCLcdg6BuXAVNOi8PSuBMy5Ja4f 7Ar0ECqp3TXgNnMnLJUhVMpxp2t+tJ448sDXzNmiQynNX4A0V+G296yRToRSHHz6e2DT3Y/RGt jr4QP808aiU4+/VgeFAXERlphRHjo9vfF+AfsrYQvAvIUQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (wout3-smtp.messagingengine.com) smtp.remote-ip=64.147.123.19; dkim=pass header.d=daniel.shahaf.name header.s=fm2 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm1 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1609738522; bh=3W2/m6zJA9C3MYqNIvh2+CbOvezq4/8iM88F6KYvSbA=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version: References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:DKIM-Signature: DKIM-Signature:DKIM-Signature; b=OKO6ZVQQk7WvNpGGVHdM2ghTo+IasXxud/1ylyB08dFRCw6u9E9rBju9FVrmAE4YlPZJz3DxH3 e/vv/VTVPNPLDKr4F08O+te0Bq3z4wQKYq+fXTLng8jG0orpWqOSQqfZ2Fb9a7pDF0TxLEFgwR T77H7f51OklNFTV8gb5qbSViFWsDnaX9u9m4Kl3TFknm5NFI1A13f7lqu8L1rSLkKH9BNFkXXM MgfqoE1x62KlETKYE81sCaAex3bXWjnrI9sGUGXTCDCokI5PUnoW4bsRKgsNkUgpwzhkYpPF81 kU3Y4zTP8saex284HWk4BB/Ck2HsSldglg3kiXK5imvYyA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=CTpa4i264R0NFewPVAQ4z6/WQrbyflV+S399jf8i9vE=; b=hFCetuclZskwrPFUd5Ao+6HBKA gmWRl1bahX6cDL3FbOdYCU+wWbWaToL3jGh++dMf5AuUGFSBbOe6YfUwMoKs5R9JRmlImp+s9UMcf AYLHzFu4GiqK/y6vLaTG0PMl/jcxXzGhHvGKsxEQXL6rO9WyQU7Ju2Yon4ZrT1jun4KjwfnRiQyec 0iaDMpp5h55mUxJEvxRTmUo5uZX+mkAWFu7ylGwqO5oy3AvCRmFd+E3U7e6urzM6H4ArmNULDFJHd UG42WT/G8K46C6tUkTmxUBOYz82qI3V9Go3W2Fxf/ebQ8R82nKaECDAnaocxBXvj/WmWpnM3/wIZz ZPaY5o5A==; Received: from authenticated user by zero.zsh.org with local id 1kwIWT-0007zi-Uu; Mon, 04 Jan 2021 05:35:18 +0000 Authentication-Results: zsh.org; iprev=pass (wout3-smtp.messagingengine.com) smtp.remote-ip=64.147.123.19; dkim=pass header.d=daniel.shahaf.name header.s=fm2 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm1 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:33239) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1kwIVu-0007cU-Pa; Mon, 04 Jan 2021 05:34:44 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id BD58317F2; Mon, 4 Jan 2021 00:34:40 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 04 Jan 2021 00:34:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=fm2; bh=CTpa4i264R0NFewPVAQ4z6/WQr byflV+S399jf8i9vE=; b=m4vZsy5CsCGdyIKIEyzbEmqYHHnwc2ejQsnmn2qW2+ aMsXEOAWR804JDRQlcfh+zuS3qmoxGPVrqqMdvwz8luEOatZptQ2N3XePXp8NERO vxrMDMjByEinu2pcc1g8ntySpRlvIfllsVBzF+LZXQ9PUNqJ/BP/GHpGYbZxSde6 mNrr7t1PxOHp7WaPEHmNP8L+E3WESJnVoxMoKagO7ZNBA+3TESSz+Srx5gUKpqmb rfuDBBYRMwECsISaKl/GGsyh4DyZFg2IlwmFXzJi65Rw6jrHjVPDSsljfLq9y1cL T6JEeiJRgqEKYPuuLwAn5NjC51vwGUdOhDj5M/owD4nA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=CTpa4i264R0NFewPVAQ4z6/WQrbyflV+S399jf8i9 vE=; b=IN3nJAemDcJlUQ1Fni1rb1KgiKq2mKajxv3OD3CI+G6bK5oxLz3DKAAia zeTA0evXNJ9TAtEaCTdF48WH0m2lhfaBq6gDrjDcCyBdyt8DEAs/O1ZIo/eOTHv5 TcQtNNKyfTo4kip2wBrIM3vYjcbC60p5HUKEFkn3B4cv/T9udhcfTejBAzs3wL1I 1LWEl7T7gQGib3Mr4mFf7ENxypfcPyyCTB1NuL1/1v17Ehx32+Juh5JADFA6sSYE Oa8OVoUWlR4vXbaTce0+WaJr7lj1UsuzOa9BaVpF2Jhkc5NCqW0xu2wnDNg1C5Ts 5K3RCs7g8r9WDdehMqhSIbqAJXS2g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdefvddgkeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfgjfhfogggtgfesthejtddtredtvdenucfhrhhomhepffgrnhhi vghlucfuhhgrhhgrfhcuoegurdhssegurghnihgvlhdrshhhrghhrghfrdhnrghmvgeqne cuggftrfgrthhtvghrnhepfeduteegveehvdfhteevtedvudeludeijeeuudeujeejtdet uedtjefhtdfgieetnecukfhppedutdelrdeiiedrkeegrdduheelnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepugdrshesuggrnhhivghlrdhs hhgrhhgrfhdrnhgrmhgv X-ME-Proxy: Received: from tarpaulin.shahaf.local2 (bzq-109-66-84-159.red.bezeqint.net [109.66.84.159]) by mail.messagingengine.com (Postfix) with ESMTPA id A856824005A; Mon, 4 Jan 2021 00:34:39 -0500 (EST) Received: from tarpaulin.shahaf.local2 (localhost [IPv6:::1]) by tarpaulin.shahaf.local2 (Postfix) with ESMTP id 4D8PT93zKhzGG; Mon, 4 Jan 2021 05:34:37 +0000 (UTC) Date: Mon, 4 Jan 2021 05:34:36 +0000 From: Daniel Shahaf To: Bart Schaefer Cc: Ray Andrews , Zsh Users Subject: Re: syntactic trivia Message-ID: <20210104053436.16a83f0e@tarpaulin.shahaf.local2> In-Reply-To: References: <565cd2e7-c999-5735-4089-a56870713432@eastlink.ca> <20210102153217.xkpqakxgh7ulikqr@chazelas.org> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Seq: 26329 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: Bart Schaefer wrote on Sat, 02 Jan 2021 11:13 -0800: > Assuming not, a more reasonable approach would be to allow line > continuation to appear AFTER a comment, e.g., > > [[ stuff ]] && do-this # Why did I do this? \ > || do-that > > It's unlikely that any significant amount of existing code has > comments ending with a backslash, I'd actually expect this to be somewhat common in codebases that restrict themselves to some fixed column width. For example, Subversion (which is written in 80-column C) has these: tools/examples/svnput.c:39: * cc svnput.c -o svnput \ tools/examples/svnput.c:40: * -I/usr/local/include/subversion-1 -I/usr/local/apache2/include \ tools/examples/svnput.c:41: * -L/usr/local/apache2/lib -L/usr/local/lib \ subversion/include/svn_repos.h:2467: * @defgroup svn_repos_hook_wrappers Hook-sensitive wrappers for libsvn_fs \ subversion/include/svn_repos.h:2949: * @defgroup svn_repos_inspection Data structures and editor things for \ subversion/include/svn_client.h:2357: * @defgroup Status Report interesting information about paths in the \ subversion/libsvn_client/merge.c:12314: * / \ subversion/libsvn_client/merge.c:12315: * -----o prev. \ subversion/libsvn_client/merge.c:12316: * YCA \ merges \ The first of these examples is probably the most typical one. (The second one is Doxygen directives, which may or may not actually need explicit line continuation. The third one is an ASCII art diagram.) > but such a change would probably have to be controlled by an option > nonetheless. I can't say I'm a fan of syntax-changing options, and in this case there's an easy workaround: if foo # ... then bar # ... else baz # ... fi Cheers, Daniel P.S. Ray, please use more specific subject lines. If you wouldn't have picked a book called "syntactic trivia" from the shelf at a book shop, then it's not a good subject line.