Patch 7.4.468
Problem:    Issue 26: CTRL-C does not interrupt after it was mapped and then
            unmapped.
Solution:   Reset mapped_ctrl_c. (Christian Brabandt)
Files:      src/getchar.c


*** ../vim-7.4.467/src/getchar.c        2014-07-30 16:00:45.539553496 +0200
--- src/getchar.c       2014-10-09 13:34:09.988888496 +0200
***************
*** 3707,3712 ****
--- 3707,3715 ----
      {
        if (!did_it)
            retval = 2;                     /* no match */
+       else if (*keys == Ctrl_C)
+           /* If CTRL-C has been unmapped, reuse it for Interrupting. */
+           mapped_ctrl_c = FALSE;
        goto theend;
      }
  
***************
*** 3739,3745 ****
        goto theend;
      }
  
!     /* If CTRL-C has been mapped, don't always use it for Interrupting */
      if (*keys == Ctrl_C)
        mapped_ctrl_c = TRUE;
  
--- 3742,3748 ----
        goto theend;
      }
  
!     /* If CTRL-C has been mapped, don't always use it for Interrupting. */
      if (*keys == Ctrl_C)
        mapped_ctrl_c = TRUE;
  
*** ../vim-7.4.467/src/version.c        2014-10-09 13:22:41.808886993 +0200
--- src/version.c       2014-10-09 13:29:56.252887942 +0200
***************
*** 743,744 ****
--- 743,746 ----
  {   /* Add new patch number below this line */
+ /**/
+     468,
  /**/

-- 
Marriage isn't a word.  It's a sentence.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui