GNU bug report logs - #38495
Emacs ignores ~/.Xdefaults and ~/.Xdefaults-hostname

Previous Next

Package: emacs;

Reported by: Andrea Cardaci <cyrus.and <at> gmail.com>

Date: Wed, 4 Dec 2019 22:32:01 UTC

Severity: normal

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 38495 <at> debbugs.gnu.org (full text, mbox):

From: Colin Baxter <m43cap <at> yandex.com>
To: Andrea Cardaci <cyrus.and <at> gmail.com>
Cc: , 38495 <at> debbugs.gnu.org
Subject: Re: bug#38495: Emacs ignores ~/.Xdefaults and ~/.Xdefaults-hostname
Date: Thu, 05 Dec 2019 12:48:17 +0000
Dear Andrea,
>>>>> Andrea Cardaci <cyrus.and <at> gmail.com> writes:

    > Hi Colin, Thanks for trying it out.

    > On Thu, 5 Dec 2019 at 13:11, Colin Baxter <m43cap <at> yandex.com> wrote:
    >> [pid 7771] open("/home/username/.Xdefaults", O_RDONLY) = 10 [pid
    >> 7771] open("/home/username/.Xdefaults-host", O_RDONLY) = -1
    >> ENOENT (No such file or directory) [pid 7771]
    >> open("/home/username/.Xdefaults", O_RDONLY) = 10 [pid 7771]
    >> open("/home/username/.Xdefaults/host", O_RDONLY) = -1 ENOTDIR
    >> (Not a directory)

    > Well, this is super weird, if I only place a .Xdefault file in my
    > home and run Emacs via strace I see:

    >> $ strace -f emacs |& grep Xdefaults [pid 31920] openat(AT_FDCWD,
    >> "/home/cyrus/.Xdefaults-hostname", O_RDONLY) = -1 ENOENT (No such
    >> file or directory) [pid 31920] openat(AT_FDCWD,
    >> "/home/cyrus/.Xdefaults/hostname", O_RDONLY) = -1 ENOTDIR (Not a
    >> directory)

    > Also marginally weird that we're seeing different syscalls (open
    > vs openat).

Good luck on finding a solution. I've reached the end of my sys
abilities.

Best wishes,




This bug report was last modified 3 years and 302 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.