From: Eli Zaretskii <eliz@gnu.org>
Cc: lekktu@gmail.com, emacs-devel@gnu.org
Subject: Re: Where is the frame resized after startup?
Date: Tue, 23 Jan 2007 06:08:10 +0200 [thread overview]
Message-ID: <u1wlme66t.fsf@gnu.org> (raw)
In-Reply-To: <45B538B8.9030203@gmail.com> (lennart.borgman@gmail.com)
> Date: Mon, 22 Jan 2007 23:20:40 +0100
> From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
> CC: lekktu@gmail.com, emacs-devel@gnu.org
> >
> > 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.
And why is window-setup-hook not good for that?
> > 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.
What do you mean by ``does not work''? Is the function called?
Also, I'm not quite clear about your usage of defcustom. Could you
show the code? Defcustoms have pitfalls.
next prev parent reply other threads:[~2007-01-23 4:08 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)
2007-01-23 4:08 ` Eli Zaretskii [this message]
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=u1wlme66t.fsf@gnu.org \
--to=eliz@gnu.org \
--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.