2017-03-11 6:31 GMT+09:00 Danek Duvall <[email protected]>: > On Fri, Mar 10, 2017 at 09:34:43PM +0100, Bram Moolenaar wrote: > > > > > Danek - > > > > > On Thu, Mar 09, 2017 at 01:55:24PM +0100, Bram Moolenaar wrote: > > > > > > > Patch 8.0.0436 > > > > Problem: Running the options test sometimes resizes the terminal. > > > > Solution: Clear out t_WS. > > > > Files: src/testdir/gen_opt_test.vim > > > > > > Is this supposed to be the only thing in the test suite that resizes > the > > > terminal? Because that's still happening for me (with patch 442) when > > > running the full suite. > > > > Is that with the GUI perhaps? The patch only disables it for the > > terminal, because tests were sometimes failing, apparently because the > > original size was not restored and the height was too small to split the > > window. I'm assuming that for the GUI there is no problem restoring the > > size. > > No, this is in the terminal. But it must be happening due to a test other > than opt_test.vim. I can try to track it down, if there's interest. I'm > glad to have the beeping gone, now it would be nice if my terminal didn't > shrink every time I ran the tests. :) > > Danek >
Hi Though I'm not 100% sure whether or not what I'm going to tell you is relevant to the issue Danek is talking about, let me do so anyway because I think it's a good occasion for me to do that now. How to reproduce a resize problem: (1) Start X11 with the twm window manager running (Or, using any window manager of choice instead is a good idea for comparison, I think). (2) Open a terminal and resize it wider than 80 columns. (3) cd /.../vim/src && make && make test3 On my PC, the width of the terminal gets reduced to 80 columns during the test. It appears the problem is due to line 973 of test3.in: :set tw=0 wm=60 columns=80 noai fo=croq Though I've noticed that for a quite while, I've also found that whether or not the problem occurs depends on the window manager in use. So I had been holding back from reporting that. Best regards, Kazunobu > -- > -- > 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 > > --- > You received this message because you are subscribed to the Google Groups > "vim_dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
