073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.590
073263
Fcc: outbox
073263
From: Bram Moolenaar <Bram@moolenaar.net>
073263
Mime-Version: 1.0
073263
Content-Type: text/plain; charset=UTF-8
073263
Content-Transfer-Encoding: 8bit
073263
------------
073263
073263
Patch 7.4.590
073263
Problem:    Using ctrl_x_mode as if it contains flags.
073263
Solution:   Don't use AND with CTRL_X_OMNI. (Hirohito Higashi)
073263
Files:	    src/edit.c
073263
073263
073263
*** ../vim-7.4.589/src/edit.c	2014-11-12 18:59:17.602000656 +0100
073263
--- src/edit.c	2015-01-20 19:43:45.376745467 +0100
073263
***************
073263
*** 3394,3400 ****
073263
       * allow the word to be deleted, we won't match everything. */
073263
      if ((int)(p - line) - (int)compl_col < 0
073263
  	    || ((int)(p - line) - (int)compl_col == 0
073263
! 		&& (ctrl_x_mode & CTRL_X_OMNI) == 0))
073263
  	return K_BS;
073263
  
073263
      /* Deleted more than what was used to find matches or didn't finish
073263
--- 3394,3400 ----
073263
       * allow the word to be deleted, we won't match everything. */
073263
      if ((int)(p - line) - (int)compl_col < 0
073263
  	    || ((int)(p - line) - (int)compl_col == 0
073263
! 		&& ctrl_x_mode != CTRL_X_OMNI))
073263
  	return K_BS;
073263
  
073263
      /* Deleted more than what was used to find matches or didn't finish
073263
*** ../vim-7.4.589/src/version.c	2015-01-20 19:39:31.655524020 +0100
073263
--- src/version.c	2015-01-22 22:40:04.297786215 +0100
073263
***************
073263
*** 743,744 ****
073263
--- 743,746 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     590,
073263
  /**/
073263
073263
-- 
073263
Laughing helps. It's like jogging on the inside.
073263
073263
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
073263
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
073263
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
073263
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///