Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion bug in 4.3.4
- X-seq: zsh-workers 23837
- From: Peter Stephenson <pws@xxxxxxx>
- To: Peter Hosey <prh@xxxxxxxxxxx>, "Zsh Hackers' List" <zsh-workers@xxxxxxxxxx>
- Subject: Re: Completion bug in 4.3.4
- Date: Wed, 26 Sep 2007 16:20:28 +0100
- In-reply-to: <D48E05E3-EB9A-4364-A54A-002C74100DC8@xxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: CSR
- References: <D48E05E3-EB9A-4364-A54A-002C74100DC8@xxxxxxxxxxx>
On Tue, 11 Sep 2007 16:25:33 -0700
Peter Hosey <prh@xxxxxxxxxxx> wrote:
> I'm not subscribed, so please address replies directly to me.
>
> echo $ZSH_VERSION %/Volumes/RAM
> Disk/test(0)
> 4.3.4
> ___
> ls %/Volumes/RAM
> Disk/test(0)
> wordpress-tagline-field-nq8.png wordpress-tagline-field.png
> ___
> du -b tagline %/Volumes/RAM
> Disk/test(0)
> [I hit tab after “tagline”]
> du -b -wordpresstagline-field %/Volumes/RAM
> Disk/test(0)
>
> Notice the appearance of the first hyphen in the wrong position.
I can reproduce this, with the styles you sent, and I can vaguely see that
the struct cline list passed to cline_str in compresult.c is out of order
so that the function is inserting a "-" first, then the "worpress" chunk, etc.
However, that's already taken well over an hour and I currently haven't a
clue how it's got that way.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author