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

I'm using GNOME and xmonad. When I first open Emacs, it doesn't use the full width and height of its window. If I then change the size of the window, emacs corrects itself to fill the window, and works perfectly thereafter. How can I fix this?

share|improve this question

From man emacs:

starting emacs with emacs -fs opens emacs in full screen mode

to automate this, add the following to your .bashrc file (found in /home/user/.bashrc):

alias emacs='emacs -fs'
share|improve this answer

I don't think it's fixable; this is a longstanding Emacs bug/annoyance.

share|improve this answer
Has anyone reported it? – Tom Wijsman Mar 6 '12 at 22:09
Do you have a link to the bug? – Tom Wijsman Aug 9 '12 at 12:37

Works for me if placed in the last line of my .emacs:

(if (window-system) (set-frame-size (selected-frame) 1280 1000))

share|improve this answer

You must log in to answer this question.

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