Today I learned: If you don't add (require 'server) before calling (daemonp), your Emacs daemon will silently hang.

The thing I don't actually want to learn at all, ever.

It took 3 hours to debug, I found solution completely accidentially: just forgot to remove it, when was playing with (server-running-p).

#til #emacs #cursedtech