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: Fri, 24 Jul 2015 07:02:36 -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 1437739522 21142 80.91.229.3 (24 Jul 2015 12:05:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Jul 2015 12:05:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 24 14:05:21 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 1ZIbj6-0002Fi-HW for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Jul 2015 14:05:20 +0200 Original-Received: from localhost ([::1]:44905 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIbj6-0003my-07 for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Jul 2015 08:05:20 -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!news3 Original-Newsgroups: gnu.emacs.help Original-Lines: 52 Original-NNTP-Posting-Host: pd7e761dfc473940876d4d5d61cae9c37627b0b78450eb4ff.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: 2819 X-Received-Body-CRC: 985942245 Original-Xref: usenet.stanford.edu gnu.emacs.help:213675 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:105961 Archived-At: Thanks Javier. x.display.list returns "w32" When I set the alist with (setq display-mm-dimensions-alist '(t . (304 . 190))) and then evaluate display-mm-width, I get: Wrong type argument: listp, 190. With alist set to nil, I get the erroneous width 508, height 318. I thought I could report the screen size to emacs (304mm by 190mm) which has a diagonal of 14.11 inches, very close to the nominal screen size of 14.1. Ed On 7/23/2015 5:38 PM, Javier wrote: > I don't have a windows computer at reach, so I cannot do much. > In any case, some points > >> display-mm-dimensions-alist is a variable defined in `frame.el'. >> Its value is (("t400" 304 . 190)) >> Original value was nil > > "t400" doesn't look like a valid display name. > > Try > > (setq display-mm-dimensions-alist '(t . (304 . 190))) > > t without quotes means all displays, should be always valid and be > enough for you unless you want to do a screen by screen individual > setup. > >> (display-mm-width "t400") evals to Display name does not exist > > That tells you that "t400" is not a valid display name. > What does it give? > > M-: (x-display-list) > > I'm curious to see how displays are named in Win32. It might not even work > as there is no X server in Win32. > >> (display-mm-width) evals to 508 >> (display-mm-height) evals to 318 >> >> but both numbers are more than 50% too big for the size of the physical >> screen in mm (304 by 190) > > Are you using two screens like a laptop and an external monitor? > Anyway, don't worry much, I'm not surprised that emacs or the OS > are getting the wrong info. > > For the rest I cannot tell you anything. I have never used proportional > fonts in emacs. Good luck with that.