Karsten Hopp d47030
To: vim_dev@googlegroups.com
Karsten Hopp d47030
Subject: Patch 7.3.071
Karsten Hopp d47030
Fcc: outbox
Karsten Hopp d47030
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp d47030
Mime-Version: 1.0
Karsten Hopp d47030
Content-Type: text/plain; charset=UTF-8
Karsten Hopp d47030
Content-Transfer-Encoding: 8bit
Karsten Hopp d47030
------------
Karsten Hopp d47030
Karsten Hopp d47030
Patch 7.3.071
Karsten Hopp d47030
Problem:    Editing a file in a window that's in diff mode resets 'diff'
Karsten Hopp d47030
	    but not cursor binding.
Karsten Hopp d47030
Solution:   Reset cursor binding in two more places.
Karsten Hopp d47030
Files:	    src/quickfix.c, src/option.c
Karsten Hopp d47030
Karsten Hopp d47030
Karsten Hopp d47030
*** ../vim-7.3.070/src/quickfix.c	2010-11-24 16:31:55.000000000 +0100
Karsten Hopp d47030
--- src/quickfix.c	2010-12-02 15:02:00.000000000 +0100
Karsten Hopp d47030
***************
Karsten Hopp d47030
*** 2359,2364 ****
Karsten Hopp d47030
--- 2359,2365 ----
Karsten Hopp d47030
  	    set_option_value((char_u *)"bt", 0L, (char_u *)"quickfix",
Karsten Hopp d47030
  								   OPT_LOCAL);
Karsten Hopp d47030
  	    set_option_value((char_u *)"bh", 0L, (char_u *)"wipe", OPT_LOCAL);
Karsten Hopp d47030
+ 	    RESET_BINDING(curwin);
Karsten Hopp d47030
  #ifdef FEAT_DIFF
Karsten Hopp d47030
  	    curwin->w_p_diff = FALSE;
Karsten Hopp d47030
  #endif
Karsten Hopp d47030
*** ../vim-7.3.070/src/option.c	2010-10-13 14:05:29.000000000 +0200
Karsten Hopp d47030
--- src/option.c	2010-12-02 15:12:02.000000000 +0100
Karsten Hopp d47030
***************
Karsten Hopp d47030
*** 9756,9761 ****
Karsten Hopp d47030
--- 9759,9767 ----
Karsten Hopp d47030
  #ifdef FEAT_SCROLLBIND
Karsten Hopp d47030
      to->wo_scb = from->wo_scb;
Karsten Hopp d47030
  #endif
Karsten Hopp d47030
+ #ifdef FEAT_CURSORBIND
Karsten Hopp d47030
+     to->wo_crb = from->wo_crb;
Karsten Hopp d47030
+ #endif
Karsten Hopp d47030
  #ifdef FEAT_SPELL
Karsten Hopp d47030
      to->wo_spell = from->wo_spell;
Karsten Hopp d47030
  #endif
Karsten Hopp d47030
*** ../vim-7.3.070/src/version.c	2010-12-02 14:47:56.000000000 +0100
Karsten Hopp d47030
--- src/version.c	2010-12-02 15:31:12.000000000 +0100
Karsten Hopp d47030
***************
Karsten Hopp d47030
*** 716,717 ****
Karsten Hopp d47030
--- 716,719 ----
Karsten Hopp d47030
  {   /* Add new patch number below this line */
Karsten Hopp d47030
+ /**/
Karsten Hopp d47030
+     71,
Karsten Hopp d47030
  /**/
Karsten Hopp d47030
Karsten Hopp d47030
-- 
Karsten Hopp d47030
A salesperson says:            Translation:
Karsten Hopp d47030
"backward compatible"          Old technology
Karsten Hopp d47030
"Premium"                      Overpriced
Karsten Hopp d47030
"Can't keep it on the shelf"   Unavailable
Karsten Hopp d47030
"Stands alone"                 Piece of shit
Karsten Hopp d47030
"Proprietary"                  Incompatible
Karsten Hopp d47030
				(Scott Adams - The Dilbert principle)
Karsten Hopp d47030
Karsten Hopp d47030
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp d47030
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp d47030
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp d47030
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///