Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Augmenting a Sticky Emulation Mode
- X-seq: zsh-workers 31360
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Russell Harmon <russ@xxxxxxxxxxxxxx>, zsh-workers@xxxxxxx
- Subject: Re: Augmenting a Sticky Emulation Mode
- Date: Mon, 29 Apr 2013 11:47:56 -0700
- In-reply-to: <130429111141.ZM16086@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: <CA+zrezRfVDfTHYMMj2HpeyrUJvyuTQ=p+PL0tV6u3hcZ1nOfAw@mail.gmail.com> <130426180127.ZM18989@torch.brasslantern.com> <CA+zrezROkjsD5mum5TCZ02h5Z+MTWiHC59cyuAyt1J0xpgUG+g@mail.gmail.com> <CA+zrezTCVO58URokScwT45VHa_MkgpvnEuNbvzB+Uk97+WpQRQ@mail.gmail.com> <20130429094700.6c8db4a9@pwslap01u.europe.root.pri> <CA+zrezT4Xn6sUPciVd=6m2M=gfTavnA8MzcjL11AzxmAGUfowA@mail.gmail.com> <CA+zrezS4X+=rkp42WWqcYC3eFZL95DgPHmKkGaEJj+R6ZB2BNg@mail.gmail.com> <130429111141.ZM16086@torch.brasslantern.com>
On Apr 29, 11:11am, Bart Schaefer wrote:
} Subject: Re: Augmenting a Sticky Emulation Mode
}
} [Re-routing to -workers]
}
} Hmm, this may be a real bug. I don't see exactly this with a fresh
} build on MacOS, but I do see something a little funny.
OK, I found the problem, but I don't know what to do to fix it.
It's the "no" prefix.
macadamia<506> emulate -R sh -o noshglob -c 'foo() { setopt; }'; foo
interactive
longlistjobs
monitor
shinstdin
macadamia<509> emulate -R sh +o shglob -c 'foo() { setopt; }'; foo
interactive
monitor
noshglob
shinstdin
The -o option to emulate doesn't know how to invert an option when the
"no" is put in front of it, and ends up treating it as the positive of
something else, probably garbage in the data structure.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author