Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignored extensions #11

Open
purcell opened this issue Dec 14, 2020 · 2 comments
Open

Ignored extensions #11

purcell opened this issue Dec 14, 2020 · 2 comments

Comments

@purcell
Copy link
Owner

purcell commented Dec 14, 2020

Reported by email:


I have an issue with font locking ignored files in Dired. If I understand
correctly, the function diredfl-match-ignored-extensions takes the extensions
for ignored files from dired-omit-extensions and
completion-ignored-extensions. The former is set in dired-x to
completion-ignored-extensions, dired-latex-unclean-extensions,
dired-bibtex-unclean-extensions, and dired-texinfo-unclean-extensions.

I have a number of extra extensions that I add to these variables. (E.g.,
Beamer adds a lot of auxiliary files.) I modified both
completion-ignored-extensions and dired-latex-unclean-extensions.
Extensions that are added to the former are fontified correctly, but extensions
added to dired-latex-unclean-extensions and dired-bibtex-unclean-extensions
are not, even though C-h v shows these variables with my modifications. So I
suspect there is a problem with diredf not picking up the modified
dired-omit-extensions variable from dired-x; it fontifies according to the
default values of the variables.

I load both dired-x and diredfl with use-package, and for diredfl I have :after
(dired-x), but it makes no difference. How can I make sure that diredfl
fontifies file names according to the modified value of the
dired-omit-extensions variable?

As a typical LaTex/Beamer/BibTeX session creates lots of temporary files, it
would be useful if all these files got fontified with the
diredfl-ignored-file-name face. I find diredfl very useful in helping me find
the files I want quickly in a Dired buffer.

@xeruf
Copy link

xeruf commented Oct 28, 2021

I have the same issue but with diredfl-compressed-extensions :/

@xeruf
Copy link

xeruf commented Oct 28, 2021

Nevermind, seems to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants