Comments (4)
Thanks for the report. If this works both before and after that change then I'm happy to merge in a PR.
from chemacs2.
Recently there's been a change in emacs master branch,
9973019764250ac1f4d77a6b426cdd9c241151c5
( emacs-mirror/emacs@9973019) wherepackage-user-dir
is loaded differently, making it bypass chemacs' directory linking.c-h v package-user-dir before that commit gives
~/.emacs.default/elpa
, but after it, you get~/.emacs.d/elpa
.I'm still not 100% sure about the proper fix, but as of now this seems to fix it:
modified chemacs.el @@ -142,6 +142,7 @@ (defun chemacs-load-user-init () (when (chemacs-profile-get 'straight-p) (chemacs-load-straight)) (let ((init-file (expand-file-name "init.el" user-emacs-directory))) + (setq package-user-dir (expand-file-name "elpa" user-emacs-directory)) (load init-file t t) ;; Prevent customize from changing ~/.emacs (this file), but if ;; init.el has set a value for custom-file then don't touch it.
leaving it as an issue to give it some time
It works. I recently compile emacs28 to replace my old emacs27. I found when I enter emacs28 it will download packages automatically to the path "/.emacs.d" instead of loading from "/.emacs.default". I add this sentence in chemacs.el and emacs28 load the package dir correctly.
from chemacs2.
@patrolli did you also try it out with the change on emacs 27?
@kidd or @patrolli would you mind making a PR for this?
from chemacs2.
sure! I'll prepare the PR later today,
from chemacs2.
Related Issues (20)
- cannot load my doom on macos HOT 4
- Question: What are the requirements
- possible advice for straight.el users? HOT 4
- daemon startup errors
- Flycheck error "user-emacs-directory . ~/.emacs.default))" is a malformed function HOT 2
- Possible to use with "--batch" emacs option? HOT 2
- `restart-emacs` results in the default configuration loading HOT 1
- New Emacs command line argument: init-directory HOT 2
- Minimum Emacs version? HOT 2
- Allow chemacs-profiles from chemacs-profile to be globally available? HOT 1
- Error after upgrading HOT 1
- Directory entries aren't expanded when passed to a shell? HOT 1
- Some problem with Spacemacs
- Feature request: associate profiles with Emacs executables and get Chemacs 2 to launch with those instead.
- Command line arguments "leak" HOT 3
- Add "alternatives" section linking back to with-emacs.sh HOT 3
- Passing straight-p through .emacs-profiles.el
- connect-the-dots referenced but undocumented
- emacs 27 and 29 from chemacs2: is it possible?
- Fails to start emacs with native comp
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chemacs2.