-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Vim developers,

patch 7.4.468 (BTW it doesn't appear in the list on
ftp://ftp.vim.org/vol/2/vim/patches/7.4/README) addressed

> Issue 26: CTRL-C does not interrupt after it was mapped and then 
> unmapped

However, it apparently fails to consider the mapping _modes_ of
CTRL-C, so when I have such insert mode mapping, then do :cmap <C-c>
... | cunmap <C-c>, the insert mode mapping (though it still is listed
by :imap) becomes ineffective! (Same for other mode combinations.) I
have various mappings that include the <C-c> key (have I mentioned I'm
running out of keys?), and all of these get broken because one of my
plugins temporarily sets up a :cmap <C-c>.


I've used the following scriptlet to bisect the problem:

nnoremap <C-c> :quit!<CR>
nnoremap <C-x> :cquit!<CR>
cnoremap <C-c> dummy
cunmap <C-c>
echomsg "Press <C-c><C-x> now"

Interestingly, it requires actual typed keys, even :call
feedkeys("\<C-c>", 't') doesn't work.

I can reproduce this both on Windows/x64 and Linux/x64, up to the
current Vim 7.4.542.

Christian (as the author of the original patch), I hope you'll be able
to get a fix for that!

- -- regards, ingo
- -- 
  -- Ingo Karkat --  /^-- /^-- /^-- /^-- /^-- http://ingo-karkat.de/ --
  --   http://vim.sourceforge.net/account/profile.php?user_id=9713   --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)

iQEcBAEBAgAGBQJUiwmeAAoJEA7ziXlAzQ/vza8H/RS2xVIbOJuspyKGoLU3ZrR1
h/KWBUFuPs5vrp20EA5Ja6oQ+VesevcJ721bILWFqcimv6ZyxyRGe3F7boj5Inv5
zdfofLr80IASgGY3/+HDhqi+XH0VMBYy0HDa7EluZvkin1VXPqCrnnAbZXydobLC
oCQsoVf2s9ntIpa+XBpCLH4EBdsD2d9c0SKuLhd3yPbVhC0/t1wUcFRTILlsKR4J
IRzIpcXCAth/7HxoScbxX4sQL/yxTP5batDINiZWSHm3FFPDHj+wHz+pNNg1tkrc
RrMaaTf113XXQrDHM8MT/IVd838KbUteezrFWi4FLIX8U/PU2bm5RJ6aS+Qd5H0=
=wELI
-----END PGP SIGNATURE-----

-- 
-- 
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.

Attachment: bug-ctrl-c.vim
Description: application/octetstream

Raspunde prin e-mail lui