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 / 7.4 / 7.4.382 < prev    next >
Encoding:
Internet Message Format  |  2014-07-22  |  1.8 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.382
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.4.382
  11. Problem:    Mapping characters may not work after typing Esc in Insert mode.
  12. Solution:   Fix the noremap flags for inserted characters. (Jacob Niehus)
  13. Files:        src/getchar.c
  14.  
  15.  
  16. *** ../vim-7.4.381/src/getchar.c    2014-06-25 14:39:35.102348584 +0200
  17. --- src/getchar.c    2014-07-23 20:10:25.651792765 +0200
  18. ***************
  19. *** 2731,2736 ****
  20. --- 2731,2741 ----
  21.           }
  22.           if (c < 0)
  23.               continue;    /* end of input script reached */
  24. +         /* Allow mapping for just typed characters. When we get here c
  25. +          * is the number of extra bytes and typebuf.tb_len is 1. */
  26. +         for (n = 1; n <= c; ++n)
  27. +             typebuf.tb_noremap[typebuf.tb_off + n] = RM_YES;
  28.           typebuf.tb_len += c;
  29.   
  30.           /* buffer full, don't map */
  31. *** ../vim-7.4.381/src/version.c    2014-07-23 17:39:21.815857910 +0200
  32. --- src/version.c    2014-07-23 18:26:42.663837492 +0200
  33. ***************
  34. *** 736,737 ****
  35. --- 736,739 ----
  36.   {   /* Add new patch number below this line */
  37. + /**/
  38. +     382,
  39.   /**/
  40.  
  41. -- 
  42. DENNIS: Oh, very nice. King, eh!  I expect you've got a palace and fine
  43.         clothes and courtiers and plenty of food.  And how d'you get that?  By
  44.         exploiting the workers! By hanging on to outdated imperialist dogma
  45.         which perpetuates the social and economic differences in our society!
  46.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  47.  
  48.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  49. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  50. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  51.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  52.