helm-find-files is not filtering boring files

790 views
Skip to first unread message

Rajendran Thirupugalsamy

unread,
Sep 13, 2013, 4:17:11 PM9/13/13
to emacs...@googlegroups.com
Thanks for providing the wonderful helm package. It simplifies many of my day-to-day activities in emacs.

I had one question. Is there a way in helm-find-files to skip(or show at end) files matching a pattern.
Any files starting with '.', I want not appear at top of list.
I tried changing helm-boring-file-regexp-list & helm-boring-buffer-regexp-list, I don't think these are related to helm-find-files.

I also tried running ./emacs-helm.sh so that my other packages are creating issue.

I have '.git' directories & '.filename~' backup files, I dont want to see in helm-find-files list.
Is there any other function that does this.

Thanks
Rajendran

Thierry Volpiatto

unread,
Sep 14, 2013, 1:27:34 AM9/14/13
to Rajendran Thirupugalsamy, emacs...@googlegroups.com
Rajendran Thirupugalsamy <rajendran....@gmail.com> writes:

> Thanks for providing the wonderful helm package. It simplifies many of my
> day-to-day activities in emacs.

Thanks.

> I had one question. Is there a way in helm-find-files to skip(or show at
> end) files matching a pattern.
> Any files starting with '.', I want not appear at top of list.

This will never happen, for some reason we have to keep the '.' and '..'
on top of list, otherwise the tramp and Windows compatibilities become a
headhache.

> I tried changing helm-boring-file-regexp-list &
> helm-boring-buffer-regexp-list, I don't think these are related to
> helm-find-files.

No, they are not related at this time, this is a design choice,
helm-find-files allow you to see all files in your directories.

> I also tried running ./emacs-helm.sh so that my other packages are creating
> issue.
>
> I have '.git' directories & '.filename~' backup files, I dont want to see
> in helm-find-files list.

I will try to add an option to allow user hiding some kind of files of
its choice (like helm-boring-file-regexp-list).
BTW, you should use a backup directory for your backup files, here some
settings:


(setq backup-directory-alist '(("" . "~/.emacs.d/emacs_backup"))
backup-by-copying t
version-control t
kept-old-versions 2
kept-new-versions 20
delete-old-versions t)
(setq tramp-backup-directory-alist backup-directory-alist)
(setq auto-save-file-name-transforms nil)

> Is there any other function that does this.
>
> Thanks
> Rajendran

--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997

Thierry Volpiatto

unread,
Sep 14, 2013, 2:25:09 AM9/14/13
to Rajendran Thirupugalsamy, emacs...@googlegroups.com
You can use now `helm-ff-skip-boring-files' (customize it to 't').

Rajendran Thirupugalsamy

unread,
Sep 14, 2013, 4:55:09 PM9/14/13
to emacs...@googlegroups.com, Rajendran Thirupugalsamy
Thanks Thierry for the immediate fix.

I tried. It works fine if I use from emacs-helm.sh
Looks like my other config is conflicting somehow. Will try & find out.

Thanks for your config on backup files. Will try them as well.
Currently I use below method for naming backup files.
http://michaelspeer.knome.net/2008/03/hidden-backup-files-with-emacs.html

Rajendran Thirupugalsamy

unread,
Sep 15, 2013, 2:13:13 AM9/15/13
to emacs...@googlegroups.com, Rajendran Thirupugalsamy
I am able to get it working after following the helm config from emacs-helm.sh
Reply all
Reply to author
Forward
0 new messages