From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: How to get the new frame? Date: Thu, 23 Jul 2015 22:26:42 +0300 Message-ID: <83y4i63cb1.fsf@gnu.org> References: <20150721004403.1229.1C8BC4D7@ahiker.mooo.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1437679629 21864 80.91.229.3 (23 Jul 2015 19:27:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jul 2015 19:27:09 +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 21:27:00 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 1ZIM8y-00055p-KF for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Jul 2015 21:27:00 +0200 Original-Received: from localhost ([::1]:42561 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIM8x-0005wV-Sh for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Jul 2015 15:26:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIM8o-0005vJ-4A for help-gnu-emacs@gnu.org; Thu, 23 Jul 2015 15:26:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZIM8k-0003Cd-Qk for help-gnu-emacs@gnu.org; Thu, 23 Jul 2015 15:26:50 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:39506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIM8k-0003Al-Jb for help-gnu-emacs@gnu.org; Thu, 23 Jul 2015 15:26:46 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NRY00400GOEAD00@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Thu, 23 Jul 2015 22:26:44 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NRY0037KGOKUJ80@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Thu, 23 Jul 2015 22:26:44 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:105941 Archived-At: > From: "B. T. Raven" > Date: Thu, 23 Jul 2015 13:21:52 -0500 > > > 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. Upgrade to 24.5, the latest, and you will have the first function as well. > 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.). I don't understand what that means, nor what you wanted to achieve, and how exactly did you try achieving that via display-mm-dimensions-alist. Please show more of your code. > 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. Again, I fail to follow. Where I'm typing this, I get M-: (display-mm-height) RET => 180 What doesn't work for you? Was this the function you tried? > Btw, what is this first string in the documentation of the variable: > (":0.0" . (287 . 215))? The display name, only significant on X. > I was hoping that Emacs might be able to interrogate the hardware > somehow through the OS. It does. > In the context of my original question, is my goal somehow > achievable. If so, what's the recipe? Not sure what is the question, exactly. You said back then: > I use 2 frames under w32, w64, courier (monospace 8 line high) to > display *Calendar* and arial (proportional font) for everything else. Is > there any other way to accomplish this? Other than what? other than using a separate frame? Then I suggest to have a look at buffer-face-mode and its commands. That's what is at work when you click Shift-mouse-1 and select a font for the current buffer.