Some time ago, John Morey wrote...
|+
| I have the following in my .emacs file:
|
| (set-specifier default-toolbar-height 48)
| (setq initial-frame-alist
| '(
| (width . 81)
| (height . 35)
| ))
| ))
|
| The code does work, as in it makes the toolbar larger and the initial
| frame the size that I want it, but it does not take effect until the
| frame has already been displayed. Currently the initial frame is
| displayed before that changes take effect and then the frame display
| changes when .emacs is read in. Is there a way that I can specify
| the changes before the initial frame is displayed so that it initially
| comes up the way that it is to be displayed.
|-
This is the behavior by design for the first frame, and a known bug for
the second one, Windows specific.
The only[1] way to specifiy frame size for the first frame to avoid
what's your dislike is:
1. Create a file named auto-autoloads.el in an empty directory which
is a sibling to packages in your package hierarchy. Say if you have
.../packages/lisp/xemacs-base create .../packages/lisp/evilhack,
and put the file into this directory.
2. Put the following into the file:
;;;### autoload
(setq default-frame-plist '(width 81 height 35))
May we load something like ~/.xemacs-early for those who care?
Kirill
[1] With variations thereof
Show replies by date