* Re: startup resize
[not found] <mailman.540.1074012057.928.help-gnu-emacs@gnu.org>
@ 2004-01-14 11:36 ` leo
2004-01-14 12:11 ` Giannandrea Castaldi
0 siblings, 1 reply; 5+ messages in thread
From: leo @ 2004-01-14 11:36 UTC (permalink / raw)
Giannandrea Castaldi <g.castal@tiscali.it> writes:
> I've changed my font in .emacs and now when emacs starts it:
> 1. start with default font
> 2. maximize the frame
> 3. change the font (for my settings in .emacs)
> How can I remove the step 2 (maximize the frame) or postpone it after
> my font setting?
what do you want to achive? that emacs has the correct font straight
away?
well under X11 you can use the x-resource to set the font correct right
from the start. but don't forget the lisp var settings: i think, emacs
needs them as well.
i guess the emacs faq has something exactly about your problem.
hope that helps
leo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: startup resize
2004-01-14 11:36 ` startup resize leo
@ 2004-01-14 12:11 ` Giannandrea Castaldi
2004-01-14 13:39 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: Giannandrea Castaldi @ 2004-01-14 12:11 UTC (permalink / raw)
leo wrote:
> Giannandrea Castaldi <g.castal@tiscali.it> writes:
>
>
>>I've changed my font in .emacs and now when emacs starts it:
>>1. start with default font
>>2. maximize the frame
>>3. change the font (for my settings in .emacs)
>>How can I remove the step 2 (maximize the frame) or postpone it after
>>my font setting?
>
>
> what do you want to achive? that emacs has the correct font straight
> away?
Yes, I would like to eliminate the initial refresh and to have the frame
maximized. I think that there is a file under the emacs installation
where are configured (I suppose /usr/share/emacs/21.3/lisp)
>
> well under X11 you can use the x-resource to set the font correct right
> from the start. but don't forget the lisp var settings: i think, emacs
> needs them as well.
>
> i guess the emacs faq has something exactly about your problem.
>
> hope that helps
>
> leo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: startup resize
2004-01-14 12:11 ` Giannandrea Castaldi
@ 2004-01-14 13:39 ` Eli Zaretskii
0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2004-01-14 13:39 UTC (permalink / raw)
> From: Giannandrea Castaldi <g.castal@tiscali.it>
> Date: Wed, 14 Jan 2004 13:11:28 +0100
>
> leo wrote:
> > Giannandrea Castaldi <g.castal@tiscali.it> writes:
> >
> >
> >>I've changed my font in .emacs and now when emacs starts it:
> >>1. start with default font
> >>2. maximize the frame
> >>3. change the font (for my settings in .emacs)
> >>How can I remove the step 2 (maximize the frame) or postpone it after
> >>my font setting?
> >
> >
> > what do you want to achive? that emacs has the correct font straight
> > away?
> Yes, I would like to eliminate the initial refresh and to have the frame
> maximized.
The Emacs startup code defines a few hook variables designed for such
situations: if these variables are non-nil, Emacs calls the functions
they list at certain strategic points of its startup procedure.
Search startup.el for "-hook" to see the whole story.
In this case, `after-init-hook' seems to be what you want: write a
short function that maximizes the frame, and set `after-init-hook' to
that function. See the doc string of `after-init-hook' for more
details.
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <72A87F7160C0994D8C5A36E2FDC227F50896C92C@txnexc01.americas.cpqcorp.net>]
* startup resize
@ 2004-01-13 15:17 Giannandrea Castaldi
0 siblings, 0 replies; 5+ messages in thread
From: Giannandrea Castaldi @ 2004-01-13 15:17 UTC (permalink / raw)
I've changed my font in .emacs and now when emacs starts it:
1. start with default font
2. maximize the frame
3. change the font (for my settings in .emacs)
How can I remove the step 2 (maximize the frame) or postpone it after my
font setting?
Thanks for any help.
Giannandrea
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-01-14 13:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.540.1074012057.928.help-gnu-emacs@gnu.org>
2004-01-14 11:36 ` startup resize leo
2004-01-14 12:11 ` Giannandrea Castaldi
2004-01-14 13:39 ` Eli Zaretskii
[not found] <72A87F7160C0994D8C5A36E2FDC227F50896C92C@txnexc01.americas.cpqcorp.net>
2004-01-14 11:58 ` Giannandrea Castaldi
2004-01-13 15:17 Giannandrea Castaldi
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).