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,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27687 invoked from network); 30 Jan 2023 17:51:59 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 30 Jan 2023 17:51:59 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1675101119; b=drodVxmWa/w5eYvuQcU3q7FWt9QtARvUkAgcCYX5HKShr/RrOuJ2GaxlM2orJXR/1JOar+ZT+z MY3lAZdMz+PGK0JVy0lvBTu0YGd6PYrP+YAu0A6EUTcTtvEoKFovEqy14R/hqIFr1f4/UG4chi ABy7N8ll05TBtIL+JPN6LHa8KNwQKJLayqJS2m77DN6EkPX1GDmawuolut1XFRVDyqvJWC16U/ jwf0B8ppC4wmokm4RRQ7pKh3FnzHuoYVAu3u0rc9XXME9sGdZVuNGkyRs035A711PgPnGvju/h P5OgT3vk0j5WwMIsfsCLtrPWF9/GKGrVnRLnTOsw2OH55Q==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ej1-f48.google.com) smtp.remote-ip=209.85.218.48; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1675101119; bh=rwfoD4IGRr+rSSSM/jIfzM76p0l14gwfZVO5U2R8NBc=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=MLD1BhcoN2Us94RSNoN5zyEv5XU85qTn5fKbbZaJIo9xtVy27DrplZTbVaQDGZYIpyKldBlE/L 2TZ71h4ouQ7Nb3d4WN5cPpr7XaFov0KSltN8/lbHrhOeMzL6o4Dm3XERFYEBihlfU7NQ4avSGi cLp28iJPCwKB6maefjWGXP7+SzGO7hC92aHvmlMFrirWTHbSXqxEHQ/s0xXobBXcs7Bi10aIy0 umyHKed7iJvQh9S2cXPNZ9XaC2lBQn4YODVEpt7+3A9GbWMPbz9IF4ZBdJxYK75AAkEdMT5sBO Jr5iRNVu27+iuenAqhHAow7VfMLmR23g0x00TIJTRKlNIw==; 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-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=+RUx/q/d5oYfpCYIguOGjmJ/53uc2wAuiAm9b6ULfAQ=; b=YZRzcOuV4XqWC0Ggggixmspvdk gfEh8BiAFOdkn/FRssoWoqBbX9JKVri5OGfW8Btq/FjMnvwxQ6xqCi3qYi0gt9CqJdPhjfD+6DpBn i9KvLIOunD99c6wS/C/YEhKL3IgqjkImgjaHEYbXaAD9DWp/Fs5ea/YXsD+0BPV8yqegETT8h3q4h EOxhEg7bQjdJ3Y4mkKNIt+NsieYRb0RGRAsRF44J5c3vN3aDFwBxed+XGH9OPgEMjEPNNmqS7gbp2 CTA5Yyk4f4y+v/hZE3qeDRuYHyUQN3I/duY5Ah3f3mkaMqwgQpPV4EEqxdVgJ6+hPNulOc84GL6AD 3sJOTwoQ==; Received: by zero.zsh.org with local id 1pMYJy-000LrV-Lf; Mon, 30 Jan 2023 17:51:58 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ej1-f48.google.com) smtp.remote-ip=209.85.218.48; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ej1-f48.google.com ([209.85.218.48]:46851) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1pMYIa-000L8z-1v; Mon, 30 Jan 2023 17:50:57 +0000 Received: by mail-ej1-f48.google.com with SMTP id p26so22890606ejx.13 for ; Mon, 30 Jan 2023 09:50:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+RUx/q/d5oYfpCYIguOGjmJ/53uc2wAuiAm9b6ULfAQ=; b=OAzv6GaLaxhNOAHxcTN+OhcBKXCcDVHKNS5cUzPcrMQzRLGlufGeLQwK4Hp2TzfPs1 xQ2L4PfjtPnMbVL3gMXQMo0hAiL6ohs2qHPAXGE/tMi/plBm0kuPpqgC/msMJNRDPzkW DgHW9KPBP+cynht0aevcR2FLFJncV9UkthPr55L0fTAUSocfIsWwDFilnHEYTL1RyaTA iyuWiQ0pC7uTYVYWNGbDtvrXSCvSisAN89UcIcXFKSgj7ZhmS5f2Ao1LoXHvukruwcUy KHc+xwn3zVDk/VZWGVe2zemMkFHLKYXR47Wi64Kz5miSXziQswQVs8onpRUcUYKYCdWR G2aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+RUx/q/d5oYfpCYIguOGjmJ/53uc2wAuiAm9b6ULfAQ=; b=mylJ0moyGc8jmXz0ys5+ARDvH+8QJqi7ErvI2MHaQrqPMEBNsGEAYW20mTmuD405io cLhb/JDsQTbF5PmSAUSTPtv68NpPjpSr2LPywGBhvgAwC7tPrg2qESL0YYrqTAc13kMf Gk9g7B6IVGNkOAqTKPSf+6qvW4cLtgFSvuDcuHP2/d6SAeaSqfsIUZQva807ONjQNGh/ 2ERNoFvgbkq4FObYvFSiWTEc0+3LAtjdSP9ykQ8/BKl4kX0l8HydXMaQoT6K6r+4HlS+ bC4heWVW4gcQKk1Wg9i2V9B9LHn8JnCkNOKuVr2YCT/KuvVfSGO67LpcyO3uS93BfKYk bIrQ== X-Gm-Message-State: AO0yUKVqqX2G4orsNcoLnLyjifWOtIffr6FctOQCfADpimMdo2oBnCbT 6RW5XKIYob0mHTqDoJT9uNxD31yhL3UlJ2SIVaQ/tw== X-Google-Smtp-Source: AK7set+OB772Zsdz6tNEjaMqVeYpmMgaBoBdmazKTkWTEZ/fZtapmFv9IdpKUXZrLHcdtm/WRGESXo0Xr+pbBzSVvqc= X-Received: by 2002:a17:906:b147:b0:878:3054:335f with SMTP id bt7-20020a170906b14700b008783054335fmr5875625ejb.214.1675101024640; Mon, 30 Jan 2023 09:50:24 -0800 (PST) MIME-Version: 1.0 References: <0dc71450-d082-93da-52f8-d4e6b97199af@eastlink.ca> <1a232406-ad76-b661-496b-974ddf8e67fe@ckhb.org> <8f626e62-312f-06fa-d073-5910d1aba3ad@eastlink.ca> <4993b3f3-3b71-fb80-fd60-3e72170989f2@eastlink.ca> <562e5e2d-44ff-0402-61ff-b621edecf116@eastlink.ca> <1898f1f5-9d67-c832-c145-ee02690f4bd2@eastlink.ca> <102004bd-c372-44c8-9a55-afc298e7c987@app.fastmail.com> <7d104cf5-83a7-2e6d-5696-8d0e613f67bd@eastlink.ca> <86e60311-983b-63b2-235e-64b3294f9415@eastlink.ca> In-Reply-To: From: Bart Schaefer Date: Mon, 30 Jan 2023 09:50:12 -0800 Message-ID: Subject: Re: path PATH To: Ray Andrews Cc: zsh-users@zsh.org Content-Type: text/plain; charset="UTF-8" X-Seq: 28865 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 Mon, Jan 30, 2023 at 7:57 AM Ray Andrews wrote: > > Ha! I tried everything but the simplest thing. But that begs the > question of what 'hideval' really achieves if in fact it's not hidden at > all. hideval was introduced as an internal attribute to avoid having the large/hard-to-read contents of module-provided arrays (like $aliases, $parameters and especially $functions) spewed out in a wall of text when the user was not expecting it. Later, someone else said this would be useful for situations like global variables used to cache data across function invocations, where the user doesn't need to know the details of the function implementation -- so -H was added to typeset. In short, you shouldn't use it yourself unless you have a known reason, and if somebody else used it, it means they don't want you to be nosy.