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

[BUG] Issue with elpa Folder Deletion #127

Closed
ehsanirani opened this issue Nov 14, 2023 · 2 comments
Closed

[BUG] Issue with elpa Folder Deletion #127

ehsanirani opened this issue Nov 14, 2023 · 2 comments

Comments

@ehsanirani
Copy link

ehsanirani commented Nov 14, 2023

Describe the bug
Hello,

I've encountered an issue after pulling the latest commits. Each time I run Emacs with this version, the elpa folder is unexpectedly deleted. It leads to reinstalling all the packages that I added to my config every time I run emacs. This behavior was not observed in the previous version 3.6.1. Could there be a change in the latest commits that might be causing this issue?

By the way, I wanted to express my appreciation for your work on minemacs. It's been an excellent tool. Great config!

Thanks!

Emacs version
GNU Emacs 30.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.16.0) of 2023-03-20

To Reproduce
Steps to reproduce the behavior:

  1. Create a elpa folder in .emacs.d
  2. Check it is deleted after a while

Expected behavior
elpa folder should stays in the .emacs.d folder

@ehsanirani ehsanirani changed the title [BUG] Issue with elpa Folder Deletion on Version 3.7.0 [BUG] Issue with elpa Folder Deletion Nov 14, 2023
@abougouffa
Copy link
Owner

Hello @ehsanirani

Thank you for the feedback. Yep, I intentionally added a function which I call in init.el to cleanup the .emacs.d directory (removes elpa among other directories).

MinEmacs uses straight.el to install packages, the elpa directory is where the builtin package installs packages. It is not recommended to use two packages managers in the same configuration.

I've taken a look into your dotfiles repo, you need to use :straight t instead of :ensure t in your use-package blocks. Like in here:

https://github.com/ehsanirani/dotfiles/blob/65a666b97de9b460087a91e6caa3ca93dc4c48b8/.minemacs.d/ehsan-modules/ee-org.el#L14

@abougouffa abougouffa closed this as not planned Won't fix, can't repro, duplicate, stale Nov 14, 2023
@ehsanirani
Copy link
Author

Great. Thanks for clarification.

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