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 2403 invoked from network); 12 Jan 2021 13:29:15 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 12 Jan 2021 13:29:15 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1610458155; b=wR/TmXxaQCP83adKxISArv+FR8xLxsRlOpxAYqP2rRgrf5OewsHhkzm8ORWIs6hOH0hu6r/ygY QjpJmMaEAjdrHnBc0b5VCRD9HBmV9mEe6mNSTEjgmgKxcX5MmmrRsIlNPi26KcGWAlYCY3jp3K o2n7x3rsu09i16NfvKWQ35uhi3iN5ksCW44CTxEJ8C8wi/1gtihqos6V1wWT+IIFbTl4UVS/ZW gparDwoDf8O1NOPQjOf5JPGM/lZEM2kqG+cc6phPZiugy/Qo8R46zvRLoJ7B5Oljjs4hqNjTwd yLkv6a3arzdUUg0A08zfdmuQG3FeIjK7Z8bcFloqal3bHg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (out5-smtp.messagingengine.com) smtp.remote-ip=66.111.4.29; 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=1610458155; bh=QmPz9S8KKPiZJcbKt8dBPfcMe7XrCsg+rT0lxlb8lIo=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:DKIM-Signature: DKIM-Signature:DKIM-Signature; b=t9enKXZiRgFks4lHX0XXtomPXH8v1h9EhupoRN6la9ojppFBeKgdQPB5bVKZC+KtipkluXs8hj Nt5dG29phX7Kopm+5BEsdS0Fp6JSU68qNize8tQOCj+lppOAq5mHJuKNYiStZ8/57q8X9PhVkz woVSWidvA7TWs7myrm91ls2Wl1rFlcybTFhSutQBMdfqe5njXGhvKh/gse8ZQrGw1Uwws8N5SW YbYOMBHTs05Y+dfqZ+NQJ1TzJ8N3WrCI6fVqg1KmW3NY9K0WAJXgcX9A3wMRKr1+3mtCOdGTUr XPNXpb2cecSViciDAjryd1cVRJWjOLPlnrG7Hzy8uf7Ehw==; 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:In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References: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=nhUgsCuXth2WWsk/O+HOL1LH+dO3703J3ERnTHG9AB0=; b=bdCCmA7j0jemNoELFg3sm8bu8a 7qkzny3EpDGWEPDv1kMy/RTG0PoyZJujglyAoFRKfhen6ACJbCdLSGd1fHGQjOI+dlekQVPKrA5KX LDz6hxBSaD/fU0G/QhcwlXmk0BDDnEiFN7e05YFUPZHZlFMGY6Y7l8jBlCG0uoVu31NbTXnEeuljI OofzuFM2ECgEDtCBnda5ZKZnIGmMS8xQpF4iiYQM+xPBcsWECKTIU+fXP16kMuuvkT8WoaZIjP709 7mwcrQmOSMFmomGJT1YvRvEOD2eRm7cDV05zhNbHmlNrvP85YxIkkZVQkkL0ksdqws25YcsyeXwdT qLZ+Brug==; Received: from authenticated user by zero.zsh.org with local id 1kzJjV-000LcA-Q5; Tue, 12 Jan 2021 13:29:13 +0000 Authentication-Results: zsh.org; iprev=pass (out5-smtp.messagingengine.com) smtp.remote-ip=66.111.4.29; 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 out5-smtp.messagingengine.com ([66.111.4.29]:55551) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1kzJiu-000LEy-1W; Tue, 12 Jan 2021 13:28:39 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 036665C00BC; Tue, 12 Jan 2021 08:28:30 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 12 Jan 2021 08:28:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:content-transfer-encoding :in-reply-to; s=fm2; bh=nhUgsCuXth2WWsk/O+HOL1LH+dO3703J3ERnTHG9 AB0=; b=KI5NzyeRLVu4xW6Yg5Y6JE94bKSAgxhdw2ws/6oicQFzELwB5gFJVSBV /lFuzNmJ2lMZu+nHXMAzURCS99FLAJ/8WHDpUVHAInIHYvCuoygc8EoNPr19CFWG YDMoZcuBBQM+M5E06qgynokl/z/hFfeOInEUnuCXBDw8Us8NJq2yiyJplrAk4CXx ftiRo7TqQWRTyYnK9h8TKWybffwqb2SxLntaybjl9qaVMl2n7hwv4MDcbuh33c5l Dribik62+UuvwOFErCHvVBr4YRBZT4Z83qF+lbncuWCqwJbIF/9FYLVNfWYTZ+5w 7VoK3/Ertgg9dEzutWhbVDCz63E9pA== 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=nhUgsCuXth2WWsk/O+HOL1LH+dO3703J3ERnTHG9A B0=; b=qR07+fr+Yf3CxKnZwVau33x+gFJFJpINzsWM30NxtLZOjGh30Nqb8uvPr Js0B0RgkFZREvhbPxJ1E/43dlLvrRVLwFkrVIzVaYCp2Vf5+TWZcQKnctscTNGrl CWWqS6d0epEV7nJ8GiT7NvsXytitdhTLhU0PxbUIzGeQKbmFLa/mtF0ZTsWyVK6b 7ux+W3VyHgFN3QrZ6gounUqL8GSFlo+trZfHpUEmpiIS74njMqB+FGKJ6HvQfhOS /nh10ITCMpiFABxhbTIWW1GQmmEoqEi1xrlpmiDcm7UwhnuvnDpbHcEB6vEoIUk9 BHG5p/ct7FV25sSet7G3QRHkIbewQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedukedrtddtgddvtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggugfgjfgesthektddttderudenucfhrhhomhepffgrnhhi vghlucfuhhgrhhgrfhcuoegurdhssegurghnihgvlhdrshhhrghhrghfrdhnrghmvgeqne cuggftrfgrthhtvghrnhepgfelhedtffeuhfegueelfeffjeegtddtleehvddvueeihfev gfdvgffhvedvkeetnecukfhppeejledrudekfedrvddurddvfeeinecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepugdrshesuggrnhhivghlrdhs hhgrhhgrfhdrnhgrmhgv X-ME-Proxy: Received: from tarpaulin.shahaf.local2 (bzq-79-183-21-236.red.bezeqint.net [79.183.21.236]) by mail.messagingengine.com (Postfix) with ESMTPA id 8CE2224005C; Tue, 12 Jan 2021 08:28:29 -0500 (EST) Received: by tarpaulin.shahaf.local2 (Postfix, from userid 1005) id 4DFWcC5mCmz3Ft; Tue, 12 Jan 2021 13:28:27 +0000 (UTC) Date: Tue, 12 Jan 2021 13:28:27 +0000 From: Daniel Shahaf To: Ray Andrews Cc: zsh-users@zsh.org Subject: Re: here document within a switch fails to parse. Message-ID: <20210112132827.GB1039@tarpaulin.shahaf.local2> References: <2bc17f94-91c0-429d-bdea-e39926dc083d@www.fastmail.com> <4fa2a8d0-d5e5-90e0-b331-e7a149ec9af8@eastlink.ca> <20210107153248.GA25249@tarpaulin.shahaf.local2> <14e91024-d65b-e3a0-f5f6-8f0e55d40e8f@eastlink.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <14e91024-d65b-e3a0-f5f6-8f0e55d40e8f@eastlink.ca> User-Agent: Mutt/1.10.1 (2018-07-13) X-Seq: 26373 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: Ray Andrews wrote on Thu, Jan 07, 2021 at 12:16:03 -0800: > On 2021-01-07 7:32 a.m., Daniel Shahaf wrote: > > Do consider treating the language as the independent variable and your > > expectations as the dependent one, rather than the other way around. > I'll bend it to my will as much as I can, however 90% of changes since I > started have been me getting used to zsh rather than the other way around.  > Still, you don't know what you don't know and however naive, my comment > blocks do work.   If there's a crash and burn coming up I'm sure I'll burn. I reiterate the fourth paragraph of the grandparent post. The parenthetical describes a specific failure mode. > > > > The construct you use has side-effects you've overlooked, which mean > > your fashion of comments will backfire in a way that you don't see yet. > I'm prepared to find out the hard way.  Guys like me suffer. Well, you've picked your poison, then. I'll only add that what you'll "find out the hard way" is more than just a case in which your "idiom" breaks. > > By the way, I wonder if the reason we're having this thread is that it > > hasn't occurred to you that your $EDITOR may have facilities for > > commenting or uncommenting multiple lines. > There's an interesting idea!  My editor doesn't but that would be quite a > feature. Did you actually look?