[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: Thu, 21 Mar 2013 10:51:26 +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 Thu, 21 Mar 2013 05:27:42 +0400, Dmitry Gutov <address@hidden> said:

>> And could someone who is familiar with the W32 (or NS) port help us
>> make these functions consistent with the X11 version?  Otherwise elisp
>> programs that use these common functions (unconsciously) relying on
>> platform-specific behavior will not work as intended on other
>> platforms.
>> (Actually, some users have sent me "bug reports" that the behavior of
>> display-pixel-width/height on the Mac port is "wrong" for the reason
>> that they do not return the same values as the NS port, whereas those
>> in the Mac port behave consistently with those in X11.)

> Aside from it being X11 behavior, why do you consider it the "right"
> one? I see how I could use one monitor's dimensions (to make Emacs take
> full screen, or half width, etc), but what use is the "total size"?

> My monitors are of different size, you couldn't make Emacs fully
> maximized to both of them, even if you tried.

First, thanks for many experiments.

I understand users want to know the size of each monitor rather than
the total size.  But that does not justify changing existing common
functions in an inconsistent and ad hoc way and making them
platform-specific unnecessarily.  If such functionality is necessary,
it should be provided in a platform-independent and consistent way.

                                     YAMAMOTO Mitsuharu

reply via email to

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