From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: x-display-pixel-width/height inconsistency Date: Thu, 9 May 2013 17:18:17 +0200 Message-ID: References: <514A5DE1.10009@gmx.de> <831ub767wf.fsf@gnu.org> <83mwtu4p7c.fsf@gnu.org> <83vc8h313t.fsf@gnu.org> <5073D6B8-95E4-4012-AA74-106F428379DC@swipnet.se> <8BD4B041-5A3F-4D7C-AFD3-E997E194AA9D@swipnet.se> <02B98FCD-71DB-47EC-B58B-41A2539FF61A@swipnet.se> <83vc6tcqss.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1368112720 15675 80.91.229.3 (9 May 2013 15:18:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 May 2013 15:18:40 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 09 17:18:38 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UaSc2-0004pS-MP for ged-emacs-devel@m.gmane.org; Thu, 09 May 2013 17:18:30 +0200 Original-Received: from localhost ([::1]:45116 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UaSc2-0001W8-95 for ged-emacs-devel@m.gmane.org; Thu, 09 May 2013 11:18:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UaSbv-0001W2-Vi for emacs-devel@gnu.org; Thu, 09 May 2013 11:18:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UaSbt-0001Io-UF for emacs-devel@gnu.org; Thu, 09 May 2013 11:18:23 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:33549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UaSbt-0001IK-Mr for emacs-devel@gnu.org; Thu, 09 May 2013 11:18:21 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id ADE489CAB for ; Thu, 9 May 2013 17:18:18 +0200 (CEST) Original-Received: (qmail 13515 invoked by uid 89); 9 May 2013 15:18:09 -0000 Original-Received: from unknown (HELO coolsville.localdomain) (boel.djarv@bdtv.se@176.10.223.235) by mail01.melmac.se with ESMTPA; 9 May 2013 15:18:09 -0000 Original-Received: from [172.20.199.14] (unknown [172.20.199.14]) by coolsville.localdomain (Postfix) with ESMTPSA id DBEAF1A1D45; Thu, 9 May 2013 15:18:49 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.1503) X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 62.20.26.67 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:159446 Archived-At: Hello. I checked in an NS version. I will do the consolidation later. Jan D. 9 maj 2013 kl. 10:43 skrev YAMAMOTO Mitsuharu = : >>>>>> On Thu, 9 May 2013 10:14:59 +0200, Jan Dj=E4rv = said: >=20 >>> I'm planning to add an NEWS entry saying that >>> (x-)display-pixel-width and (x-)display-pixel-height functions now >>> behave consistently among the platforms, once the change for the >>> remaining platform (i.e., NS) is done. (Is anyone working on >>> implementing ns-display-monitor-attributes-list ?). >=20 >> I'm working on it. But it seems to me that having 4 (or more) >> implementations of how to construct the attributes_list is not >> optimal. Can we make a general function for this that the ports can >> call? Somthing like XRandr, Xinerama and fallback shares in xfns.c? >=20 > Yes. Perhaps fallback of mm_size by approximation, which is found in > Xinerama and GDK cases, can also be consolidated. >=20 > YAMAMOTO Mitsuharu > mituharu@math.s.chiba-u.ac.jp