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

Could we improve error message when the ~/.config/emacs moved (dangling symlinks) #1144

Open
FabriceSalvaire opened this issue Feb 9, 2024 · 1 comment
Labels

Comments

@FabriceSalvaire
Copy link

If we rename or move ~/.config/emacs directory, it breaks the package loading due to the use of symbolic links.
The error in Emacs is not so clear... It will complain a package file is missing...
For users, it will require some time to understand exactly what is happening: symlinks are now dangling.

It would be great if we could add a check to test if the directory doesn't exist any longer.

@raxod502
Copy link
Member

Just to be clear, what's your directory structure? What is your user-emacs-directory, and the path to your init.el, and what path is used by your straight related directories?

Is the issue that straight.el uses absolute symlinks rather than relative ones?

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

No branches or pull requests

2 participants