Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Fun with zsh (Re: Associative array ordering (Re: Example function))
- X-seq: zsh-workers 5184
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Fun with zsh (Re: Associative array ordering (Re: Example function))
- Date: Tue, 2 Feb 1999 18:19:23 +0100 (MET)
- In-reply-to: "Bart Schaefer"'s message of Tue, 2 Feb 1999 08:54:15 -0800
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
> Following application of your patch, using 3.1.5-pws-6 zsh -f,
>
> zsh% foo=('(I*)<TAB>
>
> only feeps, but
>
> zsh% foo(
> array> '(I*)<TAB>
>
> autolists the entire contents of the current directory.
>
> This is the same as the 3.0.5 behavior, but it still seems odd to me.
It is, but it's hard to fix. In the first case the lexer reports the
whole string (`(I*)x', the `x' was added by the completion code) as a
string token. In the second case it reports the tokens for the `(' and
so on separately. I'll have a deeper look into this, but not today, I
think.
> BTW, while fooling with this, I discovered that autolist output is not
> properly cleared when M-x is the next thing typed (execute-named-cmd).
Hm. With `execute-named-cmd' I see the list being pushed one line down
and the prompt appearing above it. But with C-r and C-s I see the list
being partly overwritten by the prompt.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author