unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: how to set frame parameters?
Date: Tue, 18 Jan 2005 10:10:12 -0800	[thread overview]
Message-ID: <FDELKNEBLPKKDCEBEJCBKEDNCLAA.drew.adams@oracle.com> (raw)
In-Reply-To: <csji4v$h6p$1@quimby.gnus.org>


[-- Attachment #1.1: Type: text/plain, Size: 339 bytes --]

  the length set to the size of the screen where I'm working.  I had a
function that calculated the maximum length (max-lines) that I could use for
the window.
This is what I would do:

  (/ (x-display-pixel-height) (frame-char-height))

That gives you the max height in number of lines, which is what you want, if
I understand correctly.

[-- Attachment #1.2: Type: text/html, Size: 1590 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

      reply	other threads:[~2005-01-18 18:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-15  1:07 how to set window starting coordinates? Mickey Ferguson
2005-01-15  1:32 ` Jesper Harder
2005-01-17 17:45   ` Mickey Ferguson
2005-01-17 13:57 ` Peter Dyballa
2005-01-17 20:44 ` david.boon
2005-01-17 21:51   ` Mickey Ferguson
2005-01-18  3:20     ` Quokka
2005-01-18 17:48       ` how to set frame parameters? Mickey Ferguson
2005-01-18 18:10         ` 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FDELKNEBLPKKDCEBEJCBKEDNCLAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /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.
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).