Karsten Hopp dfe816
To: vim_dev@googlegroups.com
Karsten Hopp dfe816
Subject: Patch 7.3.984
Karsten Hopp dfe816
Fcc: outbox
Karsten Hopp dfe816
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp dfe816
Mime-Version: 1.0
Karsten Hopp dfe816
Content-Type: text/plain; charset=UTF-8
Karsten Hopp dfe816
Content-Transfer-Encoding: 8bit
Karsten Hopp dfe816
------------
Karsten Hopp dfe816
Karsten Hopp dfe816
Patch 7.3.984
Karsten Hopp dfe816
Problem:    A Visual mapping that uses CTRL-G works differently when started
Karsten Hopp dfe816
	    from Insert mode. (Ein Brown)
Karsten Hopp dfe816
Solution:   Reset old_mapped_len when handling typed text in Select mode.
Karsten Hopp dfe816
Files:	    src/normal.c
Karsten Hopp dfe816
Karsten Hopp dfe816
Karsten Hopp dfe816
*** ../vim-7.3.983/src/normal.c	2013-05-06 04:21:35.000000000 +0200
Karsten Hopp dfe816
--- src/normal.c	2013-05-20 21:11:55.000000000 +0200
Karsten Hopp dfe816
***************
Karsten Hopp dfe816
*** 701,706 ****
Karsten Hopp dfe816
--- 701,707 ----
Karsten Hopp dfe816
  	else
Karsten Hopp dfe816
  	    c = 'c';
Karsten Hopp dfe816
  	msg_nowait = TRUE;	/* don't delay going to insert mode */
Karsten Hopp dfe816
+ 	old_mapped_len = 0;	/* do go to Insert mode */
Karsten Hopp dfe816
      }
Karsten Hopp dfe816
  #endif
Karsten Hopp dfe816
  
Karsten Hopp dfe816
*** ../vim-7.3.983/src/version.c	2013-05-21 12:43:52.000000000 +0200
Karsten Hopp dfe816
--- src/version.c	2013-05-21 12:45:02.000000000 +0200
Karsten Hopp dfe816
***************
Karsten Hopp dfe816
*** 730,731 ****
Karsten Hopp dfe816
--- 730,733 ----
Karsten Hopp dfe816
  {   /* Add new patch number below this line */
Karsten Hopp dfe816
+ /**/
Karsten Hopp dfe816
+     984,
Karsten Hopp dfe816
  /**/
Karsten Hopp dfe816
Karsten Hopp dfe816
-- 
Karsten Hopp dfe816
MICHAEL PALIN PLAYED: 1ST SOLDIER WITH A KEEN INTEREST IN BIRDS, DENNIS, MR
Karsten Hopp dfe816
                      DUCK (A VILLAGE CARPENTER WHO IS ALMOST KEENER THAN
Karsten Hopp dfe816
                      ANYONE ELSE TO BURN WITCHES), THREE-HEADED KNIGHT, SIR
Karsten Hopp dfe816
                      GALAHAD, KING OF SWAMP CASTLE, BROTHER MAYNARD'S ROOMATE
Karsten Hopp dfe816
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp dfe816
Karsten Hopp dfe816
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp dfe816
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp dfe816
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp dfe816
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///