|
Karsten Hopp |
8b7bd2 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
8b7bd2 |
Subject: Patch 7.3.1201
|
|
Karsten Hopp |
8b7bd2 |
Fcc: outbox
|
|
Karsten Hopp |
8b7bd2 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
8b7bd2 |
Mime-Version: 1.0
|
|
Karsten Hopp |
8b7bd2 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
8b7bd2 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
8b7bd2 |
------------
|
|
Karsten Hopp |
8b7bd2 |
|
|
Karsten Hopp |
8b7bd2 |
Patch 7.3.1201
|
|
Karsten Hopp |
8b7bd2 |
Problem: When a startup script creates a preview window, it probably
|
|
Karsten Hopp |
8b7bd2 |
becomes the current window.
|
|
Karsten Hopp |
8b7bd2 |
Solution: Make another window the current one. (Christian Brabandt)
|
|
Karsten Hopp |
8b7bd2 |
Files: src/main.c
|
|
Karsten Hopp |
8b7bd2 |
|
|
Karsten Hopp |
8b7bd2 |
|
|
Karsten Hopp |
8b7bd2 |
*** ../vim-7.3.1200/src/main.c 2013-06-12 20:35:46.000000000 +0200
|
|
Karsten Hopp |
8b7bd2 |
--- src/main.c 2013-06-15 21:46:31.000000000 +0200
|
|
Karsten Hopp |
8b7bd2 |
***************
|
|
Karsten Hopp |
8b7bd2 |
*** 2816,2822 ****
|
|
Karsten Hopp |
8b7bd2 |
# ifdef FEAT_AUTOCMD
|
|
Karsten Hopp |
8b7bd2 |
--autocmd_no_enter;
|
|
Karsten Hopp |
8b7bd2 |
# endif
|
|
Karsten Hopp |
8b7bd2 |
! win_enter(firstwin, FALSE); /* back to first window */
|
|
Karsten Hopp |
8b7bd2 |
# ifdef FEAT_AUTOCMD
|
|
Karsten Hopp |
8b7bd2 |
--autocmd_no_leave;
|
|
Karsten Hopp |
8b7bd2 |
# endif
|
|
Karsten Hopp |
8b7bd2 |
--- 2816,2840 ----
|
|
Karsten Hopp |
8b7bd2 |
# ifdef FEAT_AUTOCMD
|
|
Karsten Hopp |
8b7bd2 |
--autocmd_no_enter;
|
|
Karsten Hopp |
8b7bd2 |
# endif
|
|
Karsten Hopp |
8b7bd2 |
! #if defined(FEAT_WINDOWS) && defined(FEAT_QUICKFIX)
|
|
Karsten Hopp |
8b7bd2 |
! /*
|
|
Karsten Hopp |
8b7bd2 |
! * Avoid making a preview window the current window.
|
|
Karsten Hopp |
8b7bd2 |
! */
|
|
Karsten Hopp |
8b7bd2 |
! if (firstwin->w_p_pvw)
|
|
Karsten Hopp |
8b7bd2 |
! {
|
|
Karsten Hopp |
8b7bd2 |
! win_T *win;
|
|
Karsten Hopp |
8b7bd2 |
!
|
|
Karsten Hopp |
8b7bd2 |
! for (win = firstwin; win != NULL; win = win->w_next)
|
|
Karsten Hopp |
8b7bd2 |
! if (!win->w_p_pvw)
|
|
Karsten Hopp |
8b7bd2 |
! {
|
|
Karsten Hopp |
8b7bd2 |
! firstwin = win;
|
|
Karsten Hopp |
8b7bd2 |
! break;
|
|
Karsten Hopp |
8b7bd2 |
! }
|
|
Karsten Hopp |
8b7bd2 |
! }
|
|
Karsten Hopp |
8b7bd2 |
! #endif
|
|
Karsten Hopp |
8b7bd2 |
! /* make the first window the current window */
|
|
Karsten Hopp |
8b7bd2 |
! win_enter(firstwin, FALSE);
|
|
Karsten Hopp |
8b7bd2 |
!
|
|
Karsten Hopp |
8b7bd2 |
# ifdef FEAT_AUTOCMD
|
|
Karsten Hopp |
8b7bd2 |
--autocmd_no_leave;
|
|
Karsten Hopp |
8b7bd2 |
# endif
|
|
Karsten Hopp |
8b7bd2 |
*** ../vim-7.3.1200/src/version.c 2013-06-15 17:54:36.000000000 +0200
|
|
Karsten Hopp |
8b7bd2 |
--- src/version.c 2013-06-15 21:48:57.000000000 +0200
|
|
Karsten Hopp |
8b7bd2 |
***************
|
|
Karsten Hopp |
8b7bd2 |
*** 730,731 ****
|
|
Karsten Hopp |
8b7bd2 |
--- 730,733 ----
|
|
Karsten Hopp |
8b7bd2 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
8b7bd2 |
+ /**/
|
|
Karsten Hopp |
8b7bd2 |
+ 1201,
|
|
Karsten Hopp |
8b7bd2 |
/**/
|
|
Karsten Hopp |
8b7bd2 |
|
|
Karsten Hopp |
8b7bd2 |
--
|
|
Karsten Hopp |
8b7bd2 |
How do I set the laser printer to stun?
|
|
Karsten Hopp |
8b7bd2 |
|
|
Karsten Hopp |
8b7bd2 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
8b7bd2 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
8b7bd2 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
8b7bd2 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|