For Aquamacs (emacs), how can I configure the size of the window when it starts? (E.g. have it always start fullscreen, or better - exactly half of the screen.)

link|improve this question

65% accept rate
+1 for realizing that half the screen is a better size for an editor than fullscreen – Doug Harris Aug 27 '09 at 20:13
feedback

1 Answer

up vote 1 down vote accepted

You should customize the variables "default-frame-alist" and "initial-frame-alist" via ellisp in your init.el file or through M-x customize.

See the fine manual: 29.3.2 Initial Frame Parameters

http://www.gnu.org/software/emacs/manual/html_mono/elisp.html#Frame-Parameters

For example, to set frames to half the width and height of a 1280 x 800 display:

(setq default-frame-alist (add-to-list 'default-frame-alist '(width . 640)))
(setq default-frame-alist (add-to-list 'default-frame-alist '(height  . 400)))
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.