From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: x-display-pixel-width/height inconsistency Date: Wed, 20 Mar 2013 05:41:19 +0400 Message-ID: <87vc8metkw.fsf@yandex.ru> References: <87vc8nyoat.fsf@yandex.ru> <8738vrq67p.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1363743705 2611 80.91.229.3 (20 Mar 2013 01:41:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Mar 2013 01:41:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 20 02:42:07 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 1UI82X-0008KS-3r for ged-emacs-devel@m.gmane.org; Wed, 20 Mar 2013 02:42:05 +0100 Original-Received: from localhost ([::1]:44502 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UI829-0001sk-VO for ged-emacs-devel@m.gmane.org; Tue, 19 Mar 2013 21:41:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UI81z-0001sd-6m for emacs-devel@gnu.org; Tue, 19 Mar 2013 21:41:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UI81r-0002F2-78 for emacs-devel@gnu.org; Tue, 19 Mar 2013 21:41:31 -0400 Original-Received: from mail-la0-x22f.google.com ([2a00:1450:4010:c03::22f]:44810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UI81q-0002Ex-VP for emacs-devel@gnu.org; Tue, 19 Mar 2013 21:41:23 -0400 Original-Received: by mail-la0-f47.google.com with SMTP id fj20so2141928lab.6 for ; Tue, 19 Mar 2013 18:41:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type:x-antivirus :x-antivirus-status; bh=hQv66w/iLC2lpND5MUBuLJdsJI8yc0eobtsaTdhv90w=; b=gdO14YwFrXyUtwu5KfvCabvVBxmqL7RqWykM+gkPNm0+iBvPWIHK6jwCuFWzw+/aDS hBBG9Zul7J2qFR2aFxhgNWupfKw2yjEYByRyGGwYF03ugUofIeR0p5j43qBnTN7Lv5dZ HJFndU2QmFKmxqSXk9VkIwBUivsWKw4zHE0CKC1Kwr/RyPhyYBhBwMZpb/OectkThZpp oMqUXvJN5thBsg9r5n4DptXWXFzmqQ45JGpr0nIbt4orjub55TSRM+GZS2kKsBZdODzD YtwC6LitXFtU5TFga7w99svoFTp/+FXoSW3DhaL8/puYlX7qeeW9Amk6DaDchMFSzFj8 heSQ== X-Received: by 10.112.54.1 with SMTP id f1mr8890826lbp.85.1363743681808; Tue, 19 Mar 2013 18:41:21 -0700 (PDT) Original-Received: from SOL ([178.252.98.87]) by mx.google.com with ESMTPS id iq6sm11955449lab.10.2013.03.19.18.41.19 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Mar 2013 18:41:20 -0700 (PDT) In-Reply-To: (YAMAMOTO Mitsuharu's message of "Wed, 20 Mar 2013 09:20:21 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) X-Antivirus: avast! (VPS 130319-0, 19.03.2013), Outbound message X-Antivirus-Status: Clean X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22f 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:157973 Archived-At: YAMAMOTO Mitsuharu writes: >>>>>> On Wed, 20 Mar 2013 04:12:58 +0400, Dmitry Gutov said: > >>> Thanks for checking. Does the following patch give dimensions of >>> all physical monitors as in X11? Do display-mm-height/width return >>> meaningful values? > >> Sorry, can't apply the patch, `bzr patch' says > >> bzr: ERROR: Error invoking patch: Invalid argument > >> If you resend it in unified format, I can try to apply it manually. > > You can convert the format from context diff to unified diff using C-c > C-u in diff-mode. Anyway, I resend the patch. Indeed, I forgot about diff-mode. It can also apply the patch just fine. >> Without the patch, display-mm-height/width return some values, same >> on both monitors, but I can't tell how they relate to x-display-* >> functions. > > Please also try display-mm-height/width after applying the patch. Applied, compiled, and it doesn't seem to make any difference. Same values, on both monitors. I'll repeat the experiment just in case, and will follow-up if there's anything different.