From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
Cc: lekktu@gmail.com, emacs-devel@gnu.org
Subject: Re: Where is the frame resized after startup?
Date: Mon, 22 Jan 2007 23:20:40 +0100 [thread overview]
Message-ID: <45B538B8.9030203@gmail.com> (raw)
In-Reply-To: <u64ayep85.fsf@gnu.org>
Eli Zaretskii wrote:
>> Date: Mon, 22 Jan 2007 11:28:52 +0100
>> From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
>> CC: lekktu@gmail.com, emacs-devel@gnu.org
>>> What do you mean by ``after all startup code has run'', exactly?
>>
>> Yes, that was a bit unclear. In this case I meant "after creation and
>> sizing of the first frame".
>
> Assuming that window-setup-hook is not good for that, perhaps you can
> explain why you need that hook to run after sizing of the initial
> frame and no earlier.
A very simple thing. I want to maximize the frame.
> One idea to try is inside window-setup-hook put a function into
> after-make-frame-functions. That function should do whatever you want
> to do after initial frame is created, then remove itself from
> after-make-frame-functions.
Thanks, I have done that, but it does not work for the first frame. I
add to the hook in a defcustom.
next prev parent reply other threads:[~2007-01-22 22:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-21 23:44 Where is the frame resized after startup? Lennart Borgman
2007-01-21 23:50 ` Juanma Barranquero
2007-01-21 23:59 ` Lennart Borgman (gmail)
2007-01-22 1:32 ` Lennart Borgman (gmail)
2007-01-22 4:16 ` Eli Zaretskii
2007-01-22 10:28 ` Lennart Borgman (gmail)
2007-01-22 21:16 ` Eli Zaretskii
2007-01-22 22:20 ` Lennart Borgman (gmail) [this message]
2007-01-23 4:08 ` Eli Zaretskii
2007-01-23 18:22 ` Lennart Borgman (gmail)
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=45B538B8.9030203@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.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.