GNU bug report logs - #14175
24.3.50; Bad completion behavior with read-file-name-completion-ignore-case t

Previous Next

Package: emacs;

Reported by: michael_heerdegen <at> web.de

Date: Wed, 10 Apr 2013 20:32:01 UTC

Severity: normal

Tags: moreinfo

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 14175 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 14175 <at> debbugs.gnu.org
Subject: Re: bug#14175: 24.3.50;
	Bad completion behavior with read-file-name-completion-ignore-case t
Date: Fri, 12 Apr 2013 13:40:13 -0400
> When you hit TAB the second time, this call in
> `completion--nth-completion' changes the result from ("download/"
> "Downloads/") to ("Download/" "Downloads/"):

>    (if requote
>         (funcall requote result n)
>       result)

Hmmm........

Indeed we have a problem.  Usually "completion-ignore-case" as you
expect means "feel free to change my input's case to match the
completions".  But the "quote/requote" thingy generally tries to
preserve the user's input (e.g. so as to keep $HOME rather than replace
it with /home/monnier), which is why here it also preserves the
user's case.

Not sure yet how best to fix this bug.


        Stefan




This bug report was last modified 3 years and 327 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.