--- Begin Message ---
Subject: |
25.0.94; Directories in completion-ignored-extensions not ignored |
Date: |
Fri, 27 May 2016 15:32:07 +0300 |
Evaluate something like
(file-name-all-completions "" "~/.emacs.d/")
On my machine, this returns a list which includes ".git/". It should
not, however, because ".git/" is in completion-ignored-extensions.
Not 100% sure it's supposed to work, because it seems broken at least
since 24.2 (maybe longer).
in GNU Emacs 25.0.94.2 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
of 2016-05-25 built on axl
Repository revision: 897fb6fa49d5ffc85f0a796e7414a43ef05ad096
Windowing system distributor 'The X.Org Foundation', version 11.0.11803000
System Description: Ubuntu 16.04 LTS
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#23631: 25.0.94; Directories in completion-ignored-extensions not ignored |
Date: |
Fri, 27 May 2016 16:53:25 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 |
On 05/27/2016 04:11 PM, Eli Zaretskii wrote:
This works as designed: completion-ignored-extensions only affects
file-name-completion, but not file-name-all-completions. I've just
pushed a fix for the doc string of file-name-all-completions.
I see, thanks!
(The
ELisp manual correctly says that the variable has no effect in your
case.)
That kind of illustrates the problem of divergence between different
kinds of documentation.
--- End Message ---