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.3 / 7.3.186 < prev    next >
Encoding:
Internet Message Format  |  2012-11-20  |  1.7 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.186
  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.3.186
  11. Problem:    When 'clipboard' contains "unnamed" or "unnamedplus" the value of
  12.         v:register is wrong for operators without a specific register.
  13. Solution:   Adjust the register according to 'clipboard'. (Ingo Karkat)
  14. Files:        src/normal.c
  15.  
  16.  
  17. *** ../vim-7.3.185/src/normal.c    2010-12-17 18:52:56.000000000 +0100
  18. --- src/normal.c    2011-05-10 16:07:49.000000000 +0200
  19. ***************
  20. *** 1202,1208 ****
  21.       {
  22.       clearop(oap);
  23.   #ifdef FEAT_EVAL
  24. !     set_reg_var('"');
  25.   #endif
  26.       }
  27.   
  28. --- 1202,1214 ----
  29.       {
  30.       clearop(oap);
  31.   #ifdef FEAT_EVAL
  32. !     {
  33. !         int regname = 0;
  34. !         /* Adjust the register according to 'clipboard', so that when
  35. !          * "unnamed" is present it becomes '*' or '+' instead of '"'. */
  36. !         adjust_clip_reg(®name);
  37. !         set_reg_var(regname);
  38. !     }
  39.   #endif
  40.       }
  41.   
  42. *** ../vim-7.3.185/src/version.c    2011-05-10 16:00:43.000000000 +0200
  43. --- src/version.c    2011-05-10 16:10:10.000000000 +0200
  44. ***************
  45. *** 716,717 ****
  46. --- 716,719 ----
  47.   {   /* Add new patch number below this line */
  48. + /**/
  49. +     186,
  50.   /**/
  51.  
  52. -- 
  53. hundred-and-one symptoms of being an internet addict:
  54. 80. At parties, you introduce your spouse as your "service provider."
  55.  
  56.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  57. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  58. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  59.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  60.