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

This package changes global package-user-dir? #8

Closed
conao3 opened this issue Nov 12, 2019 · 4 comments · Fixed by #10
Closed

This package changes global package-user-dir? #8

conao3 opened this issue Nov 12, 2019 · 4 comments · Fixed by #10

Comments

@conao3
Copy link
Contributor

conao3 commented Nov 12, 2019

Hi!

I noticed my package.el attempt to install develop package local .cask directory after this package installed.

@conao3
Copy link
Contributor Author

conao3 commented Nov 13, 2019

flycheck-elsa--enable-p cause this issue.

package-user-dir
;;=> "~/.emacs.d/local/26.3/elpa"

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Switch flycheck-elsa.el and then `M-: (flycheck-elsa--enable-p)`

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

package-user-dir
;;=> "/home/conao/dev/forks/flycheck-elsa/.cask/26.3/elpa"

@Fuco1
Copy link
Member

Fuco1 commented Nov 13, 2019

This is how cask works. It installs packages to a separate local directory.

@Fuco1
Copy link
Member

Fuco1 commented Nov 13, 2019

Ok I understand now what the problem is. Cask runs some side-effects to setup the paths. That should be fixed on the cask side I guess. I'll review your patch to see how it works.

@conao3
Copy link
Contributor Author

conao3 commented Nov 13, 2019

Good, thanks!

@Fuco1 Fuco1 closed this as completed in #10 Jan 4, 2020
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

Successfully merging a pull request may close this issue.

2 participants