From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4717 invoked by alias); 20 Dec 2013 07:29:14 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32161 Received: (qmail 16705 invoked from network); 20 Dec 2013 07:28:57 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <131219232842.ZM19622@torch.brasslantern.com> Date: Thu, 19 Dec 2013 23:28:42 -0800 In-reply-to: <20131219203613.0a4db883@pws-pc.ntlworld.com> Comments: In reply to Peter Stephenson "Re: Simulating ZLE_RPROMPT_INDENT=0" (Dec 19, 8:36pm) References: <131217224337.ZM20989@torch.brasslantern.com> <20131218092738.0dbc94a1@pwslap01u.europe.root.pri> <131218092611.ZM22367@torch.brasslantern.com> <20131218173853.54435025@pwslap01u.europe.root.pri> <131218104353.ZM23017@torch.brasslantern.com> <20131218193711.68390493@pws-pc.ntlworld.com> <131218233325.ZM4046@torch.brasslantern.com> <20131219203613.0a4db883@pws-pc.ntlworld.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: IPDEF5U [was Re: Simulating ZLE_RPROMPT_INDENT=0] MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Dec 19, 8:36pm, Peter Stephenson wrote: } } > ASIDE #2: Having introduced IPDEF5U(), I wonder if there aren't some } > of the other special variables that should have the PM_UNSET flag by } > default. OPTIND, OPTARG, and TRY_BLOCK_ERROR come to mind. } } Yes, probably. Fiddled with this a bit. It's less trivial than it should be because the code that manipulates the underlying C globals doesn't actually set those variables, so if initialized to unset, they always appear so. Unforutnately, this is probably not worth untangling.