# Emacs frames can't cover the screen's height

I am using these commands in order to customize the height and the width of the Emacs frames when it starts:

(add-to-list 'default-frame-alist '(height . 50))

• If you want control every pixel precisely and have it always be perfect, then you will need to use set-frame-size (using the optional pixelwise argument) and set-frame-position. If you are happy with almost perfect and just about right, then the other forum participants will recommend things like toggle-frame-maximized. Here is the link to the relevant documentation: gnu.org/software/emacs/manual/html_node/elisp/… Here is what I use for OSX and Windows: stackoverflow.com/a/18711628/2112489 – lawlist May 11 '15 at 5:05
• I don't understand what you are trying to do. If you just want to set the height and width of a new frame by default then what you tried should do that. However, a better way to do that is to customize option default-frame-alist - that's why it's a user option. But I fear that you are trying to do something else, which I haven't fathomed... – Drew May 11 '15 at 5:12