Dear Maintainer,
After upgrade to Debian 11 Emacs uses default foreground (black) and
background (white) colors instead of those I set in
~/.Xdefaults-myhostname.
strace(8) reveals an attempt to access to a non-existent file
27026 openat(AT_FDCWD, "/home/steelman/.Xdefaults/myhostname", O_RDONLY) = -1 ENOTDIR[*]
This problem appears (I havn't tested the pathc) to have been
reported[1] and fixed[2] upstream.
The workaround to make Emacs read the file is to set XENVIRONMENT
variable.
XENVIRONMENT=${HOME}/.Xdefaults-myhostname
[*] I've got ~/.Xdefaults file and a bunch of symlinks
to it from ~/.Xdefaults-*
[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38495
[2] https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=4b118bdca1d8aa130fb67eadb16e08e87e698aa4