[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: x-display-name confusion
From: |
Chong Yidong |
Subject: |
Re: x-display-name confusion |
Date: |
Fri, 07 Jul 2006 11:28:08 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> The documentation for x-display-name isn't very clear. Currently, it is
> this:
>
> "The X display name specifying server and X frame."
>
> Is it supposed to give the X display on which Emacs was started,
> or the X display for the current frame?
>
> As currently implemented, it reflects where Emacs started.
> However, I think that's a bug, and that it ought to reflect
> the current frame, or a specified frame.
There is already a frame parameter called 'display, so making
x-display-name a frame-local variable is redundant. Anyway, it is
useful to have a way of knowing which display Emacs started on.
I suggest keeping the current behavior, and updating the docstring of
x-display-name to say that it reflects where Emacs started, plus a
reference to the 'display frame parameter.