home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.0.136 < prev    next >
Encoding:
Internet Message Format  |  2002-01-14  |  1.3 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.136
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.0.136
  11. Problem:    When completing in Insert mode, a mapping could be unexpectedly
  12.         applied.
  13. Solution:   Don't use mappings when checking for a typed character.
  14. Files:        src/edit.c
  15.  
  16.  
  17. *** ../vim60.135/src/edit.c    Sun Dec 30 21:23:29 2001
  18. --- src/edit.c    Tue Jan 15 17:12:44 2002
  19. ***************
  20. *** 2917,2923 ****
  21. --- 2917,2925 ----
  22.       return;
  23.       count = 0;
  24.   
  25. +     ++no_mapping;
  26.       c = vpeekc_any();
  27. +     --no_mapping;
  28.       if (c != NUL)
  29.       {
  30.       if (vim_is_ctrl_x_key(c) && c != Ctrl_X && c != Ctrl_R)
  31. *** ../vim60.135/src/version.c    Tue Jan 15 16:37:40 2002
  32. --- src/version.c    Tue Jan 15 19:46:15 2002
  33. ***************
  34. *** 608,609 ****
  35. --- 608,611 ----
  36.   {   /* Add new patch number below this line */
  37. + /**/
  38. +     136,
  39.   /**/
  40.  
  41. -- 
  42. A consultant is a person who takes your money and annoys your employees while
  43. tirelessly searching for the best way to extend the consulting contract.
  44.                 (Scott Adams - The Dilbert principle)
  45.  
  46.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  47. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  48.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  49.