Karsten Hopp a227b5
To: vim_dev@googlegroups.com
Karsten Hopp a227b5
Subject: Patch 7.4.076
Karsten Hopp a227b5
Fcc: outbox
Karsten Hopp a227b5
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp a227b5
Mime-Version: 1.0
Karsten Hopp a227b5
Content-Type: text/plain; charset=UTF-8
Karsten Hopp a227b5
Content-Transfer-Encoding: 8bit
Karsten Hopp a227b5
------------
Karsten Hopp a227b5
Karsten Hopp a227b5
Patch 7.4.076
Karsten Hopp a227b5
Problem:    "cgn" does not wrap around the end of the file. (Dimitrov
Karsten Hopp a227b5
            Dimitrov)
Karsten Hopp a227b5
Solution:   Restore 'wrapscan' earlier. (Christian Brabandt)
Karsten Hopp a227b5
Files:      src/search.c
Karsten Hopp a227b5
    
Karsten Hopp a227b5
Karsten Hopp a227b5
*** ../vim-7.4.075/src/search.c	2013-10-02 21:54:57.000000000 +0200
Karsten Hopp a227b5
--- src/search.c	2013-11-07 04:38:46.000000000 +0100
Karsten Hopp a227b5
***************
Karsten Hopp a227b5
*** 4592,4598 ****
Karsten Hopp a227b5
  				ml_get(curwin->w_buffer->b_ml.ml_line_count));
Karsten Hopp a227b5
  	    }
Karsten Hopp a227b5
  	}
Karsten Hopp a227b5
! 
Karsten Hopp a227b5
      }
Karsten Hopp a227b5
  
Karsten Hopp a227b5
      start_pos = pos;
Karsten Hopp a227b5
--- 4592,4598 ----
Karsten Hopp a227b5
  				ml_get(curwin->w_buffer->b_ml.ml_line_count));
Karsten Hopp a227b5
  	    }
Karsten Hopp a227b5
  	}
Karsten Hopp a227b5
! 	p_ws = old_p_ws;
Karsten Hopp a227b5
      }
Karsten Hopp a227b5
  
Karsten Hopp a227b5
      start_pos = pos;
Karsten Hopp a227b5
***************
Karsten Hopp a227b5
*** 4607,4613 ****
Karsten Hopp a227b5
      if (!VIsual_active)
Karsten Hopp a227b5
  	VIsual = start_pos;
Karsten Hopp a227b5
  
Karsten Hopp a227b5
-     p_ws = old_p_ws;
Karsten Hopp a227b5
      curwin->w_cursor = pos;
Karsten Hopp a227b5
      VIsual_active = TRUE;
Karsten Hopp a227b5
      VIsual_mode = 'v';
Karsten Hopp a227b5
--- 4607,4612 ----
Karsten Hopp a227b5
*** ../vim-7.4.075/src/version.c	2013-11-07 03:25:51.000000000 +0100
Karsten Hopp a227b5
--- src/version.c	2013-11-07 04:44:44.000000000 +0100
Karsten Hopp a227b5
***************
Karsten Hopp a227b5
*** 740,741 ****
Karsten Hopp a227b5
--- 740,743 ----
Karsten Hopp a227b5
  {   /* Add new patch number below this line */
Karsten Hopp a227b5
+ /**/
Karsten Hopp a227b5
+     76,
Karsten Hopp a227b5
  /**/
Karsten Hopp a227b5
Karsten Hopp a227b5
-- 
Karsten Hopp a227b5
INSPECTOR END OF FILM: Move along.  There's nothing to see!  Keep moving!
Karsten Hopp a227b5
   [Suddenly he notices the cameras.]
Karsten Hopp a227b5
INSPECTOR END OF FILM: (to Camera) All right, put that away sonny.
Karsten Hopp a227b5
   [He walks over to it and puts his hand over the lens.]
Karsten Hopp a227b5
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp a227b5
Karsten Hopp a227b5
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp a227b5
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp a227b5
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp a227b5
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///