* 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).