From: "Mikael Magnusson" <mikachu@gmail.com>
To: "Peter Stephenson" <p.w.stephenson@ntlworld.com>
Cc: "Zsh hackers list" <zsh-workers@sunsite.dk>
Subject: Re: PATCH: rewrite of completion matching
Date: Tue, 10 Jun 2008 19:48:20 +0200 [thread overview]
Message-ID: <237967ef0806101048q1799b1bfm32dde7d57a8ae9bb@mail.gmail.com> (raw)
In-Reply-To: <200806081755.m58Htsbm003877@pws-pc.ntlworld.com>
2008/6/8 Peter Stephenson <p.w.stephenson@ntlworld.com>:
> 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
next prev parent reply other threads:[~2008-06-10 17:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-08 17:55 Peter Stephenson
2008-06-10 17:48 ` Mikael Magnusson [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-06-07 20:34 Peter Stephenson
2008-06-16 7:17 ` Bart Schaefer
2008-06-16 12:54 ` Peter Stephenson
2008-06-16 15:30 ` Bart Schaefer
2008-06-16 16:52 ` Peter Stephenson
2008-06-16 17:49 ` Bart Schaefer
2008-06-17 9:06 ` Peter Stephenson
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=237967ef0806101048q1799b1bfm32dde7d57a8ae9bb@mail.gmail.com \
--to=mikachu@gmail.com \
--cc=p.w.stephenson@ntlworld.com \
--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).