Re: xemacs window size/position upon startup setting (on Win NT/XP)

<[email protected]> Sun, 21 Nov 2004 10:07:17 -0800
Newsgroups gmane.emacs.xemacs.windows
Message-ID <[email protected]>
-----Original Message-----
From: Jonathan Harris <[email protected]>

Stick something like:

(setq initial-frame-plist '(top 0 left 0 width 80 height 67))

in your ~/.xemacs/init.el file.
-------------------------------------

That works to an extent.

It works great to set the initial size, but the position (top 0, left 
0) is still relative to wherever the default MS Win XP window manager 
puts new apps on the screen (so if I just make the size (width, height) 
small enough for the "lowest to the right" top/left setting from XP, 
then that helps avoid stomping on my task bar).  I guess what I really 
want is a way to have it a) start exactly where I say on my XP desktop, 
or better b) remember the last window size/position when I exit, or 
even better c) be able to 'save' the current position & size as the 
default (whenever I execute a "Set default window size/position 
preference" macro).

Is there a library somewhere of useful macros like this (even a similar 
one that I could modify to do what I want it to)?  Short of finding 
that, I guess I'll have to learn Lisp / XEmacs & a smidgen of XP 
internals, eh?

Btw, if there's a more 'user-oriented' xemacs list I should post to 
(rather than this development focused one), please let me know.

Thanks again Jonathan!