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.

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
add comment

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'
share|improve this answer
add comment

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
add comment

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
add comment

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.