all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: despen@verizon.net
To: help-gnu-emacs@gnu.org
Subject: Re: set window size on init
Date: Tue, 10 Nov 2009 15:39:16 -0500	[thread overview]
Message-ID: <icaayuyv0r.fsf@verizon.net> (raw)
In-Reply-To: 870a1e44-3904-487b-8d65-42ad53f5f3ec@w37g2000prg.googlegroups.com

Xah Lee <xahlee@gmail.com> writes:

> 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.
>
> Anyone know why's that?

I don't think you have a "selected-frame" while
.emacs is being read.

I don't see that in the documentation but under
.emacs processing, it says it reads terminal specific
stuff after it reads the .emacs:

"Emacs runs the hook term-setup-hook at the end of initialization, after
both your `.emacs' file and any terminal-specific library have been read
in."


  reply	other threads:[~2009-11-10 20:39 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 [this message]
2009-11-11  8:32 ` Kiwon Um
2009-11-11 21:01   ` Xah Lee
2009-11-11 18:31 ` Eli Zaretskii
     [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=icaayuyv0r.fsf@verizon.net \
    --to=despen@verizon.net \
    --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.