From: Alexey Tourbin <at@altlinux.ru>
To: zsh-workers@sunsite.dk
Subject: Re: bug: _store_cache and ksh arrays
Date: Tue, 19 Oct 2004 18:15:10 +0400 [thread overview]
Message-ID: <20041019141510.GN2017@solemn.turbinal.org> (raw)
In-Reply-To: <Pine.LNX.4.61.0410182150400.28361@toltec.zanshin.com>
[-- Attachment #1: Type: text/plain, Size: 974 bytes --]
On Mon, Oct 18, 2004 at 09:54:21PM -0700, Bart Schaefer wrote:
> _store_cache is meant to be called from the completion system functions,
> which are meant to execute only with the setopts in the $_comp_options
> array in effect. Nearly all functions in the completion system assume
> those settings and make no effort to work with arbitrary combinations of
> setopts.
Actually _comp_options neither set no unset KSH_TYPESET along with
MAGIC_EQUAL_SUBST. Hence the problem. Here is a patch.
Anyway I can't understand why "$var=( ${(kv@Pqq)^^var} )" should give
only one element for array with those options set.
--- zsh-4.2.1/Completion/compinit- 2004-08-13 10:22:16 +0000
+++ zsh-4.2.1/Completion/compinit 2004-10-19 14:06:27 +0000
@@ -145,6 +145,8 @@ _comp_options=(
NO_aliases
NO_errexit
NO_octalzeroes
+ NO_kshtypeset
+ NO_magicequalsubst
)
# And this one should be `eval'ed at the beginning of every entry point
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-10-19 14:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-19 2:48 Alexey Tourbin
2004-10-19 4:54 ` Bart Schaefer
2004-10-19 12:49 ` Alexey Tourbin
2004-10-19 14:15 ` Alexey Tourbin [this message]
2004-10-22 15:44 ` 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=20041019141510.GN2017@solemn.turbinal.org \
--to=at@altlinux.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).