|
Karsten Hopp |
7d5e9d |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
7d5e9d |
Subject: Patch 7.4.468
|
|
Karsten Hopp |
7d5e9d |
Fcc: outbox
|
|
Karsten Hopp |
7d5e9d |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
7d5e9d |
Mime-Version: 1.0
|
|
Karsten Hopp |
7d5e9d |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
7d5e9d |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
7d5e9d |
------------
|
|
Karsten Hopp |
7d5e9d |
|
|
Karsten Hopp |
7d5e9d |
Patch 7.4.468
|
|
Karsten Hopp |
7d5e9d |
Problem: Issue 26: CTRL-C does not interrupt after it was mapped and then
|
|
Karsten Hopp |
7d5e9d |
unmapped.
|
|
Karsten Hopp |
7d5e9d |
Solution: Reset mapped_ctrl_c. (Christian Brabandt)
|
|
Karsten Hopp |
7d5e9d |
Files: src/getchar.c
|
|
Karsten Hopp |
7d5e9d |
|
|
Karsten Hopp |
7d5e9d |
|
|
Karsten Hopp |
7d5e9d |
*** ../vim-7.4.467/src/getchar.c 2014-07-30 16:00:45.539553496 +0200
|
|
Karsten Hopp |
7d5e9d |
--- src/getchar.c 2014-10-09 13:34:09.988888496 +0200
|
|
Karsten Hopp |
7d5e9d |
***************
|
|
Karsten Hopp |
7d5e9d |
*** 3707,3712 ****
|
|
Karsten Hopp |
7d5e9d |
--- 3707,3715 ----
|
|
Karsten Hopp |
7d5e9d |
{
|
|
Karsten Hopp |
7d5e9d |
if (!did_it)
|
|
Karsten Hopp |
7d5e9d |
retval = 2; /* no match */
|
|
Karsten Hopp |
7d5e9d |
+ else if (*keys == Ctrl_C)
|
|
Karsten Hopp |
7d5e9d |
+ /* If CTRL-C has been unmapped, reuse it for Interrupting. */
|
|
Karsten Hopp |
7d5e9d |
+ mapped_ctrl_c = FALSE;
|
|
Karsten Hopp |
7d5e9d |
goto theend;
|
|
Karsten Hopp |
7d5e9d |
}
|
|
Karsten Hopp |
7d5e9d |
|
|
Karsten Hopp |
7d5e9d |
***************
|
|
Karsten Hopp |
7d5e9d |
*** 3739,3745 ****
|
|
Karsten Hopp |
7d5e9d |
goto theend;
|
|
Karsten Hopp |
7d5e9d |
}
|
|
Karsten Hopp |
7d5e9d |
|
|
Karsten Hopp |
7d5e9d |
! /* If CTRL-C has been mapped, don't always use it for Interrupting */
|
|
Karsten Hopp |
7d5e9d |
if (*keys == Ctrl_C)
|
|
Karsten Hopp |
7d5e9d |
mapped_ctrl_c = TRUE;
|
|
Karsten Hopp |
7d5e9d |
|
|
Karsten Hopp |
7d5e9d |
--- 3742,3748 ----
|
|
Karsten Hopp |
7d5e9d |
goto theend;
|
|
Karsten Hopp |
7d5e9d |
}
|
|
Karsten Hopp |
7d5e9d |
|
|
Karsten Hopp |
7d5e9d |
! /* If CTRL-C has been mapped, don't always use it for Interrupting. */
|
|
Karsten Hopp |
7d5e9d |
if (*keys == Ctrl_C)
|
|
Karsten Hopp |
7d5e9d |
mapped_ctrl_c = TRUE;
|
|
Karsten Hopp |
7d5e9d |
|
|
Karsten Hopp |
7d5e9d |
*** ../vim-7.4.467/src/version.c 2014-10-09 13:22:41.808886993 +0200
|
|
Karsten Hopp |
7d5e9d |
--- src/version.c 2014-10-09 13:29:56.252887942 +0200
|
|
Karsten Hopp |
7d5e9d |
***************
|
|
Karsten Hopp |
7d5e9d |
*** 743,744 ****
|
|
Karsten Hopp |
7d5e9d |
--- 743,746 ----
|
|
Karsten Hopp |
7d5e9d |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
7d5e9d |
+ /**/
|
|
Karsten Hopp |
7d5e9d |
+ 468,
|
|
Karsten Hopp |
7d5e9d |
/**/
|
|
Karsten Hopp |
7d5e9d |
|
|
Karsten Hopp |
7d5e9d |
--
|
|
Karsten Hopp |
7d5e9d |
Marriage isn't a word. It's a sentence.
|
|
Karsten Hopp |
7d5e9d |
|
|
Karsten Hopp |
7d5e9d |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
7d5e9d |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
7d5e9d |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
7d5e9d |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|