-
Notifications
You must be signed in to change notification settings - Fork 40
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
Compiling creates ~/.emacs.d/.sx #308
Comments
I'll take a look at this -- thanks for bringing it up. |
I'm not having any luck reproducing this by just byte-compiling the (with-temp-buffer
(insert (with-output-to-string (backtrace)))
(write-file
(expand-file-name
(format "backtrace-%d"
(setq *sx-temp* (1+ *sx-temp*)))
sx-cache-directory))) (obviously making sure |
I am currently refactoring my byte-compile and package management setup, and will get back to you once I have progressed a little further. Since you say this doesn't happen during byte-compilation for you, I suspect it happens when generating or loading autoloads. But I haven't looked into that yet. I probably should have waited a bit before opening this issue. |
This should be enough to reproduce the issue:
(Normally I use my own version of That also complains about undefined functions:
And using your debug statement (and
|
Thanks. What does the backtrace say in |
Ups. Here you go:
|
Awesome! Try out that patch. |
That worked. Thanks! |
I am guessing that a call to
sx-cache-get
does it (by callingsx-cache--ensure-sx-cache-directory-exists
) but could not find where that is called at compile time.I would prefer if it didn't do that because I have changed the value to
~/.emacs.d/var/sx
but that setting is not effective when I compile, so whenever I recompile all files in my~/.emacs.d
I have to then remove the empty~/.emacs.d/.sx
.The text was updated successfully, but these errors were encountered: