Closed rif closed 2 years ago
How about emacs -Q
?
emacs -Q and emacs -Q --l ~/.emacs.d/init-mini.el are fine, they don't have the issue.
No idea. It's better have the backtrace for the further investigation.
Can you tell me how to obtain the backtrace?
M-x toggle-debug-on-error
.
But the error occurs during startup and by the time I can enter this command the error already happened.
See the command args:emacs --debug-init
.
I only get "Setting current directory: No such file or directory, /build/emacs/src/emacs-27.2/" in the bottom echo area An in the Messages I get this:
Loading /home/rif/.emacs.d/custom.el (source)...done Set package archives to ‘melpa’ Loaded theme ‘doom-city-lights’ [Treemacs] Warning: coudn’t find default background colour for icons, falling back on #2d2d31. [Treemacs] Warning: couldn’t find hl-line-mode’s background color for icons, falling back on #2d2d31. Starting new Ispell process aspell with default dictionary...done Loading /home/rif/.emacs.d/recentf...done Cleaning up the recentf list...done (0 removed) custom-initialize-reset: Setting current directory: No such file or directory, /build/emacs/src/emacs-27.2/
If you don't see any hint in these messages I guess we can close this issue because it's probably not related to your configs.
Yep, according to the messages above, it seems you built the emacs yourself. I don't think it's related to the configuration.
I found it might be related to blamer. I removed this package now.
Yes, I confirm the issue is gone after centaur-update. Thank you!
Thank you for the bug report
Centaur Emacs
.Bug description
Starting a few days ago when I start emacs on linux (arch) I get the following error:
face-attribute:
Setting
current directory: No such file or directory, /build/emacs/src/emacs-27.2/and emacs stops loading configuration.
I get this message on two separate machines with the same linux OS.
Steps to reproduce
Just start emacs
Expected behavior
Emacs loading the configuration as usual.
OS
Linux
Emacs Version
27
Error callstack
No response
Anything else
As a workaround, I created the entire /build/emacs/src/emacs-27.2/ path and then emacs starts correctly.