On 2020/08/19 21:36:13 +0200, Achim Gratz wrote:
auxsvr writes:
On Wednesday, 19 August 2020 21:21:54 EEST Achim Gratz wrote:
suddenly uses the X11 backend instead of Xft or whatever Harfbuzz is supposed to use (with horrible font display that has no antialiasing, but still tries to scale the font)
This is a known issue, see https://bugzilla.suse.com/show_bug.cgi?id=1175372 for a fix.
Well, I've had cleared the whole of xrdb to get rid of any of these things, but it seems that somewhere in the startup sequence the app defaults are pulled in anyway. OK, so I can work around this particular bug by either removing the starting emacs with --no-x-defaults. Done, but still no joy with Gnus… so I've compiled a fresh Emacs locally and installed it into /usr/local and that one works (after killing the Emacs app defaults) and does load it's pdumper file like it's supposed to instead of re-creating the whole thing (wrongly) from scratch at each start. This seems to be caused by starting Emacs as /usr/bin/emacs rather than emacs-gtk, so that particular fault is down to Emacs looking for the wrong pdump file.
The /usr/bin/emacs script does start normally emacs-gtk and this binary does search for different emacs.pdmp versions werner/emacs> strace -f -o log emacs Warning: game dir '/var/games/emacs': Permission denied werner/emacs> grep pdmp log 25403 openat(AT_FDCWD, "/usr/bin/emacs-gtk.pdmp", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 25403 openat(AT_FDCWD, "/usr/lib/emacs/27.1/x86_64-suse-linux/emacs.pdmp", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 25403 openat(AT_FDCWD, "/usr/lib/emacs/27.1/x86_64-suse-linux/emacs-gtk.pdmp", O_RDONLY|O_CLOEXEC) = 3 For the other toolkit this is: werner/emacs> strace -f -o log emacs Warning: game dir '/var/games/emacs': Permission denied werner/emacs> grep pdmp log 25450 openat(AT_FDCWD, "/usr/bin/emacs-x11.pdmp", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 25450 openat(AT_FDCWD, "/usr/lib/emacs/27.1/x86_64-suse-linux/emacs.pdmp", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 25450 openat(AT_FDCWD, "/usr/lib/emacs/27.1/x86_64-suse-linux/emacs-x11.pdmp", O_RDONLY|O_CLOEXEC) = 3 For the three types of toolkits there are werner/emacs> rpm -qf /usr/lib/emacs/27.1/x86_64-suse-linux/emacs*.pdmp emacs-x11-27.1-0.x86_64 emacs-nox-27.1-0.x86_64 emacs-x11-27.1-0.x86_64 Btw: If you're running emacs as a server/daemon you should stop it before changing the toolkit or (re)installing a fresh version of emacs Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr