From f220aa0268900113aad7f2d8aa3df329d7eb224e Mon Sep 17 00:00:00 2001 From: Varun Jayaraman Date: Sat, 19 Feb 2022 17:56:30 +0100 Subject: [PATCH] documents short-term fix for straight.el Users who switch to chemacs from a non-chemacs configuration might encounter #31. This does not constitute a long-term fix but this might help users in the meantime until further debugging is done. --- README.org | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.org b/README.org index 26b2e89..fdc18bb 100644 --- a/README.org +++ b/README.org @@ -251,6 +251,20 @@ emacsclient -c -s gnu -a emacs emacsclient -c -s doom -a emacs #+end_src +** Troubleshooting + +*** Emacs cannot find packages installed by straight + +First, make sure you haven't hardcoded filepaths to "emacs.d" in your configuration. You should reference files inside a profile-specific emacs folder like this: + +#+begin_src elisp +(setq some-var (expand-file-name "path/to/file" user-emacs-directory)) +#+END_SRC + +Second, if the issue persists you should delete the `build` folder in your `straight` directory and rebuild your dependencies. + +If the issue persists please file an issue because we are still trying to figure out the exact source of this problem, but this has solved the problem for some users. + ** LICENSE Copyright © Arne Brasseur 2018-2020