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

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

Re: Screen size (pixels or whatever)


From: JohnF
Subject: Re: Screen size (pixels or whatever)
Date: Tue, 23 Jun 2015 01:19:41 +0000 (UTC)
User-agent: tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (NetBSD/6.1.5 (i386))

Vasily Korytov <vasily.korytov@yandex.com> wrote:
> 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).
> Found the answer just after posting.
> Thanks for reading this.

I've been using
  ;;; initial frame width,height,position
  (set-frame-width (selected-frame) 80)        ; #chars wide
  (set-frame-height (selected-frame) 52)       ; #lines ling
  (set-frame-position (selected-frame) 10 10 ) ; x y from upper-left
What's the diff???
-- 
John Forkosh  ( mailto:  j@f.com  where j=john and f=forkosh )


reply via email to

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