|
Karsten Hopp |
c201c0 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
c201c0 |
Subject: Patch 7.3.008
|
|
Karsten Hopp |
c201c0 |
Fcc: outbox
|
|
Karsten Hopp |
c201c0 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
c201c0 |
Mime-Version: 1.0
|
|
Karsten Hopp |
c201c0 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
c201c0 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
c201c0 |
------------
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
Patch 7.3.008
|
|
Karsten Hopp |
c201c0 |
Problem: 'cursorbind' is kept in places where 'scrollbind' is reset.
|
|
Karsten Hopp |
c201c0 |
Solution: Reset 'cursorbind'.
|
|
Karsten Hopp |
c201c0 |
Files: src/buffer.c, src/diff.c, src/ex_cmds.c, src/ex_cmds2.c,
|
|
Karsten Hopp |
c201c0 |
src/ex_docmd.c, src/ex_getln.c, src/if_cscope.c, src/macros.h,
|
|
Karsten Hopp |
c201c0 |
src/quickfix.c, src/search.c, src/tag.c, src/window.c
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
*** ../vim-7.3.007/src/buffer.c 2010-08-15 21:57:32.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
--- src/buffer.c 2010-09-21 16:54:19.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
***************
|
|
Karsten Hopp |
c201c0 |
*** 1288,1296 ****
|
|
Karsten Hopp |
c201c0 |
/* Go to the other buffer. */
|
|
Karsten Hopp |
c201c0 |
set_curbuf(buf, action);
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
! #if defined(FEAT_LISTCMDS) && defined(FEAT_SCROLLBIND)
|
|
Karsten Hopp |
c201c0 |
if (action == DOBUF_SPLIT)
|
|
Karsten Hopp |
c201c0 |
! curwin->w_p_scb = FALSE; /* reset 'scrollbind' */
|
|
Karsten Hopp |
c201c0 |
#endif
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
#if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL)
|
|
Karsten Hopp |
c201c0 |
--- 1288,1299 ----
|
|
Karsten Hopp |
c201c0 |
/* Go to the other buffer. */
|
|
Karsten Hopp |
c201c0 |
set_curbuf(buf, action);
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
! #if defined(FEAT_LISTCMDS) \
|
|
Karsten Hopp |
c201c0 |
! && (defined(FEAT_SCROLLBIND) || defined(FEAT_CURSORBIND))
|
|
Karsten Hopp |
c201c0 |
if (action == DOBUF_SPLIT)
|
|
Karsten Hopp |
c201c0 |
! {
|
|
Karsten Hopp |
c201c0 |
! RESET_BINDING(curwin); /* reset 'scrollbind' and 'cursorbind' */
|
|
Karsten Hopp |
c201c0 |
! }
|
|
Karsten Hopp |
c201c0 |
#endif
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
#if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL)
|
|
Karsten Hopp |
c201c0 |
***************
|
|
Karsten Hopp |
c201c0 |
*** 1917,1925 ****
|
|
Karsten Hopp |
c201c0 |
tabpage_new();
|
|
Karsten Hopp |
c201c0 |
else if (win_split(0, 0) == FAIL) /* Open in a new window */
|
|
Karsten Hopp |
c201c0 |
return FAIL;
|
|
Karsten Hopp |
c201c0 |
! # ifdef FEAT_SCROLLBIND
|
|
Karsten Hopp |
c201c0 |
! curwin->w_p_scb = FALSE;
|
|
Karsten Hopp |
c201c0 |
! # endif
|
|
Karsten Hopp |
c201c0 |
}
|
|
Karsten Hopp |
c201c0 |
}
|
|
Karsten Hopp |
c201c0 |
#endif
|
|
Karsten Hopp |
c201c0 |
--- 1920,1926 ----
|
|
Karsten Hopp |
c201c0 |
tabpage_new();
|
|
Karsten Hopp |
c201c0 |
else if (win_split(0, 0) == FAIL) /* Open in a new window */
|
|
Karsten Hopp |
c201c0 |
return FAIL;
|
|
Karsten Hopp |
c201c0 |
! RESET_BINDING(curwin);
|
|
Karsten Hopp |
c201c0 |
}
|
|
Karsten Hopp |
c201c0 |
}
|
|
Karsten Hopp |
c201c0 |
#endif
|
|
Karsten Hopp |
c201c0 |
*** ../vim-7.3.007/src/diff.c 2010-08-15 21:57:32.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
--- src/diff.c 2010-09-21 16:14:07.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
***************
|
|
Karsten Hopp |
c201c0 |
*** 1127,1137 ****
|
|
Karsten Hopp |
c201c0 |
# endif
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
wp->w_p_diff = TRUE;
|
|
Karsten Hopp |
c201c0 |
#ifdef FEAT_CURSORBIND
|
|
Karsten Hopp |
c201c0 |
- /* Use cursorbind if it's available */
|
|
Karsten Hopp |
c201c0 |
wp->w_p_crb = TRUE;
|
|
Karsten Hopp |
c201c0 |
#endif
|
|
Karsten Hopp |
c201c0 |
- wp->w_p_scb = TRUE;
|
|
Karsten Hopp |
c201c0 |
wp->w_p_wrap = FALSE;
|
|
Karsten Hopp |
c201c0 |
# ifdef FEAT_FOLDING
|
|
Karsten Hopp |
c201c0 |
curwin = wp;
|
|
Karsten Hopp |
c201c0 |
--- 1127,1139 ----
|
|
Karsten Hopp |
c201c0 |
# endif
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
wp->w_p_diff = TRUE;
|
|
Karsten Hopp |
c201c0 |
+ /* Use 'scrollbind' and 'cursorbind' when available */
|
|
Karsten Hopp |
c201c0 |
+ #ifdef FEAT_SCROLLBIND
|
|
Karsten Hopp |
c201c0 |
+ wp->w_p_scb = TRUE;
|
|
Karsten Hopp |
c201c0 |
+ #endif
|
|
Karsten Hopp |
c201c0 |
#ifdef FEAT_CURSORBIND
|
|
Karsten Hopp |
c201c0 |
wp->w_p_crb = TRUE;
|
|
Karsten Hopp |
c201c0 |
#endif
|
|
Karsten Hopp |
c201c0 |
wp->w_p_wrap = FALSE;
|
|
Karsten Hopp |
c201c0 |
# ifdef FEAT_FOLDING
|
|
Karsten Hopp |
c201c0 |
curwin = wp;
|
|
Karsten Hopp |
c201c0 |
***************
|
|
Karsten Hopp |
c201c0 |
*** 1177,1186 ****
|
|
Karsten Hopp |
c201c0 |
{
|
|
Karsten Hopp |
c201c0 |
/* Set 'diff', 'scrollbind' off and 'wrap' on. */
|
|
Karsten Hopp |
c201c0 |
wp->w_p_diff = FALSE;
|
|
Karsten Hopp |
c201c0 |
! #ifdef FEAT_CURSORBIND
|
|
Karsten Hopp |
c201c0 |
! wp->w_p_crb = FALSE;
|
|
Karsten Hopp |
c201c0 |
! #endif
|
|
Karsten Hopp |
c201c0 |
! wp->w_p_scb = FALSE;
|
|
Karsten Hopp |
c201c0 |
wp->w_p_wrap = TRUE;
|
|
Karsten Hopp |
c201c0 |
#ifdef FEAT_FOLDING
|
|
Karsten Hopp |
c201c0 |
curwin = wp;
|
|
Karsten Hopp |
c201c0 |
--- 1179,1185 ----
|
|
Karsten Hopp |
c201c0 |
{
|
|
Karsten Hopp |
c201c0 |
/* Set 'diff', 'scrollbind' off and 'wrap' on. */
|
|
Karsten Hopp |
c201c0 |
wp->w_p_diff = FALSE;
|
|
Karsten Hopp |
c201c0 |
! RESET_BINDING(wp);
|
|
Karsten Hopp |
c201c0 |
wp->w_p_wrap = TRUE;
|
|
Karsten Hopp |
c201c0 |
#ifdef FEAT_FOLDING
|
|
Karsten Hopp |
c201c0 |
curwin = wp;
|
|
Karsten Hopp |
c201c0 |
*** ../vim-7.3.007/src/ex_cmds.c 2010-08-15 21:57:26.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
--- src/ex_cmds.c 2010-09-21 16:15:07.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
***************
|
|
Karsten Hopp |
c201c0 |
*** 3498,3506 ****
|
|
Karsten Hopp |
c201c0 |
curbuf->b_p_bin = FALSE; /* reset 'bin' before reading file */
|
|
Karsten Hopp |
c201c0 |
curwin->w_p_nu = 0; /* no line numbers */
|
|
Karsten Hopp |
c201c0 |
curwin->w_p_rnu = 0; /* no relative line numbers */
|
|
Karsten Hopp |
c201c0 |
! #ifdef FEAT_SCROLLBIND
|
|
Karsten Hopp |
c201c0 |
! curwin->w_p_scb = FALSE; /* no scroll binding */
|
|
Karsten Hopp |
c201c0 |
! #endif
|
|
Karsten Hopp |
c201c0 |
#ifdef FEAT_ARABIC
|
|
Karsten Hopp |
c201c0 |
curwin->w_p_arab = FALSE; /* no arabic mode */
|
|
Karsten Hopp |
c201c0 |
#endif
|
|
Karsten Hopp |
c201c0 |
--- 3498,3504 ----
|
|
Karsten Hopp |
c201c0 |
curbuf->b_p_bin = FALSE; /* reset 'bin' before reading file */
|
|
Karsten Hopp |
c201c0 |
curwin->w_p_nu = 0; /* no line numbers */
|
|
Karsten Hopp |
c201c0 |
curwin->w_p_rnu = 0; /* no relative line numbers */
|
|
Karsten Hopp |
c201c0 |
! RESET_BINDING(curwin); /* no scroll or cursor binding */
|
|
Karsten Hopp |
c201c0 |
#ifdef FEAT_ARABIC
|
|
Karsten Hopp |
c201c0 |
curwin->w_p_arab = FALSE; /* no arabic mode */
|
|
Karsten Hopp |
c201c0 |
#endif
|
|
Karsten Hopp |
c201c0 |
***************
|
|
Karsten Hopp |
c201c0 |
*** 5471,5479 ****
|
|
Karsten Hopp |
c201c0 |
return FALSE;
|
|
Karsten Hopp |
c201c0 |
curwin->w_p_pvw = TRUE;
|
|
Karsten Hopp |
c201c0 |
curwin->w_p_wfh = TRUE;
|
|
Karsten Hopp |
c201c0 |
! # ifdef FEAT_SCROLLBIND
|
|
Karsten Hopp |
c201c0 |
! curwin->w_p_scb = FALSE; /* don't take over 'scrollbind' */
|
|
Karsten Hopp |
c201c0 |
! # endif
|
|
Karsten Hopp |
c201c0 |
# ifdef FEAT_DIFF
|
|
Karsten Hopp |
c201c0 |
curwin->w_p_diff = FALSE; /* no 'diff' */
|
|
Karsten Hopp |
c201c0 |
# endif
|
|
Karsten Hopp |
c201c0 |
--- 5469,5476 ----
|
|
Karsten Hopp |
c201c0 |
return FALSE;
|
|
Karsten Hopp |
c201c0 |
curwin->w_p_pvw = TRUE;
|
|
Karsten Hopp |
c201c0 |
curwin->w_p_wfh = TRUE;
|
|
Karsten Hopp |
c201c0 |
! RESET_BINDING(curwin); /* don't take over 'scrollbind'
|
|
Karsten Hopp |
c201c0 |
! and 'cursorbind' */
|
|
Karsten Hopp |
c201c0 |
# ifdef FEAT_DIFF
|
|
Karsten Hopp |
c201c0 |
curwin->w_p_diff = FALSE; /* no 'diff' */
|
|
Karsten Hopp |
c201c0 |
# endif
|
|
Karsten Hopp |
c201c0 |
*** ../vim-7.3.007/src/ex_cmds2.c 2010-08-15 21:57:31.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
--- src/ex_cmds2.c 2010-09-21 16:15:17.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
***************
|
|
Karsten Hopp |
c201c0 |
*** 2165,2173 ****
|
|
Karsten Hopp |
c201c0 |
{
|
|
Karsten Hopp |
c201c0 |
if (win_split(0, 0) == FAIL)
|
|
Karsten Hopp |
c201c0 |
return;
|
|
Karsten Hopp |
c201c0 |
! # ifdef FEAT_SCROLLBIND
|
|
Karsten Hopp |
c201c0 |
! curwin->w_p_scb = FALSE;
|
|
Karsten Hopp |
c201c0 |
! # endif
|
|
Karsten Hopp |
c201c0 |
}
|
|
Karsten Hopp |
c201c0 |
else
|
|
Karsten Hopp |
c201c0 |
#endif
|
|
Karsten Hopp |
c201c0 |
--- 2165,2171 ----
|
|
Karsten Hopp |
c201c0 |
{
|
|
Karsten Hopp |
c201c0 |
if (win_split(0, 0) == FAIL)
|
|
Karsten Hopp |
c201c0 |
return;
|
|
Karsten Hopp |
c201c0 |
! RESET_BINDING(curwin);
|
|
Karsten Hopp |
c201c0 |
}
|
|
Karsten Hopp |
c201c0 |
else
|
|
Karsten Hopp |
c201c0 |
#endif
|
|
Karsten Hopp |
c201c0 |
*** ../vim-7.3.007/src/ex_docmd.c 2010-08-16 22:33:55.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
--- src/ex_docmd.c 2010-09-21 16:15:39.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
***************
|
|
Karsten Hopp |
c201c0 |
*** 6898,6906 ****
|
|
Karsten Hopp |
c201c0 |
# ifdef FEAT_WINDOWS
|
|
Karsten Hopp |
c201c0 |
if (win_split(0, 0) == FAIL)
|
|
Karsten Hopp |
c201c0 |
return;
|
|
Karsten Hopp |
c201c0 |
! # ifdef FEAT_SCROLLBIND
|
|
Karsten Hopp |
c201c0 |
! curwin->w_p_scb = FALSE;
|
|
Karsten Hopp |
c201c0 |
! # endif
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
/* When splitting the window, create a new alist. Otherwise the
|
|
Karsten Hopp |
c201c0 |
* existing one is overwritten. */
|
|
Karsten Hopp |
c201c0 |
--- 6898,6904 ----
|
|
Karsten Hopp |
c201c0 |
# ifdef FEAT_WINDOWS
|
|
Karsten Hopp |
c201c0 |
if (win_split(0, 0) == FAIL)
|
|
Karsten Hopp |
c201c0 |
return;
|
|
Karsten Hopp |
c201c0 |
! RESET_BINDING(curwin);
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
/* When splitting the window, create a new alist. Otherwise the
|
|
Karsten Hopp |
c201c0 |
* existing one is overwritten. */
|
|
Karsten Hopp |
c201c0 |
***************
|
|
Karsten Hopp |
c201c0 |
*** 7300,7306 ****
|
|
Karsten Hopp |
c201c0 |
|| cmdmod.browse
|
|
Karsten Hopp |
c201c0 |
# endif
|
|
Karsten Hopp |
c201c0 |
)
|
|
Karsten Hopp |
c201c0 |
! curwin->w_p_scb = FALSE;
|
|
Karsten Hopp |
c201c0 |
else
|
|
Karsten Hopp |
c201c0 |
do_check_scrollbind(FALSE);
|
|
Karsten Hopp |
c201c0 |
# endif
|
|
Karsten Hopp |
c201c0 |
--- 7298,7306 ----
|
|
Karsten Hopp |
c201c0 |
|| cmdmod.browse
|
|
Karsten Hopp |
c201c0 |
# endif
|
|
Karsten Hopp |
c201c0 |
)
|
|
Karsten Hopp |
c201c0 |
! {
|
|
Karsten Hopp |
c201c0 |
! RESET_BINDING(curwin);
|
|
Karsten Hopp |
c201c0 |
! }
|
|
Karsten Hopp |
c201c0 |
else
|
|
Karsten Hopp |
c201c0 |
do_check_scrollbind(FALSE);
|
|
Karsten Hopp |
c201c0 |
# endif
|
|
Karsten Hopp |
c201c0 |
*** ../vim-7.3.007/src/ex_getln.c 2010-08-15 21:57:28.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
--- src/ex_getln.c 2010-09-21 16:15:55.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
***************
|
|
Karsten Hopp |
c201c0 |
*** 6147,6155 ****
|
|
Karsten Hopp |
c201c0 |
curwin->w_p_rl = cmdmsg_rl;
|
|
Karsten Hopp |
c201c0 |
cmdmsg_rl = FALSE;
|
|
Karsten Hopp |
c201c0 |
# endif
|
|
Karsten Hopp |
c201c0 |
! # ifdef FEAT_SCROLLBIND
|
|
Karsten Hopp |
c201c0 |
! curwin->w_p_scb = FALSE;
|
|
Karsten Hopp |
c201c0 |
! # endif
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
# ifdef FEAT_AUTOCMD
|
|
Karsten Hopp |
c201c0 |
/* Do execute autocommands for setting the filetype (load syntax). */
|
|
Karsten Hopp |
c201c0 |
--- 6147,6153 ----
|
|
Karsten Hopp |
c201c0 |
curwin->w_p_rl = cmdmsg_rl;
|
|
Karsten Hopp |
c201c0 |
cmdmsg_rl = FALSE;
|
|
Karsten Hopp |
c201c0 |
# endif
|
|
Karsten Hopp |
c201c0 |
! RESET_BINDING(curwin);
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
# ifdef FEAT_AUTOCMD
|
|
Karsten Hopp |
c201c0 |
/* Do execute autocommands for setting the filetype (load syntax). */
|
|
Karsten Hopp |
c201c0 |
*** ../vim-7.3.007/src/if_cscope.c 2010-08-15 21:57:32.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
--- src/if_cscope.c 2010-09-21 16:16:26.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
***************
|
|
Karsten Hopp |
c201c0 |
*** 1274,1282 ****
|
|
Karsten Hopp |
c201c0 |
{
|
|
Karsten Hopp |
c201c0 |
win_split(postponed_split > 0 ? postponed_split : 0,
|
|
Karsten Hopp |
c201c0 |
postponed_split_flags);
|
|
Karsten Hopp |
c201c0 |
! # ifdef FEAT_SCROLLBIND
|
|
Karsten Hopp |
c201c0 |
! curwin->w_p_scb = FALSE;
|
|
Karsten Hopp |
c201c0 |
! # endif
|
|
Karsten Hopp |
c201c0 |
postponed_split = 0;
|
|
Karsten Hopp |
c201c0 |
}
|
|
Karsten Hopp |
c201c0 |
# endif
|
|
Karsten Hopp |
c201c0 |
--- 1274,1280 ----
|
|
Karsten Hopp |
c201c0 |
{
|
|
Karsten Hopp |
c201c0 |
win_split(postponed_split > 0 ? postponed_split : 0,
|
|
Karsten Hopp |
c201c0 |
postponed_split_flags);
|
|
Karsten Hopp |
c201c0 |
! RESET_BINDING(curwin);
|
|
Karsten Hopp |
c201c0 |
postponed_split = 0;
|
|
Karsten Hopp |
c201c0 |
}
|
|
Karsten Hopp |
c201c0 |
# endif
|
|
Karsten Hopp |
c201c0 |
*** ../vim-7.3.007/src/macros.h 2010-08-15 21:57:28.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
--- src/macros.h 2010-09-21 16:13:10.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
***************
|
|
Karsten Hopp |
c201c0 |
*** 285,287 ****
|
|
Karsten Hopp |
c201c0 |
--- 285,301 ----
|
|
Karsten Hopp |
c201c0 |
#else
|
|
Karsten Hopp |
c201c0 |
# define DO_AUTOCHDIR
|
|
Karsten Hopp |
c201c0 |
#endif
|
|
Karsten Hopp |
c201c0 |
+
|
|
Karsten Hopp |
c201c0 |
+ #if defined(FEAT_SCROLLBIND) && defined(FEAT_CURSORBIND)
|
|
Karsten Hopp |
c201c0 |
+ # define RESET_BINDING(wp) (wp)->w_p_scb = FALSE; (wp)->w_p_crb = FALSE
|
|
Karsten Hopp |
c201c0 |
+ #else
|
|
Karsten Hopp |
c201c0 |
+ # if defined(FEAT_SCROLLBIND)
|
|
Karsten Hopp |
c201c0 |
+ # define RESET_BINDING(wp) (wp)->w_p_scb = FALSE
|
|
Karsten Hopp |
c201c0 |
+ # else
|
|
Karsten Hopp |
c201c0 |
+ # if defined(FEAT_CURSORBIND)
|
|
Karsten Hopp |
c201c0 |
+ # define RESET_BINDING(wp) (wp)->w_p_crb = FALSE
|
|
Karsten Hopp |
c201c0 |
+ # else
|
|
Karsten Hopp |
c201c0 |
+ # define RESET_BINDING(wp)
|
|
Karsten Hopp |
c201c0 |
+ # endif
|
|
Karsten Hopp |
c201c0 |
+ # endif
|
|
Karsten Hopp |
c201c0 |
+ #endif
|
|
Karsten Hopp |
c201c0 |
*** ../vim-7.3.007/src/quickfix.c 2010-08-17 20:23:18.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
--- src/quickfix.c 2010-09-21 16:17:17.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
***************
|
|
Karsten Hopp |
c201c0 |
*** 1656,1664 ****
|
|
Karsten Hopp |
c201c0 |
opened_window = TRUE; /* close it when fail */
|
|
Karsten Hopp |
c201c0 |
p_swb = empty_option; /* don't split again */
|
|
Karsten Hopp |
c201c0 |
swb_flags = 0;
|
|
Karsten Hopp |
c201c0 |
! # ifdef FEAT_SCROLLBIND
|
|
Karsten Hopp |
c201c0 |
! curwin->w_p_scb = FALSE;
|
|
Karsten Hopp |
c201c0 |
! # endif
|
|
Karsten Hopp |
c201c0 |
if (ll_ref != NULL)
|
|
Karsten Hopp |
c201c0 |
{
|
|
Karsten Hopp |
c201c0 |
/* The new window should use the location list from the
|
|
Karsten Hopp |
c201c0 |
--- 1656,1662 ----
|
|
Karsten Hopp |
c201c0 |
opened_window = TRUE; /* close it when fail */
|
|
Karsten Hopp |
c201c0 |
p_swb = empty_option; /* don't split again */
|
|
Karsten Hopp |
c201c0 |
swb_flags = 0;
|
|
Karsten Hopp |
c201c0 |
! RESET_BINDING(curwin);
|
|
Karsten Hopp |
c201c0 |
if (ll_ref != NULL)
|
|
Karsten Hopp |
c201c0 |
{
|
|
Karsten Hopp |
c201c0 |
/* The new window should use the location list from the
|
|
Karsten Hopp |
c201c0 |
***************
|
|
Karsten Hopp |
c201c0 |
*** 2334,2342 ****
|
|
Karsten Hopp |
c201c0 |
win_goto(lastwin);
|
|
Karsten Hopp |
c201c0 |
if (win_split(height, WSP_BELOW | WSP_NEWLOC) == FAIL)
|
|
Karsten Hopp |
c201c0 |
return; /* not enough room for window */
|
|
Karsten Hopp |
c201c0 |
! #ifdef FEAT_SCROLLBIND
|
|
Karsten Hopp |
c201c0 |
! curwin->w_p_scb = FALSE;
|
|
Karsten Hopp |
c201c0 |
! #endif
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
if (eap->cmdidx == CMD_lopen || eap->cmdidx == CMD_lwindow)
|
|
Karsten Hopp |
c201c0 |
{
|
|
Karsten Hopp |
c201c0 |
--- 2332,2338 ----
|
|
Karsten Hopp |
c201c0 |
win_goto(lastwin);
|
|
Karsten Hopp |
c201c0 |
if (win_split(height, WSP_BELOW | WSP_NEWLOC) == FAIL)
|
|
Karsten Hopp |
c201c0 |
return; /* not enough room for window */
|
|
Karsten Hopp |
c201c0 |
! RESET_BINDING(curwin);
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
if (eap->cmdidx == CMD_lopen || eap->cmdidx == CMD_lwindow)
|
|
Karsten Hopp |
c201c0 |
{
|
|
Karsten Hopp |
c201c0 |
*** ../vim-7.3.007/src/search.c 2010-08-15 21:57:32.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
--- src/search.c 2010-09-21 16:17:28.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
***************
|
|
Karsten Hopp |
c201c0 |
*** 5075,5083 ****
|
|
Karsten Hopp |
c201c0 |
if (win_split(0, 0) == FAIL)
|
|
Karsten Hopp |
c201c0 |
#endif
|
|
Karsten Hopp |
c201c0 |
break;
|
|
Karsten Hopp |
c201c0 |
! #ifdef FEAT_SCROLLBIND
|
|
Karsten Hopp |
c201c0 |
! curwin->w_p_scb = FALSE;
|
|
Karsten Hopp |
c201c0 |
! #endif
|
|
Karsten Hopp |
c201c0 |
}
|
|
Karsten Hopp |
c201c0 |
if (depth == -1)
|
|
Karsten Hopp |
c201c0 |
{
|
|
Karsten Hopp |
c201c0 |
--- 5075,5081 ----
|
|
Karsten Hopp |
c201c0 |
if (win_split(0, 0) == FAIL)
|
|
Karsten Hopp |
c201c0 |
#endif
|
|
Karsten Hopp |
c201c0 |
break;
|
|
Karsten Hopp |
c201c0 |
! RESET_BINDING(curwin);
|
|
Karsten Hopp |
c201c0 |
}
|
|
Karsten Hopp |
c201c0 |
if (depth == -1)
|
|
Karsten Hopp |
c201c0 |
{
|
|
Karsten Hopp |
c201c0 |
*** ../vim-7.3.007/src/tag.c 2010-08-15 21:57:25.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
--- src/tag.c 2010-09-21 16:17:51.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
***************
|
|
Karsten Hopp |
c201c0 |
*** 3143,3151 ****
|
|
Karsten Hopp |
c201c0 |
{
|
|
Karsten Hopp |
c201c0 |
win_split(postponed_split > 0 ? postponed_split : 0,
|
|
Karsten Hopp |
c201c0 |
postponed_split_flags);
|
|
Karsten Hopp |
c201c0 |
! # ifdef FEAT_SCROLLBIND
|
|
Karsten Hopp |
c201c0 |
! curwin->w_p_scb = FALSE;
|
|
Karsten Hopp |
c201c0 |
! # endif
|
|
Karsten Hopp |
c201c0 |
}
|
|
Karsten Hopp |
c201c0 |
#endif
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
--- 3143,3149 ----
|
|
Karsten Hopp |
c201c0 |
{
|
|
Karsten Hopp |
c201c0 |
win_split(postponed_split > 0 ? postponed_split : 0,
|
|
Karsten Hopp |
c201c0 |
postponed_split_flags);
|
|
Karsten Hopp |
c201c0 |
! RESET_BINDING(curwin);
|
|
Karsten Hopp |
c201c0 |
}
|
|
Karsten Hopp |
c201c0 |
#endif
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
*** ../vim-7.3.007/src/window.c 2010-08-15 21:57:32.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
--- src/window.c 2010-09-21 16:18:44.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
***************
|
|
Karsten Hopp |
c201c0 |
*** 525,533 ****
|
|
Karsten Hopp |
c201c0 |
setpcmark();
|
|
Karsten Hopp |
c201c0 |
if (win_split(0, 0) == OK)
|
|
Karsten Hopp |
c201c0 |
{
|
|
Karsten Hopp |
c201c0 |
! # ifdef FEAT_SCROLLBIND
|
|
Karsten Hopp |
c201c0 |
! curwin->w_p_scb = FALSE;
|
|
Karsten Hopp |
c201c0 |
! # endif
|
|
Karsten Hopp |
c201c0 |
(void)do_ecmd(0, ptr, NULL, NULL, ECMD_LASTL,
|
|
Karsten Hopp |
c201c0 |
ECMD_HIDE, NULL);
|
|
Karsten Hopp |
c201c0 |
if (nchar == 'F' && lnum >= 0)
|
|
Karsten Hopp |
c201c0 |
--- 525,531 ----
|
|
Karsten Hopp |
c201c0 |
setpcmark();
|
|
Karsten Hopp |
c201c0 |
if (win_split(0, 0) == OK)
|
|
Karsten Hopp |
c201c0 |
{
|
|
Karsten Hopp |
c201c0 |
! RESET_BINDING(curwin);
|
|
Karsten Hopp |
c201c0 |
(void)do_ecmd(0, ptr, NULL, NULL, ECMD_LASTL,
|
|
Karsten Hopp |
c201c0 |
ECMD_HIDE, NULL);
|
|
Karsten Hopp |
c201c0 |
if (nchar == 'F' && lnum >= 0)
|
|
Karsten Hopp |
c201c0 |
***************
|
|
Karsten Hopp |
c201c0 |
*** 3277,3285 ****
|
|
Karsten Hopp |
c201c0 |
if (aucmd_win != NULL)
|
|
Karsten Hopp |
c201c0 |
{
|
|
Karsten Hopp |
c201c0 |
win_init_some(aucmd_win, curwin);
|
|
Karsten Hopp |
c201c0 |
! # ifdef FEAT_SCROLLBIND
|
|
Karsten Hopp |
c201c0 |
! aucmd_win->w_p_scb = FALSE;
|
|
Karsten Hopp |
c201c0 |
! # endif
|
|
Karsten Hopp |
c201c0 |
new_frame(aucmd_win);
|
|
Karsten Hopp |
c201c0 |
}
|
|
Karsten Hopp |
c201c0 |
}
|
|
Karsten Hopp |
c201c0 |
--- 3275,3281 ----
|
|
Karsten Hopp |
c201c0 |
if (aucmd_win != NULL)
|
|
Karsten Hopp |
c201c0 |
{
|
|
Karsten Hopp |
c201c0 |
win_init_some(aucmd_win, curwin);
|
|
Karsten Hopp |
c201c0 |
! RESET_BINDING(aucmd_win);
|
|
Karsten Hopp |
c201c0 |
new_frame(aucmd_win);
|
|
Karsten Hopp |
c201c0 |
}
|
|
Karsten Hopp |
c201c0 |
}
|
|
Karsten Hopp |
c201c0 |
***************
|
|
Karsten Hopp |
c201c0 |
*** 3320,3329 ****
|
|
Karsten Hopp |
c201c0 |
/* First window in new tab page, initialize it from "oldwin". */
|
|
Karsten Hopp |
c201c0 |
win_init(curwin, oldwin, 0);
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
! # ifdef FEAT_SCROLLBIND
|
|
Karsten Hopp |
c201c0 |
! /* We don't want scroll-binding in the first window. */
|
|
Karsten Hopp |
c201c0 |
! curwin->w_p_scb = FALSE;
|
|
Karsten Hopp |
c201c0 |
! # endif
|
|
Karsten Hopp |
c201c0 |
}
|
|
Karsten Hopp |
c201c0 |
#endif
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
--- 3316,3323 ----
|
|
Karsten Hopp |
c201c0 |
/* First window in new tab page, initialize it from "oldwin". */
|
|
Karsten Hopp |
c201c0 |
win_init(curwin, oldwin, 0);
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
! /* We don't want cursor- and scroll-binding in the first window. */
|
|
Karsten Hopp |
c201c0 |
! RESET_BINDING(curwin);
|
|
Karsten Hopp |
c201c0 |
}
|
|
Karsten Hopp |
c201c0 |
#endif
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
*** ../vim-7.3.007/src/version.c 2010-09-21 16:49:29.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
--- src/version.c 2010-09-21 16:53:16.000000000 +0200
|
|
Karsten Hopp |
c201c0 |
***************
|
|
Karsten Hopp |
c201c0 |
*** 716,717 ****
|
|
Karsten Hopp |
c201c0 |
--- 716,719 ----
|
|
Karsten Hopp |
c201c0 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
c201c0 |
+ /**/
|
|
Karsten Hopp |
c201c0 |
+ 8,
|
|
Karsten Hopp |
c201c0 |
/**/
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
--
|
|
Karsten Hopp |
c201c0 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
c201c0 |
181. You make up words that go with the "happy tune" your modem makes
|
|
Karsten Hopp |
c201c0 |
while dialing your ISP.
|
|
Karsten Hopp |
c201c0 |
|
|
Karsten Hopp |
c201c0 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
c201c0 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
c201c0 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
c201c0 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|