Ben Schmidt wrote: > >>>i have recently been forced to use the gtk version of gvim > >>>on macosx and am desperately wishing to be able to start > >>>it and have it appear with the size and position of my > >>>choice automatically without me having to aim the the mouse > >>>and click in order to position it. with the motif and athena > >>>versions of vim i could rely on x resources to do this. > > I use GTK2 vim GUI in Mac OS X and don't have this behaviour. Gvim > starts up pretty slowly for some reason (maybe it's loading stacks of X > libraries slowly or something),
yes, the motif version starts up faster that i can see but the gtk2 version takes about a second. but only in the X11 that comes with macosx-10.6. it's faster with the latest version of xquartz. > and it gives me this warning on the > terminal, so it can't be started in the background: > > Xlib: extension "RANDR" missing on display i often see that error but it seems unimportant. it's just a bit noisy. > But it works, and I don't have to click at all. Maybe try downloading > and installing the latest X11.app from > > http://xquartz.macosforge.org/trac/wiki that didn't change anything (except that gtk starts faster). > That might help. I know I installed a later one a while back to fix some > problem; can't remember what the problem was now, but it fixed it! Also, > perhaps check the X11.app preferences--maybe there's some option about > window placement or something that is set differently on your machine to > mine. that's up to the window manager configuration, not X11 itself. > Once you get over that hurdle, the winsize/pos stuff should work fine. > It does for me. I have some plugin/script off the Vim Tips wiki that > keeps track of window sizes/positions and restores them, IIRC. > > Just a couple of ideas! > > Ben. thanks. i fixed my problem by getting the motif version working again. the reason that vim -g was crashing instantly on startup was because i had motif and a lot of X11 stuff from macports but it was using the libXpm that came with the system (that was probably my fault) and the crashing had to do with libXpm. when i installed the macports vesion of libXpm it stopped crashing and started appearing automatically where it was instructed to. yay! cheers, raf -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
