GNU bug report logs - #11718
24.1.50; `all-completions' returns results with wrong case

Previous Next

Package: emacs;

Reported by: michael_heerdegen <at> web.de

Date: Fri, 15 Jun 2012 19:00:02 UTC

Severity: normal

Tags: fixed

Found in versions 24.1.50, 24.3

Fixed in version 24.4

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: michael_heerdegen <at> web.de, 11718 <at> debbugs.gnu.org
Subject: Re: bug#11718: 24.1.50;
	`all-completions' returns results with wrong case
Date: Sat, 23 Jun 2012 11:48:38 -0400
> 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




This bug report was last modified 8 years and 319 days ago.

Previous Next


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