<div dir="ltr">Hello,<div><br></div><div>I'm trying to configure Aquamacs so that new windows (aka emacs "frames") will pop up in a tiled fashion.  I know Aquamacs has a tiling option, but I don't want the Aquamacs windows to use the entire screen and I don't want to have to retile every time I open another window.  Basically, I want to be able to specify the default position of windows without having all subsequent windows open in the exact same location.</div>
<div><br></div><div>I tried to write a few lines in my .emacs file to accomplish this, but thus far I've failed.  The relevant lines from my .emacs file are at the end of this message.  Hopefully its just a lisp syntax issue on my part, as I've never used lisp outside of basic Emacs configuration.  There are two types of behavior Aquamacs exhibits with these lines, depending on whether smart-frame-positioning-mode is enabled or not.  If so, my positioning arguments are ignored and all Emacs windows are popped on the left boundary of the screen, presumably with "left" set to 0.  If smart-frame-positioning-mode is disabled, Aquamacs fails on startup with the following output to the message buffer:</div>
<div>Wrong type argument: integerp, xoffset<br></div><div><br></div><div>Is what I am trying to accomplish possible in Aquamacs, and if so, is my method below the proper way to go about it?  Let me know if there's any other useful information I can provide.</div>
<div><br></div><div>Thanks,</div><div>Adrian</div><div><br></div><div>(setq framecount (length (visible-frame-list)))</div><div><div>(setq xoffset (- 1005 (* framecount 300)))</div><div>(setq default-frame-alist</div><div>
      (append</div><div>       '((left . xoffset)</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> (top . 0)</div><div><span class="Apple-tab-span" style="white-space:pre">   </span> (width . 80)</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span> (height . 73))</div><div>       default-frame-alist))</div><div><br></div><div>(setq initial-frame-alist</div><div>      (append</div><div>       '((left . 1005)</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span> (top . 0)</div><div><span class="Apple-tab-span" style="white-space:pre">   </span> (width . 80)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span> (height . 73))</div>
<div>       initial-frame-alist))</div></div></div>