Karsten Hopp 943ec6
To: vim-dev@vim.org
Karsten Hopp 943ec6
Subject: Patch 7.1.272
Karsten Hopp 943ec6
Fcc: outbox
Karsten Hopp 943ec6
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 943ec6
Mime-Version: 1.0
Karsten Hopp 943ec6
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 943ec6
Content-Transfer-Encoding: 8bit
Karsten Hopp 943ec6
------------
Karsten Hopp 943ec6
Karsten Hopp 943ec6
Patch 7.1.272
Karsten Hopp 943ec6
Problem:    The special buffer name [Location List] is not used for a buffer
Karsten Hopp 943ec6
	    displayed in another tab page.
Karsten Hopp 943ec6
Solution:   Use FOR_ALL_TAB_WINDOWS instead of FOR_ALL_WINDOWS. (Hiroaki
Karsten Hopp 943ec6
	    Nishihara)
Karsten Hopp 943ec6
Files:	    src/buffer.c
Karsten Hopp 943ec6
Karsten Hopp 943ec6
Karsten Hopp 943ec6
*** ../vim-7.1.271/src/buffer.c	Wed Oct  3 14:30:54 2007
Karsten Hopp 943ec6
--- src/buffer.c	Wed Mar  5 21:55:44 2008
Karsten Hopp 943ec6
***************
Karsten Hopp 943ec6
*** 4912,4918 ****
Karsten Hopp 943ec6
      return retval;
Karsten Hopp 943ec6
  }
Karsten Hopp 943ec6
  
Karsten Hopp 943ec6
! #ifdef FEAT_VIMINFO
Karsten Hopp 943ec6
      int
Karsten Hopp 943ec6
  read_viminfo_bufferlist(virp, writing)
Karsten Hopp 943ec6
      vir_T	*virp;
Karsten Hopp 943ec6
--- 4912,4918 ----
Karsten Hopp 943ec6
      return retval;
Karsten Hopp 943ec6
  }
Karsten Hopp 943ec6
  
Karsten Hopp 943ec6
! #if defined(FEAT_VIMINFO) || defined(PROTO)
Karsten Hopp 943ec6
      int
Karsten Hopp 943ec6
  read_viminfo_bufferlist(virp, writing)
Karsten Hopp 943ec6
      vir_T	*virp;
Karsten Hopp 943ec6
***************
Karsten Hopp 943ec6
*** 5033,5045 ****
Karsten Hopp 943ec6
  #if defined(FEAT_QUICKFIX) && defined(FEAT_WINDOWS)
Karsten Hopp 943ec6
      if (bt_quickfix(buf))
Karsten Hopp 943ec6
      {
Karsten Hopp 943ec6
! 	win_T	*win;
Karsten Hopp 943ec6
  
Karsten Hopp 943ec6
  	/*
Karsten Hopp 943ec6
  	 * For location list window, w_llist_ref points to the location list.
Karsten Hopp 943ec6
  	 * For quickfix window, w_llist_ref is NULL.
Karsten Hopp 943ec6
  	 */
Karsten Hopp 943ec6
! 	FOR_ALL_WINDOWS(win)
Karsten Hopp 943ec6
  	    if (win->w_buffer == buf)
Karsten Hopp 943ec6
  		break;
Karsten Hopp 943ec6
  	if (win != NULL && win->w_llist_ref != NULL)
Karsten Hopp 943ec6
--- 5033,5046 ----
Karsten Hopp 943ec6
  #if defined(FEAT_QUICKFIX) && defined(FEAT_WINDOWS)
Karsten Hopp 943ec6
      if (bt_quickfix(buf))
Karsten Hopp 943ec6
      {
Karsten Hopp 943ec6
! 	win_T	    *win;
Karsten Hopp 943ec6
! 	tabpage_T   *tp;
Karsten Hopp 943ec6
  
Karsten Hopp 943ec6
  	/*
Karsten Hopp 943ec6
  	 * For location list window, w_llist_ref points to the location list.
Karsten Hopp 943ec6
  	 * For quickfix window, w_llist_ref is NULL.
Karsten Hopp 943ec6
  	 */
Karsten Hopp 943ec6
! 	FOR_ALL_TAB_WINDOWS(tp, win)
Karsten Hopp 943ec6
  	    if (win->w_buffer == buf)
Karsten Hopp 943ec6
  		break;
Karsten Hopp 943ec6
  	if (win != NULL && win->w_llist_ref != NULL)
Karsten Hopp 943ec6
*** ../vim-7.1.271/src/version.c	Tue Mar 11 22:01:16 2008
Karsten Hopp 943ec6
--- src/version.c	Wed Mar 12 12:21:13 2008
Karsten Hopp 943ec6
***************
Karsten Hopp 943ec6
*** 668,669 ****
Karsten Hopp 943ec6
--- 668,671 ----
Karsten Hopp 943ec6
  {   /* Add new patch number below this line */
Karsten Hopp 943ec6
+ /**/
Karsten Hopp 943ec6
+     272,
Karsten Hopp 943ec6
  /**/
Karsten Hopp 943ec6
Karsten Hopp 943ec6
-- 
Karsten Hopp 943ec6
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 943ec6
113. You are asked about a bus schedule, you wonder if it is 16 or 32 bits.
Karsten Hopp 943ec6
Karsten Hopp 943ec6
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 943ec6
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 943ec6
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 943ec6
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///