From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: michael_heerdegen@web.de, 11718@debbugs.gnu.org
Subject: bug#11718: 24.1.50; `all-completions' returns results with wrong case
Date: Sun, 24 Jun 2012 12:38:28 -0400 [thread overview]
Message-ID: <jwvvcig7jpt.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CEFC4A8F192743BBBD9AB471BBEC9046@us.oracle.com> (Drew Adams's message of "Sun, 24 Jun 2012 07:33:03 -0700")
> I did hear you say clearly that you want to fix the problem.
Yes.
> But I also (apparently mis-) heard you saying that code should not expect the
> case of the return string to correspond to the completions provided by the
> COLLECTION arg. It sounded like your position might be that all bets are off
> wrt the result.
The problem here is that you misunderstand what is the COLLECTION
argument in the case at hand. It is *not* a table that completes
filenames as they exist in the file-system. If you want that, then use
completion-file-name-table. `read-file-name-internal' is a completion
table that does other things to handle substitute-in-file-name rewrite
(i.e. typically env-var expansion, $$-quoting, // and ~/ truncation);
part of that makes it that you should not put too much faith in the case
of the returned string.
Stefan
next prev parent reply other threads:[~2012-06-24 16:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-15 18:58 bug#11718: 24.1.50; `all-completions' returns results with wrong case Michael Heerdegen
2012-06-23 4:38 ` Stefan Monnier
2012-06-23 14:18 ` Drew Adams
2012-06-23 15:48 ` Stefan Monnier
2012-06-23 21:01 ` Drew Adams
2012-06-24 4:38 ` Stefan Monnier
2012-06-24 14:33 ` Drew Adams
2012-06-24 16:38 ` Stefan Monnier [this message]
2012-06-24 20:20 ` Drew Adams
2012-06-25 1:38 ` Stefan Monnier
2012-06-26 2:17 ` Michael Heerdegen
2012-06-26 13:06 ` Stefan Monnier
2012-06-23 19:51 ` Michael Heerdegen
2016-07-08 23:17 ` npostavs
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=jwvvcig7jpt.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=11718@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
--cc=michael_heerdegen@web.de \
/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.