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 11:48:38 -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 1340466564 31489 80.91.229.3 (23 Jun 2012 15:49:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 23 Jun 2012 15:49:24 +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 Sat Jun 23 17:49:23 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 1SiSaQ-0005Mo-BC for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2012 17:49:22 +0200 Original-Received: from localhost ([::1]:47927 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiSaQ-0003YZ-CO for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2012 11:49:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52746) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiSaN-0003YT-Qm for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 11:49:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SiSaM-0008EI-3J for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 11:49:19 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiSaM-0008ED-05 for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 11:49:18 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SiSdx-0006ff-Qm for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 11:53: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: Sat, 23 Jun 2012 15:53: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.134046674625603 (code B ref 11718); Sat, 23 Jun 2012 15:53:01 +0000 Original-Received: (at 11718) by debbugs.gnu.org; 23 Jun 2012 15:52:26 +0000 Original-Received: from localhost ([127.0.0.1]:54129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiSdO-0006et-15 for submit@debbugs.gnu.org; Sat, 23 Jun 2012 11:52:26 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:34409) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiSdM-0006en-T7 for 11718@debbugs.gnu.org; Sat, 23 Jun 2012 11:52:25 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu09FxLSN/2dsb2JhbABEsEiDSYEIghUBAQQBViMFCws0EhQYDSSIHAW6CZBEA6MzgViDBQ X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="191982902" Original-Received: from 69-196-180-141.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.141]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 23 Jun 2012 11:48:39 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id D168B58DC2; Sat, 23 Jun 2012 11:48:38 -0400 (EDT) In-Reply-To: (Drew Adams's message of "Sat, 23 Jun 2012 07:18:00 -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:61221 Archived-At: > But is it not the case that `completing-read' should return an actual > completion candidate (or a string copy, but with the same case at > least)? Usually, yes, but when quoting is involved, this is not so clear. If the user typed C-x C-f $TMP/to TAB she liked "$TMP" so Emacs should not replace it with "/var/private-tmp-f71dbe52628a3f83a77ab494817525c6/Total" but with "$TMP/Total". IOW some of the result should come from the user's input and some of it from the completion table. It's already difficult for Emacs to figure out that "tal" is what was added, so currently it doesn't try to see that "/to" was changed into "/To" and that this change is not a form of quoting and should hence be reflected in the user's input. Stefan