all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Colin Baxter <m43cap@yandex.com>
To: Andrea Cardaci <cyrus.and@gmail.com>
Cc: , 38495@debbugs.gnu.org
Subject: bug#38495: Emacs ignores ~/.Xdefaults and ~/.Xdefaults-hostname
Date: Thu, 05 Dec 2019 12:11:23 +0000	[thread overview]
Message-ID: <87fthz0y6s.fsf@yandex.com> (raw)
In-Reply-To: <CACMsj9Okb=Gia4f2eHdvEhJd_obk5YaJ5CHT9sBs+11kV9xSuw@mail.gmail.com> (Andrea Cardaci's message of "Thu, 5 Dec 2019 12:39:34 +0100")

Dear Andrea,
>>>>> Andrea Cardaci <cyrus.and@gmail.com> writes:

    > On Thu, 5 Dec 2019 at 08:51, Colin Baxter <m43cap@yandex.com> wrote:
    >> Today's pull from master reads my ~/.Xdefaults satisfactorily.

    > Hi Colin,

    > The only way here is to put my file in ~/.Xdefaults/hostname.
    > According to strace, the .Xdefault file (no -hostname suffix) is
    > never read. Could you try with strace too?

    > I suspect that you have loaded that file with xrdb -load so Emacs
    > uses the database and not the actual file.

I've done Ctl-Alt <f1> to log in on a new tty, with a different window
manager (stumpwm). The output of strace is what I'd expect - I've redacted
my user and host names:

[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)

I only have ~/.Xdefaults and no ~/.Xdefaults/host or ~/.Xdefaults/host
files.

Hope this helps.

Best wishes,





  reply	other threads:[~2019-12-05 12:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-04 22:31 bug#38495: Emacs ignores ~/.Xdefaults and ~/.Xdefaults-hostname Andrea Cardaci
2019-12-05  7:51 ` Colin Baxter
2019-12-05 11:39   ` Andrea Cardaci
2019-12-05 12:11     ` Colin Baxter [this message]
2019-12-05 12:28       ` Andrea Cardaci
2019-12-05 12:48         ` Colin Baxter
2021-09-21 18:41 ` bug#38495: Fixed Łukasz Stelmach
2021-09-21 18:52   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fthz0y6s.fsf@yandex.com \
    --to=m43cap@yandex.com \
    --cc=38495@debbugs.gnu.org \
    --cc=cyrus.and@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.