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 #38 received at 11718 <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 11718 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#11718: 24.1.50;
	`all-completions' returns results with wrong case
Date: Tue, 26 Jun 2012 04:17:54 +0200
Hello Stefan,

> And what I'm saying is that a completion table which handles quoting
> such as read-file-name-internal returns file names which are partly
> taken from the completion input and partly from the file-system.

I'm still learning how that completion table stuff is working.

I think, since Icicles doesn't respect quoting all the time anyway, we
should suffice with this completion table:

(completion-table-in-turn #'completion--embedded-envvar-table
                          #'completion-file-name-table)  ; not: completion--file-name-table

which would circumvent the problem.

But I have another question:

(all-completions "/usr/share/emacs/24.1.50/lisp/$HO"
                 #'completion--embedded-envvar-table)

returns ("HOME").  What I would expect is ("$HOME").  Is this a bug?  If
not, is there a way to get ("$HOME")?


Thank you for your patience,

Michael.




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.