|
Karsten Hopp |
e219b7 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
e219b7 |
Subject: Patch 7.2.375
|
|
Karsten Hopp |
e219b7 |
Fcc: outbox
|
|
Karsten Hopp |
e219b7 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
e219b7 |
Mime-Version: 1.0
|
|
Karsten Hopp |
e219b7 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
e219b7 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
e219b7 |
------------
|
|
Karsten Hopp |
e219b7 |
|
|
Karsten Hopp |
e219b7 |
Patch 7.2.375
|
|
Karsten Hopp |
e219b7 |
Problem: ml_get errors when using ":bprevious" in a BufEnter autocmd.
|
|
Karsten Hopp |
e219b7 |
(Dominique Pelle)
|
|
Karsten Hopp |
e219b7 |
Solution: Clear w_valid when entering another buffer.
|
|
Karsten Hopp |
e219b7 |
Files: src/buffer.c
|
|
Karsten Hopp |
e219b7 |
|
|
Karsten Hopp |
e219b7 |
|
|
Karsten Hopp |
e219b7 |
*** ../vim-7.2.374/src/buffer.c 2010-01-19 14:59:14.000000000 +0100
|
|
Karsten Hopp |
e219b7 |
--- src/buffer.c 2010-02-24 16:29:22.000000000 +0100
|
|
Karsten Hopp |
e219b7 |
***************
|
|
Karsten Hopp |
e219b7 |
*** 115,121 ****
|
|
Karsten Hopp |
e219b7 |
#endif
|
|
Karsten Hopp |
e219b7 |
|
|
Karsten Hopp |
e219b7 |
/* mark cursor position as being invalid */
|
|
Karsten Hopp |
e219b7 |
! changed_line_abv_curs();
|
|
Karsten Hopp |
e219b7 |
|
|
Karsten Hopp |
e219b7 |
if (curbuf->b_ffname != NULL
|
|
Karsten Hopp |
e219b7 |
#ifdef FEAT_NETBEANS_INTG
|
|
Karsten Hopp |
e219b7 |
--- 115,121 ----
|
|
Karsten Hopp |
e219b7 |
#endif
|
|
Karsten Hopp |
e219b7 |
|
|
Karsten Hopp |
e219b7 |
/* mark cursor position as being invalid */
|
|
Karsten Hopp |
e219b7 |
! curwin->w_valid = 0;
|
|
Karsten Hopp |
e219b7 |
|
|
Karsten Hopp |
e219b7 |
if (curbuf->b_ffname != NULL
|
|
Karsten Hopp |
e219b7 |
#ifdef FEAT_NETBEANS_INTG
|
|
Karsten Hopp |
e219b7 |
***************
|
|
Karsten Hopp |
e219b7 |
*** 1399,1404 ****
|
|
Karsten Hopp |
e219b7 |
--- 1399,1407 ----
|
|
Karsten Hopp |
e219b7 |
curwin->w_topline_was_set = FALSE;
|
|
Karsten Hopp |
e219b7 |
#endif
|
|
Karsten Hopp |
e219b7 |
|
|
Karsten Hopp |
e219b7 |
+ /* mark cursor position as being invalid */
|
|
Karsten Hopp |
e219b7 |
+ curwin->w_valid = 0;
|
|
Karsten Hopp |
e219b7 |
+
|
|
Karsten Hopp |
e219b7 |
/* Make sure the buffer is loaded. */
|
|
Karsten Hopp |
e219b7 |
if (curbuf->b_ml.ml_mfp == NULL) /* need to load the file */
|
|
Karsten Hopp |
e219b7 |
{
|
|
Karsten Hopp |
e219b7 |
*** ../vim-7.2.374/src/version.c 2010-02-24 15:47:58.000000000 +0100
|
|
Karsten Hopp |
e219b7 |
--- src/version.c 2010-02-24 16:30:03.000000000 +0100
|
|
Karsten Hopp |
e219b7 |
***************
|
|
Karsten Hopp |
e219b7 |
*** 683,684 ****
|
|
Karsten Hopp |
e219b7 |
--- 683,686 ----
|
|
Karsten Hopp |
e219b7 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
e219b7 |
+ /**/
|
|
Karsten Hopp |
e219b7 |
+ 375,
|
|
Karsten Hopp |
e219b7 |
/**/
|
|
Karsten Hopp |
e219b7 |
|
|
Karsten Hopp |
e219b7 |
--
|
|
Karsten Hopp |
e219b7 |
Error:015 - Unable to exit Windows. Try the door.
|
|
Karsten Hopp |
e219b7 |
|
|
Karsten Hopp |
e219b7 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
e219b7 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
e219b7 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
e219b7 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|