GNU bug report logs -
#32921
emacsclient obeys Xresources even when launched with -nw
Previous Next
Reported by: Dimitrios Apostolou <jimis <at> gmx.net>
Date: Wed, 3 Oct 2018 17:50:02 UTC
Severity: normal
Tags: moreinfo
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Po Lu <luangruo <at> yahoo.com>
> Cc: larsi <at> gnus.org, 32921 <at> debbugs.gnu.org, jimis <at> gmx.net
> Date: Thu, 19 May 2022 15:47:00 +0800
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> > It cannot be terminal-local, I think, because we want it to be in
> > effect for future terminals as well.
>
> But why? Under X, the resource database loaded by Emacs is normally
> specific to each display. (Emacs only loads the users X resource file
> manually if it was never previously loaded into the X server.) I think
> what the code in x-win.el does means that only one display's
> `reverseVideo' resource will be respected at any given time, while each
> display's X resources are documented to only apply to frames created on
> that display.
We may be miscommunicating. The offending code in x-win.el is called
at startup, only once, and sets up default-frame-alist for all the
future frames, including those on displays this Emacs session did not
yet open and knows nothing about. How would you define
default-frame-alist that is specific to those as-yet-unknown displays?
And if you are saying that the code in x-win.el should only affect the
display on which Emacs was started, then that would be an even more
seriously breaking change. Why should we assume that the user
intended his/her X resources to be only honored on the (random)
display where Emacs shows its first frame? The files ~/.Xresources
and ~/.Xdefaults are not specific to any display, AFAIU, they are
global for the user. Right?
This bug report was last modified 2 years and 333 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.