all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: set window size on init
Date: Wed, 11 Nov 2009 20:31:51 +0200	[thread overview]
Message-ID: <83r5s4oqug.fsf@gnu.org> (raw)
In-Reply-To: <870a1e44-3904-487b-8d65-42ad53f5f3ec@w37g2000prg.googlegroups.com>

> From: Xah Lee <xahlee@gmail.com>
> Date: Tue, 10 Nov 2009 11:57:14 -0800 (PST)
> 
> i have, at the end of my .emacs this code:
> 
> ; set window size to 100x58 chars.
> (set-frame-size (selected-frame) 100 58)
> 
> however, it doesn't work.
> But eval-region the code itself would work.

Does it help to run this from term-setup-hook or window-setup-hook?

The reason for the inconsistency is that Emacs initializes the GUI
display at some specific point during startup, and any customizations
of the display before that point will generally be overridden.




  parent reply	other threads:[~2009-11-11 18:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-10 19:57 set window size on init Xah Lee
2009-11-10 20:39 ` despen
2009-11-11  8:32 ` Kiwon Um
2009-11-11 21:01   ` Xah Lee
2009-11-11 18:31 ` Eli Zaretskii [this message]
     [not found] ` <mailman.10516.1257964476.2239.help-gnu-emacs@gnu.org>
2009-11-11 20:05   ` despen
2009-11-14  6:51     ` Jonathan Groll

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=83r5s4oqug.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.