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.3 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 5922 invoked from network); 18 Aug 2021 17:56:54 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 18 Aug 2021 17:56:54 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1629309414; b=pC633XkOaomEs4ddYOQ/f4+wi1UodACGZute1ZPsY/NsOfGNKeslYq0p9ohC6p+Yz3FPl4l2Rj V9YbSfftqnIimywuEvUXtASJBFXO3JeQhleqZcyzdR2tQuMFCo/A+KPJ4gkU/+fxK2aOnsEhSd gzMOQHYHgyQaXmUYW+wDOxN3ONjJJGOdDT2HjGKb5m+eQa/9CusYjcZGSzIiMHLGllw/Taj5ZD M/ljmpdajEKAcxWlMP1UK3UVyOcOIVw8GA3El7yOeg2JS44Ch/DIskf4dD9u0dlzv0AqII8YrM fecDydjhlPw/I8wNowTun0tap/+cuN5e3eCjsgHIvZ32sw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1629309414; bh=/tE6kBO+Qphde0kWQWbgjNmk33imesruhUUc93peyuw=; 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=A7apjk5E6/3N8TUg2e+zf1a6c5bBRSAWlZ+eZMgzPhw2LXsF1qR4oSmV7ppL3vGLkhjvYdxvor TWsKtNQulvXJuZ+Dbg9agA1oicJXNsr4McQ3/P6/8GjxL0DCSluiD0Xo1A8FiAVwvjVWp/cHm1 d5aw0PNobTIbJzyoHEO6cPrmfPKdA1qXPElK+GnOpHWAbeNENOOvDcCkB1yv1xJ4MXjJVRqIOu aE/k+1kUqVYYukYXLzG/3oY75Ikc3RHB2pZtWBcMThp6NzB9+RYCROBTrAubClL+5VMWoEDec3 /e5afik/N6BDeKPmaGIpOFs3qPt/cdjYBA6Q9wvCyDxq/g==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; 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=Ytbts4Mbi6OrBQfQfOKYNnMJUVskx1RNTyjQ8rzYmA0=; b=CwOswjf+/196oTGANBDSK0a1FL zm9EdUpzJbiCW43UtJr4qIpmd+/xzSDxRYTfg711weY2frPt/zndODQ35PnytJtgf2JbBJrGMNt84 8+L8XHrkTasVcQgqrlrwq4UcX+xs14b2sWq8gpzBZ3XwovK5aHaChh0Eovko8G5lrjPydDUsR4uow NgLC7436T9vRJmB/xk1JH0fhR1ZD4BucNoO24paFtOix+VXh/Vb+M2IUpQ0MlSSgc/GE7xYE/cqZO 7tXG162LFj7Qm9mKbvAcNJwvY5dWD/JJ21Oua/1Ca1f0IbxsFuZk5UOudejwJZYdmLgBUTtZOHoiA p2xce8Zw==; Received: from authenticated user by zero.zsh.org with local id 1mGPo5-000ILS-LU; Wed, 18 Aug 2021 17:56:53 +0000 Authentication-Results: zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; dmarc=none header.from=eastlink.ca; arc=none Received: from mta03.eastlink.ca ([24.224.136.9]:35364) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1mGPnD-000HcK-0T; Wed, 18 Aug 2021 17:56:01 +0000 Received: from csp01.eastlink.ca ([71.7.199.166]) by mta03.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0QY1008QELRRBGP1@mta03.eastlink.ca> for zsh-users@zsh.org; Wed, 18 Aug 2021 14:55:57 -0300 (ADT) Received: from [192.168.0.3] ([24.207.90.194]) by Eastlink with ESMTP id GPnAmey9dzpCdGPnBmgGGP; Wed, 18 Aug 2021 14:55:57 -0300 X-Authority-Analysis: v=2.4 cv=FIHee8ks c=1 sm=1 tr=0 ts=611d49ad a=zv49KfEsxEDzuN5AGO7r0Q==:117 a=zv49KfEsxEDzuN5AGO7r0Q==:17 a=IkcTkHD0fZMA:10 a=73zsYKqPFAsXGQm1x7IA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrleehgdduudekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecuggftrfgrthhtvghrnhepkedvueeuffefhfdvueeiteffvddtvdejgeeujeekieduheeiteeiheegtedvhfefnecukfhppedvgedrvddtjedrledtrdduleegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrdeltddrudelgedphhgvlhhopegludelvddrudeikedrtddrfegnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-IP-NOAUTH: 24.207.90.194 Subject: Re: Globbing symlinks-to-${glob_qualifier} To: zsh-users@zsh.org References: <8e20a9ea-d705-4a1f-97ca-ff6b809f6a92@www.fastmail.com> <31f78c80-2cc8-db5f-659f-d9d27002781c@eastlink.ca> From: Ray Andrews Message-id: <4b7028ed-689d-fae9-0253-a6b301a1cdbc@eastlink.ca> Date: Wed, 18 Aug 2021 10:55:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.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: 26954 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: On 2021-08-18 10:23 a.m., Bart Schaefer wrote: > (1) The internals use 0/1 bitflags, and using multi-values would be > both a lot of code changes and use more memory. Sure, I expect that the functioning of options is now pretty much written in stone.  One might contemplate some sort of radio button situation but it would just push the binary buttons lower down anyway. > (2) If you need to locally change X, it's not necessary to > save/restore any other state of Y that might interact with it. A > prime example of this is "noglob" which obviously disavows a whole > fleet of other options Yeah, one might temporarily disable various other things with 'noglob' which would restore things cleanly once it's cancelled. That makes sense.  Still one might wish for some way of seeing what's actually active at any given time.  'setopt' shows us 'on' or 'off', but not 'disabled'.    Dunno, the adept will have no need of such a thing but it could be educational.  Many of my functions rely on Sebastian's 'znt' code and he resets options left right and center and I take most of it on faith, but being able to query the actual, functioning state of the options would be informative.