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=-4.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9159 invoked from network); 3 Jan 2021 17:37:13 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 3 Jan 2021 17:37:13 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1609695433; b=Doz2jKqGgadbVvtcPviSnWlbLw0CY2CMgGLhJjgTNLuuQf0W7GaTn8UaNTQaqwstCWnzr1Ri6D 4hjv2TuHPJeWAvVAzcHrCUCL1Krw5iY2pK+eo+o0vgVe8/W41XzjO61Rl1QhK/dm2Zsp45NhHR 051c3ptDbmqOE70nL6BjMktlF1UOBaHcO/2G0EmDgqyfaLu3vqPbaL4huvt8SGvZR1rGnxvrZM fQ2yaBoPWDx6u1zGDcuVVxY15ZmtuQr7IecVdcYuHVMWvcQQMH2a6Pv74S5NB1Wjcxm7HxQNm6 CXwiIqot3tU/cTO0zlBm7JLvx5JYxk8bjcVk5tUAHXipzQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1609695433; bh=hjMKe29B0crJGR49FUHUDtNfo8gPHodrfXFkxZ7Qt0Q=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:DKIM-Signature; b=IjsKhpyVL/76k1m0yL+PEG5a0QQDcvznetPR6LbU5Dg4py78kZ/vzZgXXkxH7rUBdsou+DFD8j /+ve10m7FqTmpkzL0iUONYyUYnYmSPRis6Npc8/b9pMRd6siqBqgctzBTflrAvDDjwU9M1jO/H hR80wawMotfvDayT4TJu/7uIv2r12m3VH+jIBOdRVRLM2WgUYAFy950iqFORdAmRTn+7Q2/HYB 7AImdmg2yChS8ZAL98Vy0p0xtgYjMB1DxBY1Mw9vGXnYUvBGHNhsBbvc5J1xQnVCUXnFSJlcX9 dh6V/HuWFnKqRwE6lptoDQgaipyzikPhU8wY/r+jV/5ToQ==; 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:In-reply-to:MIME-version:Date:Message-id:From:References:To: Subject:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=CiAfJpXRYAaZ0CES9MALrLnak/ZWz8B/sktlDhyxFtM=; b=cR+MN8sS9Nqr4bVBaN59U9O0Mp 7x1qpNLHkWhMd5MRcWng1X8WgjwJ9tNVtV6CuiaGqzY5BRJUMbBjp1V8KWzYlvLGouC5074MfPQw+ TJCuRG2E1XBJE0LL4wgf3WZcVYTxQ55eWsED3SqY5sbcJIamJW7GQQ2UtnUSg32YwiQyh22IAlGWx r2Aae20JtKCroICNgkVbl8iD/MPCm+kkAkmrVc8uSZMLiZrwZ0W/gwLQvqARHJO+kAUYqsGbsTkO1 bFcRlcLHX77s5qMVwA6qc6e8k4PXU4pXHHxoKaCyZj4pXIIoy8Ul1pCjZPrdc4Pybc2H8rFGkZK7L gcYAw2TQ==; Received: from authenticated user by zero.zsh.org with local id 1kw7JZ-0009MY-EA; Sun, 03 Jan 2021 17:37:13 +0000 Authentication-Results: zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none Received: from mta02.eastlink.ca ([24.224.136.13]:50114) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1kw7JB-000904-S8; Sun, 03 Jan 2021 17:36:50 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta02.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0QMD006M9CMFNQ40@mta02.eastlink.ca> for zsh-users@zsh.org; Sun, 03 Jan 2021 13:36:48 -0400 (AST) Received: from [192.168.0.2] ([24.207.90.194]) by Eastlink with ESMTP id w7JAkuSakeJNSw7JAkXEa2; Sun, 03 Jan 2021 13:36:48 -0400 X-Authority-Analysis: v=2.4 cv=Aat0o1bG c=1 sm=1 tr=0 ts=5ff200b0 a=zv49KfEsxEDzuN5AGO7r0Q==:117 a=zv49KfEsxEDzuN5AGO7r0Q==:17 a=IkcTkHD0fZMA:10 a=gir0-LH0AAAA:8 a=l5jS-IClYxqtPbXagIYA:9 a=QEXdDO2ut3YA:10 a=aLewGyoHDmJ4ULJHWpSz:22 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdefuddguddtfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeekvdeuuefffefhvdeuieetffdvtddvjeegueejkeeiudehieetieehgeetvdfhfeenucfkphepvdegrddvtdejrdeltddrudelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrledtrdduleegpdhhvghloheplgduledvrdduieekrddtrddvngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhg X-Vade-Score: 0 X-Vade-State: 0 X-EL-IP-NOAUTH: 24.207.90.194 Subject: Re: comment block curiosity To: zsh-users@zsh.org References: <3e0ebc9c-5cbf-f89d-c0fe-220c8d295386@eastlink.ca> From: Ray Andrews Message-id: Date: Sun, 3 Jan 2021 09:36:48 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-version: 1.0 In-reply-to: Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 8bit Content-language: en-US X-Seq: 26318 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: On 2021-01-03 9:26 a.m., Bart Schaefer wrote: > On Sun, Jan 3, 2021 at 9:10 AM Ray Andrews wrote: >> alias startcomment=': <> alias endcomment='COMMENTBLOCK' > You're overthinking this a bit, Ray. That happens :) > > Aliases do not expand inside here-documents. Even if they did, the > ending delimiter must be found literally. Ah!  I hate to say 'that's clear' but it's a no brainer that while I'm explicitly in a comment , alias expansion is ineffective!  I should have known that.  Ok, just tinkering where angels fear to tread, it wasn't important.  Comment blocks would be cool tho. Howbout: #{# foo bar baz #}# >