I would like all frames to overlap at (1,1)
. Yet with a .emacs
containing
(setq initial-frame-alist
'((top . 1) (left . 1) (width . 80) (height . 55)))
(setq default-frame-alist
'((top . 1) (left . 1) (width . 80) (height . 55)))
calling C-x 5 2 results in frames in a cascade, as you see in the figure.
How can I force all frames to be anchored at the same place?
I am running Emacs 23.3.1 on OS X (Mountain Lion).
The settings are not being ignored. The reason you see the above behaviour is due to a
before-make-frame-hook
in ns-win.el that adds 25 to top and left.To avoid the above effect you can add the following to your .emacs file:
If the above doesn't work you can try the following which is taken from
ns-win.el before-make-frame-hook
.