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 16556 invoked from network); 27 May 2021 22:38:33 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 27 May 2021 22:38:33 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1622155113; b=kDQVthaiQKWokzIiZZ0axA98PKc7XqTKU4tQ12sWLSzSBRwdz5yZURXFzbgioKZj/o6Jf8nKOg iUtGsdTkjM+Maws18nCnKl0Qng1u0Q8yiaHPjOFV38C3hEUIAO1fUDT6/98N9CuyLhAYu+HVY2 +5vr2s3e8NbPEFQo0AhtrteN/CA6dV3yaH6Z+yWWJ1ServtXQshPqxWJGSfOc4Q92lFWoSX34D 7yIiht/MRXg2Rx58RVWVPHqAh3yKBtHGYIe4LIkZ7vgp+8g/VJ3AZRTr0ycqWHkfB2l+/tW2Jn Ue/wTN+0zmxwDVw1ShERpfYFkYkGwX1vTZvHZ/E2wnYTlg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (out2-smtp.messagingengine.com) smtp.remote-ip=66.111.4.26; dkim=pass header.d=daniel.shahaf.name header.s=fm3 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm2 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=1622155113; bh=yrP7mzvYbHBH7CUdPduCDv1jTwD8ZqWKkyjo/vWigUc=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Subject:To:From:Date: References:In-Reply-To:Message-ID:MIME-Version:DKIM-Signature: DKIM-Signature:DKIM-Signature; b=uT12r5XTyMGGUFHDLX4ScBYTNwpR7pnnOusDJIMLsvWlWUrEYEZlncwRaVIHWRf/Xn3HJOsFoT ra8EoBUcX9tRVL7mCYRB2VF49rijmwOlgyn5pftTkxWA8bwDb9E1nPwKRy6j+t7OR/fBwhzF/9 3IvfqjSl4WEJM40o4aad9NDbw3YvSFPzu8sv6jPIKC9JNA9MJJsn0+8udtM1vv1RKkMgUxStv7 J8/YIDD2OJ8qlX91Uf+7TNr3KkRRzaz98zYGdhxhr95Bi33ZpyysgrNrP7L8qlXrXNiAf57Gyj QoCV0ZEIKohE7Tmi6dFS8Yjz45wXcSepHz2T8ajGbD7Ucg==; 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:Subject:To:From:Date:References:In-Reply-To:Message-Id: Mime-Version:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=YntYmr+sCJs8qVH/Ojpn8TrwOKTNoli7Ws1uWzlcm8E=; b=sGW5Fy58QUTL060OK81DGhUcCc cYRXm7niSJ7NgttbE1jLeQiANe60/HqW46MUSP6Dj1tU0cHYJmqeWgOGUjkPJ/XxCCfkiSLTZVHIF phaeU6CuDLxyNw5bnotekdrDyFpDwxNrQoZpl7gp52jOMEhbRdZ6TaxonVj5y5hlKyVzFpxiehFzH OH/qrSkgSmsuoJuOwlE28LnX9VwNNe83IC8Xru/SrLn6Gh5KRgEW41WFQhjIDqSWFwqiOA7Vj2pq6 3cOt5AIAVtFZadHTuJXee3hUEBrrQlb9UTuEme3jTBGajPxgirv/nIgZTGn0Bz/6ClzuDKZFxrdy3 vLZTdnmA==; Received: from authenticated user by zero.zsh.org with local id 1lmOe9-0008hl-4I; Thu, 27 May 2021 22:38:33 +0000 Authentication-Results: zsh.org; iprev=pass (out2-smtp.messagingengine.com) smtp.remote-ip=66.111.4.26; dkim=pass header.d=daniel.shahaf.name header.s=fm3 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm2 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none Received: from out2-smtp.messagingengine.com ([66.111.4.26]:54763) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1lmOdZ-0008PZ-W3; Thu, 27 May 2021 22:37:59 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id A48335C014F for ; Thu, 27 May 2021 18:37:56 -0400 (EDT) Received: from imap37 ([10.202.2.87]) by compute4.internal (MEProxy); Thu, 27 May 2021 18:37:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=mime-version:message-id:in-reply-to :references:date:from:to:subject:content-type :content-transfer-encoding; s=fm3; bh=YntYmr+sCJs8qVH/Ojpn8TrwOK TNoli7Ws1uWzlcm8E=; b=DUnnqSgzMcn3xjPBK99flffgjKU+xBZEM9om+rZ7sr 1UCGys870gUGhz633EYQN8tVE4CgAwTAumbFfIzms6MaUE3FIrLKLIaJtK/ftgp9 QIxAr83zp1anMuxn6pgD9nWIVmLOPuuMlVmHEvXO5VXeZm6yJkfWgdT7hv6aF8c2 9N2eIvWWDfFNdXv/JCvj9HBvEbLASnTdBDtsaFYXdXK30kAO78Ts6rlZSyD/Z9Yk qw3tQD6DY7LHyvHbZW7pF6+YG7olWaS4f2npjdJuFmMQyHcA1DHNjdtrs91wdhRt z8cZYzVOZwG+rqSFrQ1CD6aLRdBsPYqgy+EaPF12RpBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=fm2; bh=YntYmr+sCJs8qVH/Ojpn8TrwOKTNoli7Ws1uWzlcm 8E=; b=IKAgHi55NUpc1gpdDy9NPjrqV3Zxt9GsbeVKUkOPIAiwj2bmK3tXomovd HCJsBhSTD4QU3UwA3mXgpFU1eLBRfjPefyyJ55ApNCXXeEVem0jzJVdHSXC/1YP3 EzP/7X+s34LTPGcjZiGr0eezUIQLI4j8wZgqRqvvr1X3wErqT2IUDo0nWUKgOpDL mPGMxx7Yj02a4mYKnCN4XHq14tZ11WuU2pUiHanukC8ze9SGwH5v/zi9NXUtPa/9 i37mth+j4kZWaKx1wOLcu3a4pwqPRnNEO77vPHjy/jMwuiKxFaRLj+ffX/0rs8Bh 9nAmQho6rcGvSNjDr3kas0BzV+nGA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdekiedguddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtgfesth hqredtreerjeenucfhrhhomhepfdffrghnihgvlhcuufhhrghhrghffdcuoegurdhssegu rghnihgvlhdrshhhrghhrghfrdhnrghmvgeqnecuggftrfgrthhtvghrnhepfefhkeefve eileelheeiffdtkedujeelvdfhtdejtdeggedvuefffeelhefhvdfgnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepugdrshesuggrnhhivghlrd hshhgrhhgrfhdrnhgrmhgv X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 48DAF6B40069; Thu, 27 May 2021 18:37:56 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-468-gdb53729b73-fm-20210517.001-gdb53729b Mime-Version: 1.0 Message-Id: <9167a03c-aee1-437e-85cd-53783868f548@www.fastmail.com> In-Reply-To: <4721-1622153149.240316@WPfm.XbkI.5kzM> References: <48737102-54FB-4BB6-969E-9DDA65F3417F@kba.biglobe.ne.jp> <4721-1622153149.240316@WPfm.XbkI.5kzM> Date: Thu, 27 May 2021 22:37:24 +0000 From: "Daniel Shahaf" To: zsh-workers@zsh.org Subject: Re: [PATCH 0/2] _pandoc: avoid use of cache, etc. Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Seq: 48940 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Oliver Kiddle wrote on Thu, 27 May 2021 22:05 +00:00: > I don't think so - they are editor specific and we only have them in a= > couple of files rather than them being consistently applied across man= y. > Various editors, including vim, can parse a file to place folds where > they make sense syntactically. And I don't think we should have editor= > specific markers for options either. That's what .editorconfig is for.= >=20 > This patch removes vim markers in _pandoc and a couple of other > completion functions. They can also be found in files below Functions Where? I don't see any {{{,}}} fold markers under Functions/. > but I've not touched those. >=20 > I'm open to other views if someone thinks this stuff would be useful. The diff hunks for _bpython and _pandoc look good, but I don't agree with removing the fold markers from _cdrdao. The fold markers in that file can't be inferred from machine parsing, or even from na=C3=AFve hum= an parsing; they were placed by a human familiar with the file. Please keep them. If we do keep fold markers, then of course users of other editors are welcome to add equivalent markings for their editors. I don't think that will grow unwieldy (and if it does, we can deal with it then). If the fold markers interfere with "Jump to the matching curly brace" functionality in editors that don't ignore matches in comments, the fold= markers could be changed to something other than curly braces. Cheers, Daniel > +++ b/Completion/Unix/Command/_cdrdao > @@ -2,7 +2,7 @@ > =20 > # TODO: Options must come before parameters. > =20 > -# Command completion and main loop {{{1 > +# Command completion and main loop > =20 > _cdrdao () { > local ret=3D1 > @@ -23,7 +23,7 @@ _cdrdao () { > return ret > } > =20 > -# Common arguments {{{1 > +# Common arguments =E2=8B=AE