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