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.2.461 < prev    next >
Encoding:
Internet Message Format  |  2004-04-07  |  2.3 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.461
  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.2.461
  11. Problem:    After using a search command "x" starts putting single characters
  12.         in the numbered registers.
  13. Solution:   Reset "use_reg_one" at the right moment.
  14. Files:        src/normal.c
  15.  
  16.  
  17. *** ../vim-6.2.460/src/normal.c    Sun Apr  4 12:06:41 2004
  18. --- src/normal.c    Wed Apr  7 22:52:24 2004
  19. ***************
  20. *** 1118,1125 ****
  21.           && !oap->op_type
  22.           && (idx < 0 || !(nv_cmds[idx].cmd_flags & NV_KEEPREG)))
  23.       {
  24. !     oap->regname = 0;
  25. !     oap->motion_force = NUL;
  26.   #ifdef FEAT_EVAL
  27.       set_reg_var('"');
  28.   #endif
  29. --- 1118,1124 ----
  30.           && !oap->op_type
  31.           && (idx < 0 || !(nv_cmds[idx].cmd_flags & NV_KEEPREG)))
  32.       {
  33. !     clearop(oap);
  34.   #ifdef FEAT_EVAL
  35.       set_reg_var('"');
  36.   #endif
  37. ***************
  38. *** 2000,2006 ****
  39.               && (oap->op_type == OP_LSHIFT || oap->op_type == OP_RSHIFT
  40.                           || oap->op_type == OP_DELETE))
  41.           coladvance(curwin->w_curswant = old_col);
  42. -         oap->op_type = OP_NOP;
  43.       }
  44.       else
  45.       {
  46. --- 1999,2004 ----
  47. ***************
  48. *** 2009,2016 ****
  49.   #ifdef FEAT_VISUAL
  50.       oap->block_mode = FALSE;
  51.   #endif
  52. !     oap->regname = 0;
  53. !     oap->motion_force = NUL;
  54.       }
  55.   }
  56.   
  57. --- 2007,2013 ----
  58.   #ifdef FEAT_VISUAL
  59.       oap->block_mode = FALSE;
  60.   #endif
  61. !     clearop(oap);
  62.       }
  63.   }
  64.   
  65. *** ../vim-6.2.460/src/version.c    Wed Apr  7 19:49:52 2004
  66. --- src/version.c    Thu Apr  8 12:29:02 2004
  67. ***************
  68. *** 639,640 ****
  69. --- 639,642 ----
  70.   {   /* Add new patch number below this line */
  71. + /**/
  72. +     461,
  73.   /**/
  74.  
  75. -- 
  76. ARTHUR:    Well, it doesn't matter.  Will you go and tell your master that
  77.            Arthur from the Court of Camelot is here.
  78. GUARD #1:  Listen, in order to maintain air-speed velocity, a swallow
  79.            needs to beat its wings 43 times every second, right?
  80. ARTHUR:    Please!
  81.                                   The Quest for the Holy Grail (Monty Python)
  82.  
  83.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  84. ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  85. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  86.  \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
  87.