|
Karsten Hopp |
a90a35 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
a90a35 |
Subject: Patch 7.3.066
|
|
Karsten Hopp |
a90a35 |
Fcc: outbox
|
|
Karsten Hopp |
a90a35 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
a90a35 |
Mime-Version: 1.0
|
|
Karsten Hopp |
a90a35 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
a90a35 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
a90a35 |
------------
|
|
Karsten Hopp |
a90a35 |
|
|
Karsten Hopp |
a90a35 |
Patch 7.3.066
|
|
Karsten Hopp |
a90a35 |
Problem: Crash when changing to another window while in a :vimgrep command.
|
|
Karsten Hopp |
a90a35 |
(Christian Brabandt)
|
|
Karsten Hopp |
a90a35 |
Solution: When wiping out the dummy before, remove it from aucmd_win.
|
|
Karsten Hopp |
a90a35 |
Files: src/quickfix.c
|
|
Karsten Hopp |
a90a35 |
|
|
Karsten Hopp |
a90a35 |
|
|
Karsten Hopp |
a90a35 |
*** ../vim-7.3.065/src/quickfix.c 2010-09-21 16:56:29.000000000 +0200
|
|
Karsten Hopp |
a90a35 |
--- src/quickfix.c 2010-11-24 16:27:40.000000000 +0100
|
|
Karsten Hopp |
a90a35 |
***************
|
|
Karsten Hopp |
a90a35 |
*** 3432,3437 ****
|
|
Karsten Hopp |
a90a35 |
--- 3432,3438 ----
|
|
Karsten Hopp |
a90a35 |
char_u *fname;
|
|
Karsten Hopp |
a90a35 |
{
|
|
Karsten Hopp |
a90a35 |
buf_T *newbuf;
|
|
Karsten Hopp |
a90a35 |
+ buf_T *newbuf_to_wipe = NULL;
|
|
Karsten Hopp |
a90a35 |
int failed = TRUE;
|
|
Karsten Hopp |
a90a35 |
aco_save_T aco;
|
|
Karsten Hopp |
a90a35 |
|
|
Karsten Hopp |
a90a35 |
***************
|
|
Karsten Hopp |
a90a35 |
*** 3468,3482 ****
|
|
Karsten Hopp |
a90a35 |
failed = FALSE;
|
|
Karsten Hopp |
a90a35 |
if (curbuf != newbuf)
|
|
Karsten Hopp |
a90a35 |
{
|
|
Karsten Hopp |
a90a35 |
! /* Bloody autocommands changed the buffer! */
|
|
Karsten Hopp |
a90a35 |
! if (buf_valid(newbuf))
|
|
Karsten Hopp |
a90a35 |
! wipe_buffer(newbuf, FALSE);
|
|
Karsten Hopp |
a90a35 |
newbuf = curbuf;
|
|
Karsten Hopp |
a90a35 |
}
|
|
Karsten Hopp |
a90a35 |
}
|
|
Karsten Hopp |
a90a35 |
|
|
Karsten Hopp |
a90a35 |
/* restore curwin/curbuf and a few other things */
|
|
Karsten Hopp |
a90a35 |
aucmd_restbuf(&aco;;
|
|
Karsten Hopp |
a90a35 |
}
|
|
Karsten Hopp |
a90a35 |
|
|
Karsten Hopp |
a90a35 |
if (!buf_valid(newbuf))
|
|
Karsten Hopp |
a90a35 |
--- 3469,3487 ----
|
|
Karsten Hopp |
a90a35 |
failed = FALSE;
|
|
Karsten Hopp |
a90a35 |
if (curbuf != newbuf)
|
|
Karsten Hopp |
a90a35 |
{
|
|
Karsten Hopp |
a90a35 |
! /* Bloody autocommands changed the buffer! Can happen when
|
|
Karsten Hopp |
a90a35 |
! * using netrw and editing a remote file. Use the current
|
|
Karsten Hopp |
a90a35 |
! * buffer instead, delete the dummy one after restoring the
|
|
Karsten Hopp |
a90a35 |
! * window stuff. */
|
|
Karsten Hopp |
a90a35 |
! newbuf_to_wipe = newbuf;
|
|
Karsten Hopp |
a90a35 |
newbuf = curbuf;
|
|
Karsten Hopp |
a90a35 |
}
|
|
Karsten Hopp |
a90a35 |
}
|
|
Karsten Hopp |
a90a35 |
|
|
Karsten Hopp |
a90a35 |
/* restore curwin/curbuf and a few other things */
|
|
Karsten Hopp |
a90a35 |
aucmd_restbuf(&aco;;
|
|
Karsten Hopp |
a90a35 |
+ if (newbuf_to_wipe != NULL && buf_valid(newbuf_to_wipe))
|
|
Karsten Hopp |
a90a35 |
+ wipe_buffer(newbuf_to_wipe, FALSE);
|
|
Karsten Hopp |
a90a35 |
}
|
|
Karsten Hopp |
a90a35 |
|
|
Karsten Hopp |
a90a35 |
if (!buf_valid(newbuf))
|
|
Karsten Hopp |
a90a35 |
*** ../vim-7.3.065/src/version.c 2010-11-24 15:50:54.000000000 +0100
|
|
Karsten Hopp |
a90a35 |
--- src/version.c 2010-11-24 16:30:44.000000000 +0100
|
|
Karsten Hopp |
a90a35 |
***************
|
|
Karsten Hopp |
a90a35 |
*** 716,717 ****
|
|
Karsten Hopp |
a90a35 |
--- 716,719 ----
|
|
Karsten Hopp |
a90a35 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
a90a35 |
+ /**/
|
|
Karsten Hopp |
a90a35 |
+ 66,
|
|
Karsten Hopp |
a90a35 |
/**/
|
|
Karsten Hopp |
a90a35 |
|
|
Karsten Hopp |
a90a35 |
--
|
|
Karsten Hopp |
a90a35 |
CART DRIVER: Bring out your dead!
|
|
Karsten Hopp |
a90a35 |
We follow the cart through a wretched, impoverished plague-ridden village.
|
|
Karsten Hopp |
a90a35 |
A few starved mongrels run about in the mud scavenging. In the open
|
|
Karsten Hopp |
a90a35 |
doorway of one house perhaps we jug glimpse a pair of legs dangling from
|
|
Karsten Hopp |
a90a35 |
the ceiling. In another doorway an OLD WOMAN is beating a cat against a
|
|
Karsten Hopp |
a90a35 |
wall rather like one does with a mat. The cart passes round a dead donkey
|
|
Karsten Hopp |
a90a35 |
or cow in the mud. And a MAN tied to a cart is being hammered to death by
|
|
Karsten Hopp |
a90a35 |
four NUNS with huge mallets.
|
|
Karsten Hopp |
a90a35 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
a90a35 |
|
|
Karsten Hopp |
a90a35 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
a90a35 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
a90a35 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
a90a35 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|