Closed srustamo closed 7 years ago
Looks like I have the old version of this file, still, could you please explain the old regex?
Dot followed by one of the extensions in the group is omitted. Works on log files too.
Why not use dired-omit-extensions
from diredx package, which you require on the top of the file?
It's more flexible, see dired-omit-regexp
function.
By default, dired-omit-extensions
seems to contain many extensions. Do you set this var to nil?
dired-omit-extensions is a variable defined in ‘dired-x.el’. Its value is (".o" "~" ".bin" ".lbin" ".so" ".a" ".ln" ".blg" ".bbl" ".elc" ".lof" ".glo" ".idx" ".lot" ".svn/" ".hg/" ".git/" ".bzr/" "CVS/" "_darcs/" "_MTN/" ".fmt" ".tfm" ".class" ".fas" ".lib" ".mem" ".x86f" ".sparcf" ".dfsl" ".pfsl" ".d64fsl" ".p64fsl" ".lx64fsl" ".lx32fsl" ".dx64fsl" ".dx32fsl" ".fx64fsl" ".fx32fsl" ".sx64fsl" ".sx32fsl" ".wx64fsl" ".wx32fsl" ".fasl" ".ufsl" ".fsl" ".dxl" ".lo" ".la" ".gmo" ".mo" ".toc" ".aux" ".cp" ".fn" ".ky" ".pg" ".tp" ".vr" ".cps" ".fns" ".kys" ".pgs" ".tps" ".vrs" ".pyc" ".pyo" ".idx" ".lof" ".lot" ".glo" ".blg" ".bbl" ".cp" ".cps" ".fn" ".fns" ".ky" ".kys" ".pg" ".pgs" ".tp" ".tps" ".vr" ".vrs")
dired-omit-files
completely overrides dired-omit-extensions
. I adjust dired-omit-files
to my personal use, e.g. I never have .vrs
files, I don't ignore them.
Thanks. Do you use ranger.el by any chance?
No.
I think I understand the intention of this regex below. It looks for for files in dired, which:
If it is so, it does not seem to work on `.log' files.
Is my understanding correct? Or does this regex do something else?