zsh-workers
 help / color / mirror / code / Atom feed
From: Marlon Richert <marlon.richert@gmail.com>
To: Mikael Magnusson <mikachu@gmail.com>
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: [BUG] Shell option PRINT_EXIT_VALUE lost on function exit, even when LOCAL_OPTIONS is not set
Date: Fri, 25 Aug 2023 09:55:15 +0300	[thread overview]
Message-ID: <CAHLkEDvBz+ZQTgASGbzRbYQ-M8tnEm423RAqwUov1pKi6igJdw@mail.gmail.com> (raw)
In-Reply-To: <CAHYJk3SrHP0oKy_Kvc-5VpAwuK-8KjjzxFr2q7tDrAeWtkj46A@mail.gmail.com>

On Wed, Jul 12, 2023 at 4:05 PM Mikael Magnusson <mikachu@gmail.com> wrote:
>
> On 7/12/23, Marlon Richert <marlon.richert@gmail.com> wrote:
> > % print $ZSH_PATCHLEVEL
> > zsh-5.9-0-g73d3173
> > % setopt
> > interactive
> > monitor
> > norcs
> > shinstdin
> > zle
> > % () { setopt printexitvalue; setopt }
> > interactive
> > monitor
> > printexitvalue
> > norcs
> > shinstdin
> > zle
> > % setopt
> > interactive
> > monitor
> > norcs
> > shinstdin
> > zle
> > % setopt printexitvalue
> > % setopt
> > interactive
> > monitor
> > printexitvalue
> > norcs
> > shinstdin
> > zle
> > %
> >
> > Also, setopt should list it _after_ norcs, not before (presuming we
> > want it to list options alphabetically).
>
> options are sorted ignoring the "no" prefix.

Fair enough, but the rest of my bug report is still valid.


  reply	other threads:[~2023-08-25  6:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-12  7:54 Marlon Richert
2023-07-12 13:05 ` Mikael Magnusson
2023-08-25  6:55   ` Marlon Richert [this message]
2023-08-25  9:04     ` Lawrence Velázquez

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=CAHLkEDvBz+ZQTgASGbzRbYQ-M8tnEm423RAqwUov1pKi6igJdw@mail.gmail.com \
    --to=marlon.richert@gmail.com \
    --cc=mikachu@gmail.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).