help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get the new frame?


From: B. T. Raven
Subject: Re: How to get the new frame?
Date: Thu, 23 Jul 2015 13:21:52 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1

On 7/23/2015 10:52 AM, Eli Zaretskii wrote:
From: "B. T. Raven" <btraven@nihilo.net>
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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]