Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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