Package: emacs-gtk
Version: 1:27.1+1-3.1
Severity: normal
Control: tags -1 fixed-upstream
X-Debbugs-Cc: none, Łukasz Stelmach <steel...@post.pl>

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

-- System Information:
Debian Release: 11.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-17-amd64 (SMP w/4 CPU threads)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages emacs-gtk depends on:
ii  emacs-bin-common     1:27.1+1-3.1
ii  emacs-common         1:27.1+1-3.1
ii  libacl1              2.2.53-10
ii  libasound2           1.2.4-1.1
ii  libc6                2.31-13
ii  libcairo2            1.16.0-5
ii  libdbus-1-3          1.12.20-2
ii  libfontconfig1       2.13.1-4.2
ii  libfreetype6         2.10.4+dfsg-1
ii  libgdk-pixbuf-2.0-0  2.42.2+dfsg-1
ii  libgif7              5.1.9-2
ii  libglib2.0-0         2.66.8-1
ii  libgmp10             2:6.2.1+dfsg-1
ii  libgnutls30          3.7.1-5
ii  libgpm2              1.20.7-8
ii  libgtk-3-0           3.24.24-4
ii  libharfbuzz0b        2.7.4-1
ii  libice6              2:1.0.10-1
ii  libjansson4          2.13.1-1.1
ii  libjpeg62-turbo      1:2.0.6-4
ii  liblcms2-2           2.12~rc1-2
ii  libm17n-0            1.8.0-2
ii  libotf0              0.9.13-7
ii  libpango-1.0-0       1.46.2-3
ii  libpng16-16          1.6.37-3
ii  librsvg2-2           2.50.3+dfsg-1
ii  libselinux1          3.1-3
ii  libsm6               2:1.2.3-1
ii  libsystemd0          247.3-6
ii  libtiff5             4.2.0-1
ii  libtinfo6            6.2+20201114-2
ii  libx11-6             2:1.7.2-1
ii  libxext6             2:1.3.3-1.1
ii  libxfixes3           1:5.0.3-2
ii  libxml2              2.9.10+dfsg-6.7
ii  libxrender1          1:0.9.10-1
ii  zlib1g               1:1.2.11.dfsg-2

emacs-gtk recommends no packages.

Versions of packages emacs-gtk suggests:
ii  emacs-common-non-dfsg  1:27.1+1-2

-- no debconf information

-- 
Miłego dnia,
Łukasz Stelmach

Attachment: signature.asc
Description: PGP signature

Reply via email to