zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: Peter Hosey <prh@boredzo.org>,
	"Zsh Hackers' List" <zsh-workers@sunsite.dk>
Subject: Re: Completion bug in 4.3.4
Date: Wed, 26 Sep 2007 16:20:28 +0100	[thread overview]
Message-ID: <20070926162028.40cac8d5@news01> (raw)
In-Reply-To: <D48E05E3-EB9A-4364-A54A-002C74100DC8@boredzo.org>

On Tue, 11 Sep 2007 16:25:33 -0700
Peter Hosey <prh@boredzo.org> 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@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


      parent reply	other threads:[~2007-09-26 15:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-11 23:25 Peter Hosey
2007-09-13 16:56 ` Peter Stephenson
2007-09-13 17:18   ` Peter Hosey
2007-09-26 15:20 ` Peter Stephenson [this message]

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=20070926162028.40cac8d5@news01 \
    --to=pws@csr.com \
    --cc=prh@boredzo.org \
    --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).