GNU bug report logs - #23631
25.0.94; Directories in completion-ignored-extensions not ignored

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Fri, 27 May 2016 12:33:02 UTC

Severity: normal

Found in version 25.0.94

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


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

From: thierry <thierry.volpiatto <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#23631: 25.0.94; Directories in completion-ignored-extensions
 not ignored
Date: Fri, 27 May 2016 14:51:56 +0200
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
> 
> 
> 
> 






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

Previous Next


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