Some times, depending of the resolution of the monitor, the window of Emacs is bigger than it should. For controlling the size, I added a Lisp line to my .emacs file
(setq default-frame-alist '((width . 80) (height . 33) (menu-bar-lines . 1)))
which set the display to 80 columns and 33 rows.