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

File encoding. Package won't load #5

Open
agzam opened this issue Apr 14, 2021 · 0 comments
Open

File encoding. Package won't load #5

agzam opened this issue Apr 14, 2021 · 0 comments

Comments

@agzam
Copy link

agzam commented Apr 14, 2021

I spent two hours trying to understand why this package won't load in Spacemacs. It kept complaining that Package lacks a "Version" or "Package-Version" header. Which is not true. It does have proper headings.

It seemed like I tried everything, but it wouldn't work. I refused to give up. Finally, I checked the buffer-file-coding-system and it says "utf-8-dos". Wat?

AFAIK Spacemacs uses Quelpa. And apparently, that thing doesn't understand DOS files (?). Or maybe I have to set core.autocrlf in .gitconfig, or do something else? I don't know. It just doesn't work on my Mac. Only re-encoding the file worked.

I'm going to leave this here, in case someone else stumbles on that. But perhaps converting the .el file to another (more modern) coding system would be wise.

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

1 participant