zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@zsh.org
Subject: Re: Case-insensitive completion with partial substring matching
Date: Sat, 07 Jun 2014 12:30:06 -0700	[thread overview]
Message-ID: <140607123006.ZM25086@torch.brasslantern.com> (raw)
In-Reply-To: <E8AF8725-DB8D-4B77-B914-B9823429614E@laposte.net>

On Jun 7,  8:00pm, nicolas.canceill wrote:
}
} Are you saying I should file a bug with Zsh about that?

You already did, just by sending your first message.

} If you think I can assist in debugging, maybe you could help me find
} the relevant portions of the Zsh code?

Well, it's all in Src/Zle/compmatch.c, and it probably has something to
do with the functions bld_line, pattern_match_equivalence, or join_sub,
but there'll be a pretty steep learning curve.  Dive in, if brave ...

I also recommend testing with the ":" command or anything for which there
is no complicated completion function defined; using "less" for example
generates a lot of extra irrelevant passes through the completion code.


  reply	other threads:[~2014-06-07 19:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-07 15:12 nicolas.canceill
2014-06-07 17:54 ` Bart Schaefer
2014-06-07 18:00   ` nicolas.canceill
2014-06-07 19:30     ` Bart Schaefer [this message]
2014-06-07 20:39       ` nicolas.canceill
2014-06-07 21:02         ` Bart Schaefer

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=140607123006.ZM25086@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /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).