Re: Paste bug in mswin.vim and menu.vim (plus the fix)
- Tony Apuzzo wrote:
> I found a bug in mswin.vim and menu.vim relating to the <SID>PasteApparently nobody ran into this problem yet. I'll include the patch,
> function in gvim 6.4 (also in latest vim7 cvs sources). The special
> Paste func does not protect itself from remapped normal commands. For
> example, if you remap ` in normal, <C-V> and Edit-->Paste will do
> strange things.
> To fix it, replace all instances of "normal" with "normal!" in both
> files. Not sure if this is a production-quality fix but it does solve
> my problem. Hope it helps someone else too.
> Such a trivial fix that I'm not sure a patch is needed, but here it is.
> I don't know if it is safe to include the ESC character in the text of
> the email, in which case the following patch may not come through
hundred-and-one symptoms of being an internet addict:
231. You sprinkle Carpet Fresh on the rugs and put your vacuum cleaner
in the front doorway permanently so it always looks like you are
actually attempting to do something about that mess that has amassed
since you discovered the Internet.
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://www.ICCF.nl ///