[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: x-display-pixel-width/height inconsistency

From: YAMAMOTO Mitsuharu
Subject: Re: x-display-pixel-width/height inconsistency
Date: Sat, 23 Mar 2013 09:32:31 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Fri, 22 Mar 2013 12:33:36 +0200, Eli Zaretskii <address@hidden> said:

> are not available on those old systems?  Can you point me to some
> documentation which has the details?

(in Japanese.  But probably you can find "Window 98" and "Windows

I couldn't find a corresponding document in English.

> If we do need to distinguish those systems, there's os_subtype
> variable, which can help you be sure that you include both Windows
> 9X and NT 4.0, as version info on 9X is somewhat tricky.

I think it is enough to distinguish Windows 95 and Windows NT 4.0 from
the other versions, and both 95 and NT4 seem to have the same major
and minor versions (4 and 0) maybe by accident, while they have
different os_subtype values.  (Correct me if wrong.)

> I'm bothered by the fact that you change the behavior of these
> functions in backward-incompatible ways, without properly
> documenting what values they return.  The new doc strings do not add
> _anything_ to the vagueness of the previous description wrt what
> exactly are the "display dimensions".  Now, you may be right about
> what these primitives do on X11 (I don't know enough about that to
> tell, and the man pages I've seen are not helpful), but if so, we
> should clearly document their semantics, either in the doc strings
> or/and in the ELisp manual.  We certainly should mention the change
> in behavior in NEWS.

As I've already mentioned, the elisp info already contains the
description about the semantics under multi-monitor setups.


Probably we can copy it to the doc strings if necessary.  Previously
only the info was updated by a maintainer (see the thread starting
from http://lists.gnu.org/archive/html/emacs-devel/2007-04/msg00400.html).

> Personally, I am still unsure how will dimensions of "the bounding
> rectangle of all display monitors" be helpful to any Lisp program;
> can you tell why you think returning that is a good idea?  Maybe we
> should change the X11 implementation instead?

Please look at my other posts:


                                     YAMAMOTO Mitsuharu

reply via email to

[Prev in Thread] Current Thread [Next in Thread]