From: Drew Adams <drew.adams@oracle.com>
To: Michael Heerdegen <michael_heerdegen@web.de>, help-gnu-emacs@gnu.org
Subject: RE: get current frame size?
Date: Mon, 12 Oct 2015 06:24:15 -0700 (PDT) [thread overview]
Message-ID: <7e5aaa23-d8df-42e4-b2a4-973343b4861a@default> (raw)
In-Reply-To: <87y4f8w84d.fsf@web.de>
> - You can also calculate the frame parameters at run time using
> `display-pixel-width', `display-pixel-width'. But I don't think
> Emacs knows the sizes of window borders and title bar, so the approach
> is somewhat limited. At least can you use the above functions to test
> on which kind of screen you "are".
>
> - Drew Adam's "frame-cmds.el" has additional related stuff.
See also the code in `oneonone.el'. It uses `(x-display-pixel-width)'
(and `...-height'), called `display-pixel-width' in recent Emacs (both
names work).
prev parent reply other threads:[~2015-10-12 13:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-12 11:51 get current frame size? Sivaram Neelakantan
2015-10-12 13:04 ` Michael Heerdegen
2015-10-12 13:24 ` Drew Adams [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7e5aaa23-d8df-42e4-b2a4-973343b4861a@default \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=michael_heerdegen@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.