Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Escaping of : in a _describe completion
- X-seq: zsh-users 14037
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: [PATCH] Escaping of : in a _describe completion
- Date: Wed, 15 Apr 2009 18:46:20 +0100
- In-reply-to: <200904121810.10130.arvidjaar@xxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20090411020319.GF4047@xxxxxxxxxxxxxxxxxxx> <200904111231.12449.arvidjaar@xxxxxxxxx> <20090411092200.GD11551@xxxxxxxxxxxxxxxxxxx> <200904121810.10130.arvidjaar@xxxxxxxxx>
On Sun, 12 Apr 2009 18:09:49 +0400
Andrey Borzenkov <arvidjaar@xxxxxxxxx> wrote:
> On Saturday 11 of April 2009 13:22:00 Frank Blendinger wrote:
>
> > Could I get my old behaviour somehow, with a menu of my etherwake
> > completion showing up after the second <Tab>?
> >
>
> Please try if attached patch helps (and does not break something else).
> I do not claim to understand how quoting is actually handled by
> completion but at least compdescribe does remove backslashes and compadd
> does not seem to.
>
> I'd like to get final word from Peter before committing this. Also some
> more clear statement in manual is needed.
Probably ought to be unquoting backslashes rather than removing them
completely; something like replacing \\(#b)(?) with $match[1], I
suppose. Otherwise, if it works and nobody's spotted any side effects
yet we probably just need to try it.
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author