sc wrote:

> On Monday 17 January 2011 18:40:50 raf wrote:
> 
> > hi,
> 
> > 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.
> 
> > gtk vim takes a -geometry argument which i assumed was like
> > x11's standard -geometry option in that it lets you specify
> > the geometry of the window (i.e. its size and position).
> 
> > however, i've just read the documentation for this option
> > (gui_x11.txt) and it seems that it only mentions the size.
> > it doesn't mention position at all.
> 
> > would it be possible/acceptable to make the geometry option
> > argument handle the standard syntax (i.e. #x#[+-]#[+-]#) and
> > support specifiying the position of the window as well as its
> > size? is there any reason that it doesn't do this?
> 
> > hmm, i've just looked at the code (gui_gtk_x11.c) and it does
> > parse the position part of the geometry argument and it does
> > try to use it in a call to gtk_window_move() but it doesn't
> > seem to be working. any idea why that might be?
> 
> i'd forget gtk options -- source a script that specifies
> winsize and winpos -- will those work for you on the mac?
> 
>     :h winsize
>     :h winpos
> sc

they won't work on any platform. they only apply once the
window has already been realised. if i try these, then i
still have to aim the "mouse" and click. then the window
appears and then the winsize/winpos commands resize/move
the window. so they are of no use at all to me.

thanks anyway,
raf

p.s. i can't see any reason to forget gtk options since they exist.
but it would be nice if they worked.

-- 
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

Reply via email to