unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#38495: Emacs ignores ~/.Xdefaults and ~/.Xdefaults-hostname
@ 2019-12-04 22:31 Andrea Cardaci
  2019-12-05  7:51 ` Colin Baxter
  2021-09-21 18:41 ` bug#38495: Fixed Łukasz Stelmach
  0 siblings, 2 replies; 8+ messages in thread
From: Andrea Cardaci @ 2019-12-04 22:31 UTC (permalink / raw)
  To: 38495

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





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-09-21 18:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).