unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "B.T. Raven" <ejmn@cpinternet.com>
Subject: Re: Initial frame geometry in w32 gnu emacs
Date: Thu, 26 May 2005 06:58:04 -0500	[thread overview]
Message-ID: <119behl89mi3ccc@corp.supernews.com> (raw)
In-Reply-To: mailman.1852.1117078839.25862.help-gnu-emacs@gnu.org


"Eli Zaretskii" <eliz@gnu.org> wrote in message
news:mailman.1852.1117078839.25862.help-gnu-emacs@gnu.org...
> > From: "B.T. Raven" <ejmn@cpinternet.com>
> > Date: Wed, 25 May 2005 18:37:14 -0500
> >
> > According to the docs, launching under X with the --geometry
argument
> > (along with suitable parameters) will size and position the initial
> > frame on the screen. Can the same thing be accomplished by adding
code
> > to the .emacs?
>
> Yes.  Here's an example:
>
>     (add-to-list 'default-frame-alist '(top . 0))
>     (add-to-list 'default-frame-alist '(left . 140))
>     (add-to-list 'default-frame-alist '(height . 42))
>
>

Thanks, Eli. I didn't know about add-to-list, so I ended up using:

 (setq initial-frame-alist '((top . 370) (left . 1) (width . 163)
(height . 17)))

which fills the bottom half of a 17" monitor. (I may have to modify it
for the laptop.) During emacs startup two other frame sizes flash on the
screen briefly but this is only an esthetic blemish. There must be lower
level settings of the frame geometry not accessible to the user.

Ed

  parent reply	other threads:[~2005-05-26 11:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-25 23:37 Initial frame geometry in w32 gnu emacs B.T. Raven
2005-05-26  3:36 ` Eli Zaretskii
     [not found] ` <mailman.1852.1117078839.25862.help-gnu-emacs@gnu.org>
2005-05-26 11:58   ` B.T. Raven [this message]
2005-05-27 18:46     ` optional

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=119behl89mi3ccc@corp.supernews.com \
    --to=ejmn@cpinternet.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).