zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: vapnik spaknik <vapniks@yahoo.com>
Cc: Bart Schaefer <schaefer@brasslantern.com>,
	Zsh Hackers List <zsh-workers@zsh.org>
Subject: Re: quick bugfix for sticky-note
Date: Mon, 16 Nov 2020 17:07:42 +0100	[thread overview]
Message-ID: <CAHYJk3Q0pAe1Wydc23232ieomGKLj6tP7R0x940oai_9ZpJb1w@mail.gmail.com> (raw)
In-Reply-To: <1323867743.5803462.1605531976275@mail.yahoo.com>

On 11/16/20, vapnik spaknik <vapniks@yahoo.com> wrote:
>
>
>>On Sunday, November 15, 2020, 07:45:06 PM GMT, Bart Schaefer
>> <schaefer@brasslantern.com> wrote:
>
>>>On Sat, Nov 14, 2020 at 3:06 PM vapnik spaknik <vapniks@yahoo.com> 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


      reply	other threads:[~2020-11-16 16:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1177177665.5499794.1605395141729.ref@mail.yahoo.com>
2020-11-14 23:05 ` vapnik spaknik
2020-11-15 19:44   ` Bart Schaefer
2020-11-15 20:29     ` Peter Stephenson
2020-11-16 13:06     ` vapnik spaknik
2020-11-16 16:07       ` Mikael Magnusson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHYJk3Q0pAe1Wydc23232ieomGKLj6tP7R0x940oai_9ZpJb1w@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=schaefer@brasslantern.com \
    --cc=vapniks@yahoo.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).