Karsten Hopp 083102
To: vim_dev@googlegroups.com
Karsten Hopp 083102
Subject: Patch 7.3.599
Karsten Hopp 083102
Fcc: outbox
Karsten Hopp 083102
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 083102
Mime-Version: 1.0
Karsten Hopp 083102
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 083102
Content-Transfer-Encoding: 8bit
Karsten Hopp 083102
------------
Karsten Hopp 083102
Karsten Hopp 083102
Patch 7.3.599 (after 7.3.597)
Karsten Hopp 083102
Problem:    Missing change in one file.
Karsten Hopp 083102
Solution:   Patch for changed clip_autoselect().
Karsten Hopp 083102
Files:      src/option.c
Karsten Hopp 083102
Karsten Hopp 083102
Karsten Hopp 083102
*** ../vim-7.3.598/src/option.c	2012-06-29 15:51:26.000000000 +0200
Karsten Hopp 083102
--- src/option.c	2012-07-10 16:35:07.000000000 +0200
Karsten Hopp 083102
***************
Karsten Hopp 083102
*** 7377,7383 ****
Karsten Hopp 083102
  check_clipboard_option()
Karsten Hopp 083102
  {
Karsten Hopp 083102
      int		new_unnamed = 0;
Karsten Hopp 083102
!     int		new_autoselect = FALSE;
Karsten Hopp 083102
      int		new_autoselectml = FALSE;
Karsten Hopp 083102
      int		new_html = FALSE;
Karsten Hopp 083102
      regprog_T	*new_exclude_prog = NULL;
Karsten Hopp 083102
--- 7377,7384 ----
Karsten Hopp 083102
  check_clipboard_option()
Karsten Hopp 083102
  {
Karsten Hopp 083102
      int		new_unnamed = 0;
Karsten Hopp 083102
!     int		new_autoselect_star = FALSE;
Karsten Hopp 083102
!     int		new_autoselect_plus = FALSE;
Karsten Hopp 083102
      int		new_autoselectml = FALSE;
Karsten Hopp 083102
      int		new_html = FALSE;
Karsten Hopp 083102
      regprog_T	*new_exclude_prog = NULL;
Karsten Hopp 083102
***************
Karsten Hopp 083102
*** 7398,7410 ****
Karsten Hopp 083102
  	    p += 11;
Karsten Hopp 083102
  	}
Karsten Hopp 083102
  	else if (STRNCMP(p, "autoselect", 10) == 0
Karsten Hopp 083102
! 					&& (p[10] == ',' || p[10] == NUL))
Karsten Hopp 083102
  	{
Karsten Hopp 083102
! 	    new_autoselect = TRUE;
Karsten Hopp 083102
  	    p += 10;
Karsten Hopp 083102
  	}
Karsten Hopp 083102
  	else if (STRNCMP(p, "autoselectml", 12) == 0
Karsten Hopp 083102
! 					&& (p[12] == ',' || p[12] == NUL))
Karsten Hopp 083102
  	{
Karsten Hopp 083102
  	    new_autoselectml = TRUE;
Karsten Hopp 083102
  	    p += 12;
Karsten Hopp 083102
--- 7399,7417 ----
Karsten Hopp 083102
  	    p += 11;
Karsten Hopp 083102
  	}
Karsten Hopp 083102
  	else if (STRNCMP(p, "autoselect", 10) == 0
Karsten Hopp 083102
! 					    && (p[10] == ',' || p[10] == NUL))
Karsten Hopp 083102
  	{
Karsten Hopp 083102
! 	    new_autoselect_star = TRUE;
Karsten Hopp 083102
  	    p += 10;
Karsten Hopp 083102
  	}
Karsten Hopp 083102
+ 	else if (STRNCMP(p, "autoselectplus", 14) == 0
Karsten Hopp 083102
+ 					    && (p[14] == ',' || p[14] == NUL))
Karsten Hopp 083102
+ 	{
Karsten Hopp 083102
+ 	    new_autoselect_plus = TRUE;
Karsten Hopp 083102
+ 	    p += 14;
Karsten Hopp 083102
+ 	}
Karsten Hopp 083102
  	else if (STRNCMP(p, "autoselectml", 12) == 0
Karsten Hopp 083102
! 					    && (p[12] == ',' || p[12] == NUL))
Karsten Hopp 083102
  	{
Karsten Hopp 083102
  	    new_autoselectml = TRUE;
Karsten Hopp 083102
  	    p += 12;
Karsten Hopp 083102
***************
Karsten Hopp 083102
*** 7433,7439 ****
Karsten Hopp 083102
      if (errmsg == NULL)
Karsten Hopp 083102
      {
Karsten Hopp 083102
  	clip_unnamed = new_unnamed;
Karsten Hopp 083102
! 	clip_autoselect = new_autoselect;
Karsten Hopp 083102
  	clip_autoselectml = new_autoselectml;
Karsten Hopp 083102
  	clip_html = new_html;
Karsten Hopp 083102
  	vim_free(clip_exclude_prog);
Karsten Hopp 083102
--- 7440,7447 ----
Karsten Hopp 083102
      if (errmsg == NULL)
Karsten Hopp 083102
      {
Karsten Hopp 083102
  	clip_unnamed = new_unnamed;
Karsten Hopp 083102
! 	clip_autoselect_star = new_autoselect_star;
Karsten Hopp 083102
! 	clip_autoselect_plus = new_autoselect_plus;
Karsten Hopp 083102
  	clip_autoselectml = new_autoselectml;
Karsten Hopp 083102
  	clip_html = new_html;
Karsten Hopp 083102
  	vim_free(clip_exclude_prog);
Karsten Hopp 083102
*** ../vim-7.3.598/src/version.c	2012-07-10 17:14:50.000000000 +0200
Karsten Hopp 083102
--- src/version.c	2012-07-10 18:30:17.000000000 +0200
Karsten Hopp 083102
***************
Karsten Hopp 083102
*** 716,717 ****
Karsten Hopp 083102
--- 716,719 ----
Karsten Hopp 083102
  {   /* Add new patch number below this line */
Karsten Hopp 083102
+ /**/
Karsten Hopp 083102
+     599,
Karsten Hopp 083102
  /**/
Karsten Hopp 083102
Karsten Hopp 083102
-- 
Karsten Hopp 083102
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 083102
108. While reading a magazine, you look for the Zoom icon for a better
Karsten Hopp 083102
     look at a photograph.
Karsten Hopp 083102
Karsten Hopp 083102
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 083102
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 083102
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 083102
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///