1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Crash when changing to another window while in a :vimgrep command.
13 Solution: When wiping out the dummy before, remove it from aucmd_win.
17 *** ../vim-7.3.065/src/quickfix.c 2010-09-21 16:56:29.000000000 +0200
18 --- src/quickfix.c 2010-11-24 16:27:40.000000000 +0100
25 + buf_T *newbuf_to_wipe = NULL;
34 ! /* Bloody autocommands changed the buffer! */
35 ! if (buf_valid(newbuf))
36 ! wipe_buffer(newbuf, FALSE);
41 /* restore curwin/curbuf and a few other things */
45 if (!buf_valid(newbuf))
50 ! /* Bloody autocommands changed the buffer! Can happen when
51 ! * using netrw and editing a remote file. Use the current
52 ! * buffer instead, delete the dummy one after restoring the
54 ! newbuf_to_wipe = newbuf;
59 /* restore curwin/curbuf and a few other things */
61 + if (newbuf_to_wipe != NULL && buf_valid(newbuf_to_wipe))
62 + wipe_buffer(newbuf_to_wipe, FALSE);
65 if (!buf_valid(newbuf))
66 *** ../vim-7.3.065/src/version.c 2010-11-24 15:50:54.000000000 +0100
67 --- src/version.c 2010-11-24 16:30:44.000000000 +0100
71 { /* Add new patch number below this line */
77 CART DRIVER: Bring out your dead!
78 We follow the cart through a wretched, impoverished plague-ridden village.
79 A few starved mongrels run about in the mud scavenging. In the open
80 doorway of one house perhaps we jug glimpse a pair of legs dangling from
81 the ceiling. In another doorway an OLD WOMAN is beating a cat against a
82 wall rather like one does with a mat. The cart passes round a dead donkey
83 or cow in the mud. And a MAN tied to a cart is being hammered to death by
84 four NUNS with huge mallets.
85 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
87 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
88 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
89 \\\ an exciting new programming language -- http://www.Zimbu.org ///
90 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///