From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: odd completion behavior
Date: Wed, 15 Sep 1999 10:27:01 +0200 (MET DST) [thread overview]
Message-ID: <199909150827.KAA30649@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Clint Adams's message of Tue, 14 Sep 1999 14:38:45 -0400
Clint Adams wrote:
> pws-4:
>
> zsh 5 % a2ps --pretty-print=
> _main_complete: bad pattern: (\M-T^Q^HPs^T@^P [92]
> zsh 5 % a2ps --pretty-print=
> _main_complete: bad pattern: (\n1^HPs^T@^P [92]
> zsh 5 % a2ps --pretty-print=
> _main_complete: bad set of key/value pairs for associative array [92]
> zsh 5 %
>
> These were achieved by typing a2ps --pre<TAB to complete until the =>
> then between 3 to 40 TABs until the error occurred.
>
> Anyone know what's going on here?
No and I can't reproduce it. Can you get this error with `zsh -f' or
could you tell us more about your environment?
The error message irritates me because line 92 in `_main_complete' is
just `_lastcomp=( "${(@kv)compstate}" )' and the error message is only
emitted if the number of elements in the `(...)' is odd (err, an odd
number of...). And `${(kv)foo}' should never give an odd number of
strings for an associative array, I think.
And what's that `bad pattern' message, there is no pattern. Hm.
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~1999-09-15 8:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-15 8:27 Sven Wischnowsky [this message]
1999-09-15 14:08 ` Clint Adams
-- strict thread matches above, loose matches on Subject: below --
1999-09-20 11:49 Sven Wischnowsky
1999-09-20 21:12 ` Clint Adams
1999-09-17 11:01 Sven Wischnowsky
1999-09-18 21:43 ` Bart Schaefer
1999-09-14 18:38 Clint Adams
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=199909150827.KAA30649@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.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).