From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: How to get the new frame? Date: Thu, 23 Jul 2015 13:21:52 -0500 Organization: NewsGuy - Unlimited Usenet $23.95 Message-ID: References: <20150721004403.1229.1C8BC4D7@ahiker.mooo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1437675926 25729 80.91.229.3 (23 Jul 2015 18:25:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jul 2015 18:25:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 23 20:25:26 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1ZILBO-0006fA-7E for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Jul 2015 20:25:26 +0200 Original-Received: from localhost ([::1]:42436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZILBN-00043n-Lh for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Jul 2015 14:25:25 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news6 Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-NNTP-Posting-Host: p74800f6bd882c44df1e02622620b43ab8ad3a61a84da1f31.newsdawg.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 In-Reply-To: X-Received-Bytes: 2097 X-Received-Body-CRC: 3137035489 Original-Xref: usenet.stanford.edu gnu.emacs.help:213652 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105938 Archived-At: On 7/23/2015 10:52 AM, Eli Zaretskii wrote: >> From: "B. T. Raven" >> Date: Thu, 23 Jul 2015 10:11:44 -0500 >> >> Is there a way to read display geometry > > Is display-monitor-attributes-list what you want? Or maybe > display-mm-width and display-mm-height? Or display-pixel-width and > display-pixel-height? There are more, of course. > Thanks, Eli. I have the last four functions documented but not the first (variable?) in w32 24.3. I have put: '(display-mm-dimensions-alist (quote (("t400" 304 . 190)))) in (custom-set-variables using custom but that doesn't register the display monitor (14.1" diag.). Apparently the display part of the alist can be either nil, t, or a string but I can't get mm or pixel height or width through those functions after setting up the alist. Btw, what is this first string in the documentation of the variable: (":0.0" . (287 . 215))? I was hoping that Emacs might be able to interrogate the hardware somehow through the OS. In the context of my original question, is my goal somehow achievable. If so, what's the recipe? Hardware is Lenovo t400. Thanks again, Ed