[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23631: 25.0.94; Directories in completion-ignored-extensions not ign
From: |
thierry |
Subject: |
bug#23631: 25.0.94; Directories in completion-ignored-extensions not ignored |
Date: |
Fri, 27 May 2016 14:51:56 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
Le 27/05/2016 14:32, Dmitry Gutov a écrit :
> 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).
I don't think it's supposed to filter ignored extensions, if is was the
case how one can list all the files in a directory using e.g
directory-files-recursively ?
IMO the filtering should happen (or not) in the application that use
file-name-all-completions.
I would be annoyed in my own applications if you modify
file-name-all-completion to handle ignored extensions.
So please don't do that.
Thanks.
> 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
>
>
>
>