Emacs and window geometry

August Karlstrom fusionfive at comhem.se
Mon Sep 19 13:06:46 UTC 2005

Jhair Tocancipa Triana wrote:
>>On my system Emacs always starts with a maximized window and ignores my
>>window geometry settings in `~/.emacs'. Is somebody else experiencing
>>the same problem?
> Have you tried to specifiy the window geometry using the .Xresources
> file 

No output from

    $ locate .Xresources

> or the -g command line option as described in the Emacs manual?

If I run Emacs without an initialization file

    $ emacs -q -g <w>x<h>

or with

    $ emacs -g <w>x<h>

when ~/.emacs contains only

    (setq default-frame-alist '((height . 30)))

it works as expected if h <= 32. If h > 32 (or without command line 
options) the window is maximized.


More information about the ubuntu-users mailing list