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.761 < prev    next >
Encoding:
Internet Message Format  |  2012-12-11  |  2.8 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.761
  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.761
  11. Problem:    In Visual mode a "-p does not work. (Marcin Szamotulski)
  12. Solution:   Avoid writing to "- before putting it. (Christian Brabandt)
  13. Files:        src/normal.c, src/testdir/test48.in, src/testdir/test48.ok
  14.  
  15.  
  16. *** ../vim-7.3.760/src/normal.c    2012-12-12 17:33:26.000000000 +0100
  17. --- src/normal.c    2012-12-12 18:11:06.000000000 +0100
  18. ***************
  19. *** 9412,9425 ****
  20.   # ifdef FEAT_CLIPBOARD
  21.           adjust_clip_reg(®name);
  22.   # endif
  23. !         if (regname == 0 || regname == '"' || VIM_ISDIGIT(regname)
  24.   # ifdef FEAT_CLIPBOARD
  25.               || (clip_unnamed && (regname == '*' || regname == '+'))
  26.   # endif
  27.   
  28.               )
  29.           {
  30. !         /* the delete is going to overwrite the register we want to
  31.            * put, save it first. */
  32.           reg1 = get_register(regname, TRUE);
  33.           }
  34. --- 9412,9426 ----
  35.   # ifdef FEAT_CLIPBOARD
  36.           adjust_clip_reg(®name);
  37.   # endif
  38. !            if (regname == 0 || regname == '"'
  39. !                      || VIM_ISDIGIT(regname) || regname == '-'
  40.   # ifdef FEAT_CLIPBOARD
  41.               || (clip_unnamed && (regname == '*' || regname == '+'))
  42.   # endif
  43.   
  44.               )
  45.           {
  46. !         /* The delete is going to overwrite the register we want to
  47.            * put, save it first. */
  48.           reg1 = get_register(regname, TRUE);
  49.           }
  50. *** ../vim-7.3.760/src/testdir/test48.in    2010-08-15 21:57:29.000000000 +0200
  51. --- src/testdir/test48.in    2012-12-12 18:09:21.000000000 +0100
  52. ***************
  53. *** 54,61 ****
  54. --- 54,65 ----
  55.   ^Olilili   <-- should show the name of a noted text editor
  56.   ^olilili   <-- and its version number-dd
  57.   :"
  58. + :" Test for yanking and pasting using the small delete register
  59. + gg/^foo
  60. + dewve"-p
  61.   :wq! test.out
  62.   ENDTEST
  63. + foo, bar
  64.   keyword keyw
  65.   all your base are belong to us
  66.   1 2 3 4 5 6
  67. *** ../vim-7.3.760/src/testdir/test48.ok    2010-08-15 21:57:29.000000000 +0200
  68. --- src/testdir/test48.ok    2012-12-12 18:09:25.000000000 +0100
  69. ***************
  70. *** 1,3 ****
  71. --- 1,4 ----
  72. + , foo
  73.   keyword keyword
  74.   all your base 
  75.   are belong to vim
  76. *** ../vim-7.3.760/src/version.c    2012-12-12 17:33:26.000000000 +0100
  77. --- src/version.c    2012-12-12 18:19:51.000000000 +0100
  78. ***************
  79. *** 727,728 ****
  80. --- 727,730 ----
  81.   {   /* Add new patch number below this line */
  82. + /**/
  83. +     761,
  84.   /**/
  85.  
  86. -- 
  87. You are not really successful until someone claims he sat
  88. beside you in school.
  89.  
  90.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  91. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  92. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  93.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  94.