Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: localoptions, emulate -L, and top-level shell
- X-seq: zsh-workers 40073
- From: Sebastian Gniazdowski <psprint@xxxxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: localoptions, emulate -L, and top-level shell
- Date: Sat, 03 Dec 2016 04:01:12 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1480755672; bh=ECpNNzyMmqtIwaQ12bSQwmZWoqgEYUW9BRAorEzj708=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:Feedback-ID: From; b=Qoi2mOI2z4bQEQJM62/2G1qBEZTgmtPbjq8bZdzb1Q01CqXTE4+dhgSv2RpBTwO4Y H/gt4S4Hzxo132UJcehqu+vA2jfAGWVloimlFZW/b0265on0/2Y9V3sA+0BMe9YxyR 8rXef7Lsx2lA3kWuJd4cpXr58AnOQw2cB3ndQRbA=
- Feedback-id: n8vhQeMg8gcF_i4HjViOQAxa9T5VRuUA88GY-ziCDDzRPt_42LIJNlWJ9Md3T-Bnym1gjci_iPC0xIpBhEJnGQ==:Ext:ProtonMail
- In-reply-to: <161202155033.ZM5595@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <161202155033.ZM5595@torch.brasslantern.com>
- Reply-to: Sebastian Gniazdowski <psprint@xxxxxxxxxxxxxx>
Subject: localoptions, emulate -L, and top-level shell
Local Time: December 3, 2016 12:50 AM
UTC Time: December 2, 2016 11:50 PM
From: schaefer@xxxxxxxxxxxxxxxx
To: zsh-workers@xxxxxxx
I'm wondering whether "setopt localoptions", including via "emulate -L",
perhaps ought to at least grumble if its state changes from unset to set
at the top level of an interactive shell.
Can wait until after 5.3, obviously. Just thinking "aloud."
Just to mention that a little tool detecting option changes is possible – doing diff of options before and after a source of external code. Zplugin does that, one can detect what a plugin changes.
Best regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author