all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andrea Cardaci <cyrus.and@gmail.com>
To: 38495@debbugs.gnu.org
Subject: bug#38495: Emacs ignores ~/.Xdefaults and ~/.Xdefaults-hostname
Date: Wed, 4 Dec 2019 23:31:09 +0100	[thread overview]
Message-ID: <CACMsj9PXkLaV+bvQwSq__TgW3FnzQ=t16Trj5LMMo5hPSYQ7+Q@mail.gmail.com> (raw)

Hi,

I'm trying the master version
(0e774d4f355b4f12a625da5ca9602d1ba876bcc1) and these two files are now
ignored by Emacs, it used to work in version 26.1, well it used to
load the .Xdefaults-hostname file but even that version ignored
.Xdefaults while this page says otherwise:

https://www.gnu.org/software/emacs/manual/html_node/efaq/Emacs-ignores-X-resources.html

In any case the master version now ignores both files. But, according
to strace, it opens that file:

> $ strace -f /opt/emacs/bin/emacs |& grep Xdefaults
> [pid 11310] openat(AT_FDCWD, "/home/cyrus/.Xdefaults-hostname", O_RDONLY) = 6

Instead (discovered via strace) Emacs uses the ~/.Xdefaults/hostname
file, this actually works but it's undocumented and doesn't work in
Emacs 26.1.


Best,
Andrea





             reply	other threads:[~2019-12-04 22:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-04 22:31 Andrea Cardaci [this message]
2019-12-05  7:51 ` bug#38495: Emacs ignores ~/.Xdefaults and ~/.Xdefaults-hostname Colin Baxter
2019-12-05 11:39   ` Andrea Cardaci
2019-12-05 12:11     ` Colin Baxter
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='CACMsj9PXkLaV+bvQwSq__TgW3FnzQ=t16Trj5LMMo5hPSYQ7+Q@mail.gmail.com' \
    --to=cyrus.and@gmail.com \
    --cc=38495@debbugs.gnu.org \
    /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.