From: Eli Barzilay <eli@barzilay.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 4219@emacsbugs.donarmstrong.com
Subject: bug#4219: 23.1; case insensitive + partial completions
Date: Mon, 14 Sep 2009 01:55:24 -0400 [thread overview]
Message-ID: <19117.56012.602721.600489@winooski.ccs.neu.edu> (raw)
In-Reply-To: <jwveiqafbhk.fsf-monnier+emacsbugreports@gnu.org>
On Sep 13, Stefan Monnier wrote:
> >>>>> "Eli" == Eli Barzilay <eli@barzilay.org> writes:
>
> > INSTALL
> > install-sh
>
> > Hit `C-x C-f ins TAB' -- it will be completed to "insTALL".
>
> I think the patch below will help out. You may still get such
> inconsistent results in different parts of a completion
> (e.g. completing "fo-ba" against "FOO-BAR" and "foo-bar" may return
> "FOO-bar"), but at least the above case should be handled better.
I had a hacked version of `PC-do-completion' which worked until v23
came out that did a proper case-insensitive match. In my version I'd
never get "FOO-bar" for the above. Would it help to look at it?
(It's been a while since I did it, and all I have a single comment at
the top of that change saying: "If there are possibility prefixes that
match the basestr exactly then replace the basestr part of prefix by
the apropriate one". So I'm not sure if this can be helpful or not.)
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!
next prev parent reply other threads:[~2009-09-14 5:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-21 2:49 bug#4219: 23.1; case insensitive + partial completions Eli Barzilay
2009-09-14 3:35 ` Stefan Monnier
2009-09-14 5:55 ` Eli Barzilay [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-09-12 1:23 Chong Yidong
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=19117.56012.602721.600489@winooski.ccs.neu.edu \
--to=eli@barzilay.org \
--cc=4219@emacsbugs.donarmstrong.com \
--cc=monnier@iro.umontreal.ca \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.