From: Bruce Ingalls <bingalls@CUT-this-SPAM-BLOCK.fit-zones.com>
Subject: Re: desktop height?
Date: Tue, 28 Jan 2003 18:32:09 GMT [thread overview]
Message-ID: <J0AZ9.55797$Oj7.11845179@twister.nyc.rr.com> (raw)
In-Reply-To: <vf65s9pcx1.fsf@rpc71.cs.man.ac.uk>
Phillip Lord wrote:
> "Bruce" == Bruce Ingalls <bingalls.NO_SPAM@fit-zones.com> writes:
>
>
> Bruce> Does anyone know a way to calculate the height of the desktop
> Bruce> in elisp?
...
> I used to probe the display to get what is effectively a maximised
> emacs, on start up. I stopped doing this because probing in this way
> misses things like the Gnome toolbar (which I still want to be
> visible).
>
> In recent years I've just gone onto setting it by hand.
Send me your code!
I already use `ps` to check for gnome-panel, kicker, and others.
I'm not sure how to detect a menu at the top of Sawfish, but this has a
manual override.
I'm using this for the EMacro project, where the point of its ease of
use, is to
make the computer do the work, instead of you.
The Unux philosophy is that you have to spend hours customzing, which makes
bosses nervous, because you've started the project, and they don't see
you getting
any work done yet.
Another philosophy sets you up, and gets you going. Just don't change
the settings
from the way they do business in Redmond.
The EMacro philosophy is to use those smart, easy wizards to set you up,
then gets
out of the way, to tweak like a Unix hack, should that be necessary.
Hey 5.0 * 10^0 EMacro fans must be onto something!
Here's some X Window code, which works well, but doesn't help Mac nor w32:
(/ (- (x-display-pixel-height) 50) (frame-char-height))
next prev parent reply other threads:[~2003-01-28 18:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-28 6:47 desktop height? Bruce Ingalls
2003-01-28 14:27 ` Phillip Lord
2003-01-28 18:32 ` Bruce Ingalls [this message]
2003-01-28 18:48 ` Phillip Lord
2003-01-28 21:09 ` Bruce Ingalls
2003-01-31 8:07 ` Lee Sau Dan
2003-01-30 14:40 ` Chris McMahan
2003-01-31 0:11 ` Bruce Ingalls
2003-01-31 13:48 ` Chris McMahan
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='J0AZ9.55797$Oj7.11845179@twister.nyc.rr.com' \
--to=bingalls@cut-this-spam-block.fit-zones.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.
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.