-
Notifications
You must be signed in to change notification settings - Fork 155
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
"Caches are still outdated; something is seriously wrong" #437
Comments
I got the same problem. But I restarted emacs and ran again and it worked. Any way to solve this without a restart. Emacs: 28.0.50 |
Yep, it still happens for me. Always works on a clean start, never works on a session that's been running a while. |
Is it possible that under some circumstances, loading your |
Also, you can work around the bug by saying "no" when it asks to reload your init-file the first time, right? |
No, the error happens no matter what I answer. The only workaround is to restart Emacs.
Yes. My configuration is large, so I broke it out into separate files which get
Possible, I have long-lived sessions and sometimes try out one thing or another. |
Based on the implementation of I have been surprised many times before, however. Would you mind double-checking, just to be sure that something inexplicable is happening?
Well, that's the problem. You need to change this for your configuration to be compatible with |
I'm not able to reproduce this now, perhaps it changed since I filed the original bug. It definitely was happening at that time.
Is it sufficient to put only the bootstrap code in there (this stuff), or does straight expect every |
It expects every form to be re-evaluated. The reason for this is that otherwise there would be no way to identify which |
That's unfortunate; my config is >4KLOC and I'm not jazzed about changing it, so I'm either going to have to live with the issue or abandon straight. Instead of reloading the whole init file, what do you think about one or the other of:
|
Unfortunately, both of your suggestions rely on the user remembering things. In my experience, this will never happen in the real world. As a concrete problem, my workflow for adding packages to my configuration is to write the I have to say, I'm not sure I understand why the config updates would be a burden. For example, you could just add a snippet of code at the top of your init-file to remove all your config's features from the |
This thread is being closed automatically by Tidier because it is labeled with "waiting on response" and has not seen any activity for 90 days. But don't worry—if you have any information that might advance the discussion, leave a comment and I will be happy to reopen the thread :) |
Is |
Can you be more specific about what you mean by "the reload"? |
What's wrong
When I run
straight-freeze-versions
, I get prompted:No matter if I answer
y
orn
, I always get the error:Directions to reproduce
~/.emacs.d/straight/repos
, but I'm not 100% sure.M-x straight-freeze-versions
.Version information
Emacs version:
GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
Operating system:
Debian 10.2 "Buster"
The text was updated successfully, but these errors were encountered: