all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Can I read the display size?
@ 2022-01-08 11:15 Daniel Fleischer
  2022-01-08 11:25 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Fleischer @ 2022-01-08 11:15 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all, 

I was wondering if there is a way to read the display size or frame
size? I want to develop some logic that will change variables according
to whether I'm using my laptop's screen versus an external screen -
changing some fonts size, columns, etc.

Thanks, 

-- 

Daniel Fleischer



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can I read the display size?
  2022-01-08 11:15 Can I read the display size? Daniel Fleischer
@ 2022-01-08 11:25 ` Eli Zaretskii
  2022-01-08 15:15   ` Daniel Fleischer
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2022-01-08 11:25 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Daniel Fleischer <danflscr@gmail.com>
> Date: Sat, 08 Jan 2022 13:15:52 +0200
> 
> I was wondering if there is a way to read the display size or frame
> size?

See these nodes in the ELisp Reference manual:

 . Multiple Terminals
 . Frame Size




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can I read the display size?
  2022-01-08 11:25 ` Eli Zaretskii
@ 2022-01-08 15:15   ` Daniel Fleischer
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Fleischer @ 2022-01-08 15:15 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs

Eli Zaretskii [2022-01-08 Sat 13:25] wrote:

> See these nodes in the ELisp Reference manual:
>
>  . Multiple Terminals
>  . Frame Size

Thanks, that looks useful. 

-- 

Daniel Fleischer



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-08 15:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-08 11:15 Can I read the display size? Daniel Fleischer
2022-01-08 11:25 ` Eli Zaretskii
2022-01-08 15:15   ` Daniel Fleischer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.