I am having trouble finding an init problem where emacs -q
gets the error Invalid face: highlight
, but emacs -Q
does not.
I would like to list the files opened by emacs to track down this problem. Is there a command-line switch to have emacs print the names of the files as it is opening them?
I'm running emacs 27.2 on Ubuntu 21.04, x86_64. (Forced to use vi
until the init problem is resolved!)
(setq debug-on-error t)
at the outset of your.emacs
/init.el
file and restart ... perhaps there will be a more detailed backtrace of where the problem might be ... – lawlist Jul 31 '21 at 20:25C-h v load-history
- it's a log of all libraries Emacs has loaded and what definitions it's gathered from each one. – Drew Jul 31 '21 at 23:21emacs -q
, but notemacs -Q
, the problem is most likely in yoursite-start.el
file. See: https://emacs.stackexchange.com/questions/28429/how-do-i-troubleshoot-emacs-problems – Tyler Aug 05 '21 at 16:33