From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#11718: 24.1.50; `all-completions' returns results with wrong case Date: Sun, 24 Jun 2012 12:38:28 -0400 Message-ID: References: <87vciss8q2.fsf@web.de> <616F17401403488B8C5153C00AD86CBF@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1340555959 23414 80.91.229.3 (24 Jun 2012 16:39:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 24 Jun 2012 16:39:19 +0000 (UTC) Cc: michael_heerdegen@web.de, 11718@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 24 18:39:18 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SipqG-0007EB-Me for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Jun 2012 18:39:16 +0200 Original-Received: from localhost ([::1]:46907 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SipqG-0002rI-Mq for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Jun 2012 12:39:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SipqD-0002rB-O5 for bug-gnu-emacs@gnu.org; Sun, 24 Jun 2012 12:39:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SipqC-0005CX-5w for bug-gnu-emacs@gnu.org; Sun, 24 Jun 2012 12:39:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SipqC-0005CT-2P for bug-gnu-emacs@gnu.org; Sun, 24 Jun 2012 12:39:12 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Siptt-0001cJ-Tj for bug-gnu-emacs@gnu.org; Sun, 24 Jun 2012 12:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Jun 2012 16:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11718 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11718-submit@debbugs.gnu.org id=B11718.13405561446167 (code B ref 11718); Sun, 24 Jun 2012 16:43:01 +0000 Original-Received: (at 11718) by debbugs.gnu.org; 24 Jun 2012 16:42:24 +0000 Original-Received: from localhost ([127.0.0.1]:55327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiptH-0001bQ-LV for submit@debbugs.gnu.org; Sun, 24 Jun 2012 12:42:23 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:12481) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiptE-0001bH-A0 for 11718@debbugs.gnu.org; Sun, 24 Jun 2012 12:42:20 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu0/O+L+Q/2dsb2JhbABEsEiDSYEIghUBAQQBViMFCws0EhQYDSSIHAW6CZBEA6MzgViDBQ X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="192014911" Original-Received: from 206-248-191-144.dsl.teksavvy.com (HELO pastel.home) ([206.248.191.144]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 24 Jun 2012 12:38:29 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id A0C4152030; Sun, 24 Jun 2012 12:38:28 -0400 (EDT) In-Reply-To: (Drew Adams's message of "Sun, 24 Jun 2012 07:33:03 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61249 Archived-At: > 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