[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Screen size (pixels or whatever)
From: |
Alan Schmitt |
Subject: |
Re: Screen size (pixels or whatever) |
Date: |
Tue, 23 Jun 2015 16:23:34 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) |
On 2015-06-22 22:52, Vasily Korytov <vasily.korytov@yandex.com> writes:
> 22 черв. 2015 о 23:49 Vasily Korytov <vasily.korytov@yandex.com> написав(ла):
>> How do I get screen size in Emacs?
>
> The answer is (display-pixel-width) and (display-pixel-height).
This gives you the full width and height, including menu bars. I think
Drew Adams has code that takes this into account in his 1on1 library
(http://www.emacswiki.org/emacs/OneOnOneEmacs), but I don't recall which
file this is in exactly.
Alan
--
OpenPGP Key ID : 040D0A3B4ED2E5C7
Weekly CO₂ average (2015-05-30, Mauna Loa Observatory): 403.41 ppm
signature.asc
Description: PGP signature