Replies: 2 comments
|
I tried to distill the above observations into slightly more actionable points. I have not looked for answers to those questions just yet, so some of the ideas could very well be rather off. For discussing any particular point further, I'd suggest starting a new thread instead of replying to this comment directly.
|
0 replies
Today I've noticed that |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I confirm that...
(edit: sorry, I must've misread the commit dates. turns out I was not on the latest version at the time)
.50,.60, or.9*)Describe your issue
While fixing this wasn't particularly difficult all things considered, the process still has a number of rough edges.
I'm writing this down so we can hopefully make it smoother!
tldr
Updating Emacs to 31.1 required rebuilding installed packages. Before I did that, Emacs was running into confusing errors and
doom doctorwasn't of any help either. I was extra confused because right before the update Emacs got closed by an automatic reboot and that seemed rather violent (as it flashed some message with a large number ofnils in it when quitting).long detailed version
Today I was upgrading the operating system on this laptop from Fedora KDE 44 to 45. While KDE Discover was downloading the new packages, I was noting down some things about it using Doom Emacs. I had it set to reboot automatically as soon as it's ready. Then, when I tried to do one more "last second" change to my notes, KDE Discover decided to proceed with the reboot.
Normally, when I reboot with (Doom) Emacs still open, I get prompted[0] in the echo area | minibuffer whether I really want to quit, and the OS waits for Emacs to exit on it's own. I'm not sure how it plays out if I have some unsaved work[1]. But this time it happened while I was frantically typing. I might have tried saving the file reflexively. I'm not sure if I got prompted for anything, but I do remember seeing a large number of
nils in the echo area | minibuffer. Then Emacs was closed and the computer rebooted. The OS update went smoothly and a dozen minutes later I was back at the desktop.But Emacs wasn't among the restored programs[2]. When I launched it myself, this is pretty much what I saw:
This screenshot was taken quite late in the troubleshooting process, so I can't be certain that this error message stayed intact the whole time. Based on
journalctl --userlogs[3]: it looks like Emacs actually was among the restored programs, and then I launched a second instance which was stopped ~30 seconds later (while the first instance lived until I closed thatwindowframe in the screenshot).At this point I ran:
Then I tried googling the error but only found doomemacs/core#6346. After a break, I concluded that the problem was more likely due to an incompatibility with the updated Emacs than whatever had happened with that reboot. [4] So I ran:
Here's an uncut version: https://paste.rs/VKJgJ
Then I took that screenshot and restarted Emacs which now loaded correctly. I was even able to restore the previous session and my notes did contain that last second change (only missing a character or two, but I probably just hadn't typed them tbh).
Should I provide that
cli.doom.261120175550.6533.error?0: I really need to disable that, and also configure Emacs to always restore the previous session on startup. That could one day play really nicely with KDE Plasma's session restore feature.
1: I'll try to test it once I'm done with writing this.
2: It's possible it was, and I missed it because it didn't load correctly. After reading those logs I started to really doubt myself on this. It could also be that it took a while to start and that I then closed one of two Emacs windows.
3: 17:54:30 session restore starts the first instance; 17:55:13 I start the second instance; 17:55:39 the second instance exits; 17:55:42 I start Konsole to troubleshoot this;
4: Before running
doom syncand rebuilding all packages I have made a snapshot of the subvolume containing my home directory. I can try pulling more info from there if there's a need.Steps to reproduce
All but that "message with a large number of
nils in it" should be possible to reproduce by installing Doom with Emacs 30.2 and then updating to Emacs 31.1 without runningdoom syncordoom build. Then start Emacs or rundoom doctor.System information
https://paste.rs/WW70m
(
I will provide this shortly,though it will likely be of low value as I have already rundoom sync)All reactions