From: thierry <thierry.volpiatto@gmail.com>
To: 23631@debbugs.gnu.org
Subject: bug#23631: 25.0.94; Directories in completion-ignored-extensions not ignored
Date: Fri, 27 May 2016 14:51:56 +0200 [thread overview]
Message-ID: <ni9ftd$t6p$1@ger.gmane.org> (raw)
In-Reply-To: <86inxzvfzs.fsf@yandex.ru>
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
>
>
>
>
next prev parent reply other threads:[~2016-05-27 12:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-27 12:32 bug#23631: 25.0.94; Directories in completion-ignored-extensions not ignored Dmitry Gutov
2016-05-27 12:51 ` thierry [this message]
2016-05-27 12:58 ` Dmitry Gutov
2016-05-27 13:05 ` Thierry Volpiatto
2016-05-27 13:11 ` Eli Zaretskii
2016-05-27 13:53 ` Dmitry Gutov
2016-05-27 14:06 ` Eli Zaretskii
2016-05-27 15:48 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ni9ftd$t6p$1@ger.gmane.org' \
--to=thierry.volpiatto@gmail.com \
--cc=23631@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.