I have an occasional issue where my sessions do not restore the window size correctly. This is in 7.3d, using GTK GUI (the issue may well exist under Windows, but I haven't tried it there yet).
I have a rather complex sessions setup, but the point is that I save a special value "WinColumns" (among others) which, after I read in a session, I set the "columns" to. Generally it works fine. In the case where I am starting gvim, I do this setting in a function called inside a GUIEnter autocommand, to ensure that the GUI is up and running before I try to set the columns. This also generally works fine. However, on occasion -- about every third or fourth time on average -- the GUI decides to set the "columns" to the (very odd) default value of 122, rather than to the value of WinColumns. I can see that WinColumns is correctly set to the value I expect, and the "echom" I placed to give that info is in the code which actually sets the columns size. But as I said, every so often gvim seems to ignore my directive. Since it usually works, I assume that my code is mostly fine, and that there is something odd, perhaps, in the timing of events that I don't understand. Any insights would be helpful. Best regards, Ron -- You received this message from the "vim_dev" 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
