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?

link|improve this question
feedback

3 Answers

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'
link|improve this answer
feedback

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

link|improve this answer
Has anyone reported it? – Tom Wijsman Mar 6 at 22:09
feedback

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

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

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.