Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.)

share|improve this question
1  
+1 for realizing that half the screen is a better size for an editor than fullscreen – Doug Harris Aug 27 '09 at 20:13
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)))
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .