unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: vls@m-net.arbornet.org (V. L. Simpson)
Subject: Re: shuddering initial frame, dump-emacs, source
Date: 28 Feb 2004 09:23:04 -0600	[thread overview]
Message-ID: <87r7wfqld3.fsf@godzilla.localnet> (raw)
In-Reply-To: mailman.727.1077941682.340.help-gnu-emacs@gnu.org

>>>>> "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

       reply	other threads:[~2004-02-28 15:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.727.1077941682.340.help-gnu-emacs@gnu.org>
2004-02-28 15:23 ` V. L. Simpson [this message]
     [not found] <mailman.813.1078105000.340.help-gnu-emacs@gnu.org>
2004-03-01 19:24 ` shuddering initial frame, dump-emacs, source Kevin Rodgers
2004-03-01  1:26 Joe Corneli
  -- strict thread matches above, loose matches on Subject: below --
2004-02-28  4:14 Joe Corneli

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r7wfqld3.fsf@godzilla.localnet \
    --to=vls@m-net.arbornet.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.
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).