[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shuddering initial frame, dump-emacs, source
From: |
V. L. Simpson |
Subject: |
Re: shuddering initial frame, dump-emacs, source |
Date: |
28 Feb 2004 09:23:04 -0600 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>>>>> "Joe" == Joe Corneli <jcorneli@math.utexas.edu> writes:
> The look of my emacs is pretty heavily customized (font, color,
> absence of menubar, etc. are different from the standard
> settings). When I load Emacs, it shudders and flashes
> spasmodically as it transforms itself from the white background
> with a small font and a menubar to the black background with a
> large font and no menubar. I've considered running dump-emacs
> (but I can't get it to work, can anyone?) - and other than that
> I don't know how to change the style of the default frame. Is
> there a way to change the load order so that Emacs never goes
> into the small font, white background mode? Maybe I should
> rebuild by hand? Any suggestions? What are people using to
> deal with heavily customized emaces?
You can set your options in .Xresources and then set the same options
in your emacs init file using 'initial-frame-alist' variable.
My setup follows:
.Xresources
! emacs
emacs*background: DarkBlue
emacs*foreground: Wheat
emacs.geometry: 80x55+70+10
emacs.font: "-adobe-courier-medium-r-*-*-14-*-*-*-*-*-*-*"
Emacs.MenuBar: off
Emacs.ToolBar: 0
Emacs.ScrollBars: off
Elisp code:
(cond (window-system
(setq initial-frame-alist
'((top . 10) (left . 70)
(width . 80) (height . 55)
(font . "-adobe-courier-medium-r-*-*-14-*-*-*-*-*-*-*")))
(setq default-frame-alist
'((top . 5) (left . 55)
(width . 80) (height . 25)
(font . "-adobe-courier-medium-r-*-*-14-*-*-*-*-*-*-*")))
(blink-cursor-mode -1)
(auto-image-file-mode 1)
(tool-bar-mode -1)
(tooltip-mode -1)
(mouse-avoidance-mode 'jump)))
More details are in the manual. Look up frames and Xresources.
Have fun,
vls