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: Sat, 23 Jun 2012 00:38:12 -0400 Message-ID: References: <87vciss8q2.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1340426309 6523 80.91.229.3 (23 Jun 2012 04:38:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 23 Jun 2012 04:38:29 +0000 (UTC) Cc: 11718@debbugs.gnu.org To: michael_heerdegen@web.de Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 23 06:38:29 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 1SiI77-0005rR-9D for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2012 06:38:25 +0200 Original-Received: from localhost ([::1]:50579 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiI77-0002VI-6S for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2012 00:38:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiI74-0002VA-BR for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 00:38:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SiI72-0007SG-Q2 for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 00:38:21 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiI72-0007SA-MQ for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 00:38:20 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SiIAc-0005hf-2i for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 00:42:02 -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: Sat, 23 Jun 2012 04:42: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.134042651821913 (code B ref 11718); Sat, 23 Jun 2012 04:42:01 +0000 Original-Received: (at 11718) by debbugs.gnu.org; 23 Jun 2012 04:41:58 +0000 Original-Received: from localhost ([127.0.0.1]:53444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiIAY-0005hN-1A for submit@debbugs.gnu.org; Sat, 23 Jun 2012 00:41:58 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:41286) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiIAV-0005hG-RN for 11718@debbugs.gnu.org; Sat, 23 Jun 2012 00:41:56 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu09MCrYj/2dsb2JhbABEsEiDSYEIghUBAQQBViMFCws0EhQYDYhABboJjSaDHgOjM4FYgwU X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="191968502" Original-Received: from 76-10-182-35.dsl.teksavvy.com (HELO ceviche.home) ([76.10.182.35]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 23 Jun 2012 00:38:13 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 10553660C9; Sat, 23 Jun 2012 00:38:13 -0400 (EDT) In-Reply-To: <87vciss8q2.fsf@web.de> (Michael Heerdegen's message of "Fri, 15 Jun 2012 20:58:29 +0200") 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:61202 Archived-At: > I have a directory "~/Trash". If I eval > (let ((completion-ignore-case t)) > (all-completions "~/tra" 'read-file-name-internal > 'file-exists-p nil)) > in emacs -Q, I get > (#("trash/" 0 3 (face completions-common-part))) > Note the wrong lower case of the result. While not strictly wrong, it is indeed an undesirable result. I'll try and see how to fix it. > Not sure if this is really a bug, but, at least, this change in > behavior is documented nowhere, and it causes a completion bug in > Icicles. Sounds like it hits a real Icicles bug: there are rather few guarantees about the actual case of the returned string when completion-ignore-case is set. So while we do want to fix the problem, code should not assume anything about the particular case of the return string (which is only considered to be a "cosmetic" issue). Stefan