From: Andrey Borzenkov <arvidjaar@newmail.ru>
To: zsh-workers@sunsite.dk
Subject: set - $foo resets set -x
Date: Tue, 19 Sep 2006 20:23:06 +0400 [thread overview]
Message-ID: <200609192023.06736.arvidjaar@newmail.ru> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Well, specifically debugging completion functions you do not actually have
control over it; functions just appear to return out of the middle without
any apparent reason.
It looks intentional:
/* Obsolescent sh compatibility: set - is the same as set +xv *
* and set - args is the same as set +xv -- args */
if (*args && **args == '-' && !args[0][1]) {
dosetopt(VERBOSE, 0, 0);
dosetopt(XTRACE, 0, 0);
if (!args[1])
return 0;
}
Anyone remembers the reasons for that? May be we can at least relax it if
running in emulate zsh mode?
- -andrey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFEBlqR6LMutpd94wRAuFZAJ9chUUsudM6P+tygd3Vc0WJf4UOoQCfZcid
tTH42YOo9iY1UML8TdDZgWs=
=XjoF
-----END PGP SIGNATURE-----
next reply other threads:[~2006-09-19 16:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-19 16:23 Andrey Borzenkov [this message]
2006-09-19 16:54 ` Peter Stephenson
2006-09-20 4:52 ` Bart Schaefer
2006-09-20 15:40 ` Andrey Borzenkov
2006-09-20 16:04 ` Bart Schaefer
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=200609192023.06736.arvidjaar@newmail.ru \
--to=arvidjaar@newmail.ru \
--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).