Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: quick bugfix for sticky-note
- X-seq: zsh-workers 47571
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: vapnik spaknik <vapniks@xxxxxxxxx>
- Subject: Re: quick bugfix for sticky-note
- Date: Mon, 16 Nov 2020 17:07:42 +0100
- Archived-at: <https://zsh.org/workers/47571>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2020-11/CAHYJk3Q0pAe1Wydc23232ieomGKLj6tP7R0x940oai_9ZpJb1w%40mail.gmail.com>
- Authentication-results: zsh.org; iprev=pass (mail-io1-f52.google.com) smtp.remote-ip=209.85.166.52; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none
- Cc: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, Zsh Hackers List <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=dEclrf3RHhzNfWA95z9ByWFjgD2+VZi76EyREhCpcHM=; b=obbEaknEgPmlubieNZqX+I6d7bGMaGvP/L8gmwz/9ebDgB6VFDOL2iBkCn0zdJqNRb lDXiaT0eZ1zC5OE+eDWh+4dJQqDNC1Ips6F1RJZk4Eao4SK/JF8R+YufIEGG9R/OdbUd 0ojL6X4BqixXdgfJ2aqtq3UlrZaT8tPzvUMwhuzWA1DoOzWp8H2PtV+8bsFbCmLdDTTZ 46808Rvc+Ng6ufw0KYMnPu6d3/6FgTEIKIhrXBp4vQrWWw1m0xDD75i+rSYArVyvK5V4 XQkbGsD4DgF1U3Gs4+YJ/4+kmr7MK31e5XTD6f/8YJ8c2ZA13JbHKEoYeotz0WdRvyYm mm9Q==
- In-reply-to: <1323867743.5803462.1605531976275@mail.yahoo.com>
- List-archive: <http://www.zsh.org/sympa/arc/zsh-workers>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-workers.zsh.org>
- List-owner: <mailto:zsh-workers-request@zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-workers>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-workers>
- References: <1177177665.5499794.1605395141729.ref@mail.yahoo.com> <1177177665.5499794.1605395141729@mail.yahoo.com> <CAH+w=7Zt+=TxrRk6VMCc+ew3XnZ1xdOsDX1a2jJ5EGMN6kMwZg@mail.gmail.com> <1323867743.5803462.1605531976275@mail.yahoo.com>
- Sender: zsh-workers-request@xxxxxxx
On 11/16/20, vapnik spaknik <vapniks@xxxxxxxxx> wrote:
>
>
>>On Sunday, November 15, 2020, 07:45:06 PM GMT, Bart Schaefer
>> <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
>>>On Sat, Nov 14, 2020 at 3:06 PM vapnik spaknik <vapniks@xxxxxxxxx> wrote:
>>>> a quick fix would be to just add 'noflowcontrol' to the 'setopt' line
>>>> near the start of the function.
>
>>Hm. The problem with that is that people who want flow control suddenly
>> lose it.
>
> Are you sure about that? In the documentation for emulate it says: "If the
> -L switch is given, the options LOCAL_OPTIONS, LOCAL_PATTERNS and
> LOCAL_TRAPS will be set as well, causing the effects of the emulate command
> and any setopt, disable -p or enable -p, and trap commands to be local to
> the immediately surrounding shell function, if any"
They would lose it while using this function.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author