From: "香川 亘" <wkagawa@jota.gsc.riken.go.jp>
To: zsh-workers@sunsite.dk
Subject: Minor bugs in _unsetopt and _main_complete ?
Date: Fri, 10 Dec 2004 11:25:53 +0900 [thread overview]
Message-ID: <D0867C35-4A52-11D9-A8CE-000A95A6799C@jota.gsc.riken.go.jp> (raw)
While trying to configure the setopt and unsetopt commands to complete
only unset and set options, respectively, I think I found some bugs in
the _unsetopt and _main_complete functions.
In _unsetopt, "_options_set || _options" should be,
_options_unset || _options
and in _main_complete,
_options_set=(${(k)options[(R)on]})
_options_unset=(${(k)options[(R)off]})
should be,
_options_set=(${(k)options[(R)off]})
_options_unset=(${(k)options[(R)on]})
I am wondering if the CVS versions should include this fix.
Wataru Kagawa, Ph. D.
Postdoctoral Researcher
Protein Research Group
RIKEN (Physical and Chemical Research Institute)
W221, West Research Bldg.
1-7-22 Suehiro-cho, Tsurumi-ku
Yokohama, Japan 230-0045
tel. 045-503-9206
fax. 045-503-9201
next reply other threads:[~2004-12-10 2:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-10 2:25 香川 亘 [this message]
2005-01-08 18:16 ` Wayne Davison
2005-01-11 5:38 ` Wataru Kagawa
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=D0867C35-4A52-11D9-A8CE-000A95A6799C@jota.gsc.riken.go.jp \
--to=wkagawa@jota.gsc.riken.go.jp \
--cc=zsh-workers@sunsite.dk \
/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).