Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: rewrite of completion matching
- X-seq: zsh-workers 25146
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: "Peter Stephenson" <p.w.stephenson@xxxxxxxxxxxx>
- Subject: Re: PATCH: rewrite of completion matching
- Date: Tue, 10 Jun 2008 19:48:20 +0200
- Cc: "Zsh hackers list" <zsh-workers@xxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=G4dFSBiJyIi/fz754CzKWvbKM59iGn0zlzbA3atIKzo=; b=X/DNuH8ujzP4D8tqVZgjnIKte9GnWnpFdI1CdtWwGqfmejtfQ/RYyiuW+FlKjUpCoI d2qWjlx9qq7rwVnN788YmewIsCGcKSLcmVinOxzsLbUkFuqXhEk36OmEpSGzLJbBMdCZ 1if+FdHx41giYOzecus7UNYCZP+MMevibQEUM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=tKt3NsOJYcakO3sWIi9Z3Ur5aBzYX1EIemOaopq3lLbde6vYxLRsJIi4FM3K5GP/is UvuVoxV8Xhmu0HMgjALjIRNA2xLmWUJD/yPBRXdoS3mQ1Otf6wmq7ZNkC5H25zEiWsCJ KJTkTTuLjyFMvNKreZx8FfKpGMRs9H4D7psNs=
- In-reply-to: <200806081755.m58Htsbm003877@xxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <p.w.stephenson@xxxxxxxxxxxx> <200806081755.m58Htsbm003877@xxxxxxxxxxxxxxxxxxx>
2008/6/8 Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>:
> Peter Stephenson wrote:
>> This is the long-hoped-for rewrite of the completion matching code so as
>> to handle arbitary characters instead of just a set of 256 single-byte
>> characters. However, this is only half the story: I have not modified
>> it to use wide characters yet, so it won't work with multibyte character
>> sets.
>
> This hasn't appeared, so apparently the mailing list is stuck. Just
> in case it's now unstuck with backed up retries: I've now committed
> this.
This makes "man git<tab>" not crash,
% man gitzsh: symbol lookup error:
/usr/local/lib/zsh/4.3.6-dev-0/zsh/computil.so: undefined symbol:
pattern_match_equivalence
diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c
index 93e0049..42bca78 100644
--- a/Src/Zle/compmatch.c
+++ b/Src/Zle/compmatch.c
@@ -1199,7 +1199,7 @@ pattern_match1(Cpattern p, int c, int *mtp)
* Only makes sense if lp->tp == CPAT_EQUIV and the (unseen) word
* pattern also has that type.
*/
-static int
+mod_export int
pattern_match_equivalence(Cpattern lp, int wind, int wmtp, int wchr)
{
int lchr, lmtp;
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author