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