Debug failed Emacs initialization

My newly minted macro for defining monitors introduced two bugs:
1. Laptop defined its position in terms of 4k-horizontal and 4k-horizontal
   defined its position in terms of laptop, I introduced a circular dependency.
2. The identifier, `laptop-monitor`, which `window-manager.el` depends on, is
   now defined as `laptop`.

A friendly reminder to myself to always test new Emacs builds to make sure that
everything can initialize properly. This is something that my CI should be
automating, but ever since I moved flats, I lost my CI and need to restore it.

This is another reminder to drop into a TTY when Emacs fails to initialize, run
`nix-env --rollback`, then attempt to restart X. But this time, debugging this
entirely from a TTY wasn't so disappointing.
This commit is contained in:
William Carroll 2020-09-29 10:10:24 +01:00
parent e41ca803c6
commit fc0c795c4e
2 changed files with 9 additions and 4 deletions

View file

@ -103,7 +103,7 @@
(exwm-randr-enable)
(setq exwm-randr-workspace-monitor-plist
(list 0 display-4k-horizontal
1 display-laptop-monitor
1 display-laptop
2 display-4k-vertical))
(evil-set-initial-state 'exwm-mode 'emacs)