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, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 804 invoked from network); 14 Mar 2022 10:59:09 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 14 Mar 2022 10:59:09 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1647255549; b=Bg53ghnAK0Rb7P8EqH+JnuniIUI7kiYW6Lhv3LwABI37frxJlv7Ab1KBXnwkDmWK8ZNYvQxDmg a6rMRVKjm8ErNGH404qqPbiYnVz/c20zce+ybAi1YfBrS903HAdC98DuFd/tkUHvXcEBDaarC+ ZbIsgrW+hH3GS4UFmlhzYoSqR4IKVWY6Z4+h+aV0+xL2VpBJ87tRRSC9aXxaQLQPnDNvYZyBbu vjUpkSpVObm1nvbgVgLVNV+QDVOv75J7AbJO4/EJN3xeUuUr9htfMseyD+m+7iNsHlFMkswR+5 dsy19EBldjV/koGbUsZXc6zicdVQsycCvddi9nJ6YlMesg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (smtpq1.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.96; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1647255549; bh=AEYsiPQ6nLS0pu6yXNNHCu6BXUApfBoXWBDj+1dkoeg=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject: References:In-Reply-To:Message-ID:To:From:Date:DKIM-Signature: DKIM-Signature; b=K7wpWI8WnrYGY9uswSd87v/d38xLMP7v+vF5pvsEbcaelsCwPOk6dW2dZDPh2ZeaezIuRFNaWF C2r7IuYhKoeeEaAMUxuff7Del5UC/Lgk3fyqFZ80yUYi5f4EcpUJMLl3Gk2ERHPhOAPn56u/N9 obKvEZbPDeQ/yTTb8P3FwUM2+j3LKpeaI6vyk5hllGcIbhwo4FgWinb7kkK6Gs7O5NlvRd43HW IMRbLo7VypnyWzzJIhXkhuRRRx1vIxIF2qrOuBvbZvzV5VBVTYYYQHuol5NmkzdjZqs0KXxhaj xaFQAv8IhUZ2KL2o04b7j3ywrvaLpOFxZ1cn5sE3kJmEsQ==; 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:MIME-Version:Subject:References:In-Reply-To:Message-ID:To:From: Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=D+N+fA5tXz4heKNPrvz5Rgzf7uitBVIQaPe8yBGP14M=; b=a630+kibPyfT8MMW6ca6AbAeKr 13g4hJkFZabEXk9GKqNd5ufD698bq2yIqhLO0gH41UtNmLovm0QR661mUN9pvA8q6vpjdZOatun5E J4VpW88yPY+vXyaNOp7JhpmCEFWLq8LwhDNZJiF9/esHW19b2i1RPd7Wy+LwrhoWW1PU4AHeUxjQs Z18h/+rwhY/8iF7f0FjHEJvlDcO28cV6kW2mc2HofR+GxNEfP8dJVvh6KpHqp8msE5zjruox7sapq h1nYQiyq3+eMMSFlzTbFtOrQGhm3Otc09+zPr8JUndNvLAYFx/8ZpPNmYdfv1jnXiZMCAwOcIm1zc EZeY2zcw==; Received: from authenticated user by zero.zsh.org with local id 1nTiPq-000BtI-QR; Mon, 14 Mar 2022 10:59:06 +0000 Authentication-Results: zsh.org; iprev=pass (smtpq1.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.96; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none Received: from smtpq1.tb.ukmail.iss.as9143.net ([212.54.57.96]:57158) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1nTiPa-000BXc-8H; Mon, 14 Mar 2022 10:58:51 +0000 Received: from [212.54.57.80] (helo=smtp1.tb.ukmail.iss.as9143.net) by smtpq1.tb.ukmail.iss.as9143.net with esmtp (Exim 4.90_1) (envelope-from ) id 1nTiPZ-0004wW-VX for zsh-workers@zsh.org; Mon, 14 Mar 2022 11:58:49 +0100 Received: from oxbe25.tb.ukmail.iss.as9143.net ([172.25.160.156]) by smtp1.tb.ukmail.iss.as9143.net with ESMTP id TiPZnqvY3BAYNTiPZnyrYB; Mon, 14 Mar 2022 11:58:49 +0100 X-Env-Mailfrom: p.w.stephenson@ntlworld.com X-Env-Rcptto: zsh-workers@zsh.org X-SourceIP: 172.25.160.156 X-CNFS-Analysis: v=2.4 cv=IZSU5Ema c=1 sm=1 tr=0 ts=622f1fe9 cx=a_exe a=NA7IgXeTfPXpJV+SL5V8Rw==:117 a=wbvTLvLwOfMA:10 a=IkcTkHD0fZMA:10 a=7H6ixmLU1AQA:10 a=pGLkceISAAAA:8 a=QtNvzElTzcUqqLfVHF0A:9 a=QEXdDO2ut3YA:10 X-Authenticated-Sender: p.w.stephenson@ntlworld.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntlworld.com; s=meg.feb2017; t=1647255529; bh=AEYsiPQ6nLS0pu6yXNNHCu6BXUApfBoXWBDj+1dkoeg=; h=Date:From:To:In-Reply-To:References:Subject; b=KjBkOYGSALmw7cD7dK86a+3OftBtC9g5w1U+765N8hPPynPBdHhobfjMy0wHqmlRJ BUQzj/4wiLTIZkFUrPnnF04Uf91TzwgKEpyyC7R1gJcNyqWctsKTCuFb0MvEaZ7GPX PTHnjG+ZlwrqgU+k0cH1rEYgbaStkiB0Gcdalp2/Psz2XpZq7E5Jn+3OXvCb7cDpKz L8NyQcSN426wnl5H1A52TOXqdajnFpsKM3gqm0XwOEFQXIOB7oIvGkTmHeVFnuGak0 YpR23saSyAund/t8LsBYrXeUXydjQsuSP2K20XUAD5zgE9gUmA7d2zXXIQQpiTv/JI UgQ9Sr80Qak7A== Date: Mon, 14 Mar 2022 10:58:49 +0000 (GMT) From: Peter Stephenson To: Jim , zsh workers Message-ID: <887235937.380109.1647255529873@mail2.virginmedia.com> In-Reply-To: References: Subject: Re: Clarifying man page(s) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.4-Rev72 X-Originating-IP: 147.161.167.85 X-Originating-Client: open-xchange-appsuite X-CMAE-Envelope: MS4xfGJ4bDO4QUkQZITpmVYsH7L+L1/pzGjPq+P5qspZEqese6iB1/GZhPW6Aoqd48apvbXJAv1Naoh6gSc+KWDkpX1e3GOcTXiizYbm/Zs/vtf9ouuXFnX7 HKHiXeMLkm5IY5oP9eTcXaNBSYcQM1d6V5fXtRuE1eYzhkNJpwq+A0U61JNYOkYwz3VHUHvSYnhtsBsB3o9fl1zSYF7ubwiZDRp8pIEIIb5y8KwJkSu0pysQ lCs0bY2if/36VAVIEvaR/JF/ukPANMpH3Y/OhSkFVkw= X-Seq: 49845 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: On 13 March 2022 at 15:14 Jim wrote: > To the point/question: Should zshoptions man page have a clear statement > at the very > beginning that "options" can have a local "scope"? "Scope" is only > mentioned later in in > three options. This on my part is assuming "scope" is the correct word to > use here. It's easy to add. pws diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index cf46007..443676b 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -41,6 +41,9 @@ will be treated just as `tt(-f)', but the string `tt(-f i)' is an error. This is because many systems which implement the `tt(#!)' mechanism for calling scripts do not strip trailing whitespace. +It is possible for options to be set within a function scope. See the +description of the option tt(LOCAL_OPTIONS) below. + texinode(Description of Options)(Option Aliases)(Specifying Options)(Options) sect(Description of Options) cindex(options, description)