Subject: bug#11718: 24.1.50; `all-completions' returns results with wrong case

From: Stefan Monnier <[email-masked]>
Date: Tue, 26 Jun 2012 09:06:00 -0400

> (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?

No, it's a choice in completion--embedded-envvar-table.

> If not, is there a way to get ("$HOME")?

Sure.  Take completion--embedded-envvar-table and change it to add the
$ in front of its output and to subtract 1 from the `boundaries'
it returns.

        Stefan