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

Add .ibc to ignored file extensions #501

Open
nickdrozd opened this issue Apr 25, 2019 · 3 comments
Open

Add .ibc to ignored file extensions #501

nickdrozd opened this issue Apr 25, 2019 · 3 comments

Comments

@nickdrozd
Copy link

In my config I have

(add-to-list 'completion-ignored-extensions ".ibc")
(add-to-list 'dired-omit-extensions ".ibc")

but that seems like something idris-mode might take care of itself.

There are probably other similar lists to which .ibc could be added.

@david-christiansen
Copy link
Member

david-christiansen commented Apr 25, 2019 via email

@nickdrozd
Copy link
Author

Besides Idris, I have used three other languages that mix compiled files in with source files: C (.o), Elisp (.elc), and Python 2 (.pyc). All three of these are added to completion-ignored-extensions in bindings.el (dired-omit-extensions copies this and adds a few more). C and Elisp could be considered special cases, but the fact that Python bytecode files are ignored by default suggests that compiled files in general ought to be ignored by default. .ibc could be ignored at the Emacs level, or the mode could take care of it, but it seems like the user shouldn't need to.

But then again my experience is limited to those languages. Does Haskell produce compiled files like Idris? I don't know how this is normally handled.

@david-christiansen
Copy link
Member

It looks like haskell-mode does the same thing for .hi files: haskell/haskell-mode@2af92ec

Since @purcell is setting this up, I think we can be confident that it's a reasonable thing to do :)

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