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.651 < prev    next >
Encoding:
Internet Message Format  |  2012-11-20  |  3.0 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.651
  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.651
  11. Problem:    Completion after ":help \{-" gives an error message.
  12. Solution:   Prepend a backslash.
  13. Files:      src/ex_cmds.c
  14.  
  15.  
  16. *** ../vim-7.3.650/src/ex_cmds.c    2012-08-08 16:50:40.000000000 +0200
  17. --- src/ex_cmds.c    2012-09-05 15:10:13.000000000 +0200
  18. ***************
  19. *** 4851,4857 ****
  20.   #ifdef FEAT_EVAL
  21.           if (do_count)
  22.           {
  23. !             /* prevent accidently changing the buffer by a function */
  24.               save_ma = curbuf->b_p_ma;
  25.               curbuf->b_p_ma = FALSE;
  26.               sandbox++;
  27. --- 4851,4857 ----
  28.   #ifdef FEAT_EVAL
  29.           if (do_count)
  30.           {
  31. !             /* prevent accidentally changing the buffer by a function */
  32.               save_ma = curbuf->b_p_ma;
  33.               curbuf->b_p_ma = FALSE;
  34.               sandbox++;
  35. ***************
  36. *** 5264,5270 ****
  37.    * is assumed to be 'p' if missing.
  38.    *
  39.    * This is implemented in two passes: first we scan the file for the pattern and
  40. !  * set a mark for each line that (not) matches. secondly we execute the command
  41.    * for each line that has a mark. This is required because after deleting
  42.    * lines we do not know where to search for the next match.
  43.    */
  44. --- 5264,5270 ----
  45.    * is assumed to be 'p' if missing.
  46.    *
  47.    * This is implemented in two passes: first we scan the file for the pattern and
  48. !  * set a mark for each line that (not) matches. Secondly we execute the command
  49.    * for each line that has a mark. This is required because after deleting
  50.    * lines we do not know where to search for the next match.
  51.    */
  52. ***************
  53. *** 5896,5904 ****
  54.       }
  55.       else
  56.       {
  57. !       /* replace "[:...:]" with "\[:...:]"; "[+...]" with "\[++...]" */
  58. !         if (arg[0] == '[' && (arg[1] == ':'
  59. !                      || (arg[1] == '+' && arg[2] == '+')))
  60.             *d++ = '\\';
  61.   
  62.         for (s = arg; *s; ++s)
  63. --- 5896,5909 ----
  64.       }
  65.       else
  66.       {
  67. !       /* Replace:
  68. !        * "[:...:]" with "\[:...:]"
  69. !        * "[++...]" with "\[++...]"
  70. !        * "\{" with "\\{"
  71. !        */
  72. !         if ((arg[0] == '[' && (arg[1] == ':'
  73. !              || (arg[1] == '+' && arg[2] == '+')))
  74. !             || (arg[0] == '\\' && arg[1] == '{'))
  75.             *d++ = '\\';
  76.   
  77.         for (s = arg; *s; ++s)
  78. *** ../vim-7.3.650/src/version.c    2012-09-05 15:03:27.000000000 +0200
  79. --- src/version.c    2012-09-05 15:12:51.000000000 +0200
  80. ***************
  81. *** 721,722 ****
  82. --- 721,724 ----
  83.   {   /* Add new patch number below this line */
  84. + /**/
  85. +     651,
  86.   /**/
  87.  
  88. -- 
  89. GUARD #1:  Where'd you get the coconut?
  90. ARTHUR:    We found them.
  91. GUARD #1:  Found them?  In Mercea?  The coconut's tropical!
  92. ARTHUR:    What do you mean?
  93. GUARD #1:  Well, this is a temperate zone.
  94.                                   The Quest for the Holy Grail (Monty Python)
  95.  
  96.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  97. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  98. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  99.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  100.