components/vim/vim72-patches/7.2.216
changeset 198 172fc01ce997
equal deleted inserted replaced
197:fd801ec0737c 198:172fc01ce997
       
     1 To: [email protected]
       
     2 Subject: Patch 7.2.216
       
     3 Fcc: outbox
       
     4 From: Bram Moolenaar <[email protected]>
       
     5 Mime-Version: 1.0
       
     6 Content-Type: text/plain; charset=UTF-8
       
     7 Content-Transfer-Encoding: 8bit
       
     8 ------------
       
     9 
       
    10 Patch 7.2.216
       
    11 Problem:    Two error messages have the same number E812.
       
    12 Solution:   Give one message a different number.
       
    13 Files:	    runtime/doc/autocmd.txt, runtime/doc/if_mzsch.txt, src/if_mzsch.c
       
    14 
       
    15 
       
    16 *** ../vim-7.2.215/runtime/doc/autocmd.txt	2008-08-09 19:36:46.000000000 +0200
       
    17 --- runtime/doc/autocmd.txt	2009-06-24 17:49:04.000000000 +0200
       
    18 ***************
       
    19 *** 335,340 ****
       
    20 --- 335,342 ----
       
    21   				NOTE: When this autocommand is executed, the
       
    22   				current buffer "%" may be different from the
       
    23   				buffer being deleted "<afile>" and "<abuf>".
       
    24 + 				Don't change to another buffer, it will cause
       
    25 + 				problems.
       
    26   							*BufEnter*
       
    27   BufEnter			After entering a buffer.  Useful for setting
       
    28   				options for a file type.  Also executed when
       
    29 ***************
       
    30 *** 397,402 ****
       
    31 --- 399,406 ----
       
    32   				NOTE: When this autocommand is executed, the
       
    33   				current buffer "%" may be different from the
       
    34   				buffer being unloaded "<afile>".
       
    35 + 				Don't change to another buffer, it will cause
       
    36 + 				problems.
       
    37   							*BufWinEnter*
       
    38   BufWinEnter			After a buffer is displayed in a window.  This
       
    39   				can be when the buffer is loaded (after
       
    40 ***************
       
    41 *** 428,433 ****
       
    42 --- 432,439 ----
       
    43   				NOTE: When this autocommand is executed, the
       
    44   				current buffer "%" may be different from the
       
    45   				buffer being deleted "<afile>".
       
    46 + 				Don't change to another buffer, it will cause
       
    47 + 				problems.
       
    48   						*BufWrite* *BufWritePre*
       
    49   BufWrite or BufWritePre		Before writing the whole buffer to a file.
       
    50   							*BufWriteCmd*
       
    51 ***************
       
    52 *** 748,755 ****
       
    53   					'a'	abort, like hitting CTRL-C
       
    54   				When set to an empty string the user will be
       
    55   				asked, as if there was no SwapExists autocmd.
       
    56 ! 				Note: Do not try to change the buffer, the
       
    57 ! 				results are unpredictable.
       
    58   							*Syntax*
       
    59   Syntax				When the 'syntax' option has been set.  The
       
    60   				pattern is matched against the syntax name.
       
    61 --- 754,763 ----
       
    62   					'a'	abort, like hitting CTRL-C
       
    63   				When set to an empty string the user will be
       
    64   				asked, as if there was no SwapExists autocmd.
       
    65 ! 							*E812*
       
    66 ! 				It is not allowed to change to another buffer,
       
    67 ! 				change a buffer name or change directory
       
    68 ! 				here.
       
    69   							*Syntax*
       
    70   Syntax				When the 'syntax' option has been set.  The
       
    71   				pattern is matched against the syntax name.
       
    72 *** ../vim-7.2.215/runtime/doc/if_mzsch.txt	2009-05-26 22:58:43.000000000 +0200
       
    73 --- runtime/doc/if_mzsch.txt	2009-06-24 12:08:20.000000000 +0200
       
    74 ***************
       
    75 *** 1,4 ****
       
    76 ! *if_mzsch.txt*  For Vim version 7.2.  Last change: 2009 May 26
       
    77   
       
    78   
       
    79   		  VIM REFERENCE MANUAL    by Sergey Khorev
       
    80 --- 1,4 ----
       
    81 ! *if_mzsch.txt*  For Vim version 7.2.  Last change: 2009 Jun 24
       
    82   
       
    83   
       
    84   		  VIM REFERENCE MANUAL    by Sergey Khorev
       
    85 ***************
       
    86 *** 231,237 ****
       
    87       (set-cursor (line . col) [window])  Set cursor position.
       
    88   
       
    89   ==============================================================================
       
    90 ! 5. Dynamic loading				    *mzscheme-dynamic* *E812*
       
    91   
       
    92   On MS-Windows the MzScheme libraries can be loaded dynamically. The |:version|
       
    93   output then includes |+mzscheme/dyn|.
       
    94 --- 231,237 ----
       
    95       (set-cursor (line . col) [window])  Set cursor position.
       
    96   
       
    97   ==============================================================================
       
    98 ! 5. Dynamic loading				    *mzscheme-dynamic* *E815*
       
    99   
       
   100   On MS-Windows the MzScheme libraries can be loaded dynamically. The |:version|
       
   101   output then includes |+mzscheme/dyn|.
       
   102 *** ../vim-7.2.215/src/if_mzsch.c	2009-05-26 22:58:43.000000000 +0200
       
   103 --- src/if_mzsch.c	2009-06-24 12:08:23.000000000 +0200
       
   104 ***************
       
   105 *** 1040,1046 ****
       
   106   #ifdef DYNAMIC_MZSCHEME
       
   107   	if (!mzscheme_enabled(TRUE))
       
   108   	{
       
   109 ! 	    EMSG(_("E812: Sorry, this command is disabled, the MzScheme libraries could not be loaded."));
       
   110   	    return -1;
       
   111   	}
       
   112   #endif
       
   113 --- 1040,1046 ----
       
   114   #ifdef DYNAMIC_MZSCHEME
       
   115   	if (!mzscheme_enabled(TRUE))
       
   116   	{
       
   117 ! 	    EMSG(_("E815: Sorry, this command is disabled, the MzScheme libraries could not be loaded."));
       
   118   	    return -1;
       
   119   	}
       
   120   #endif
       
   121 *** ../vim-7.2.215/src/version.c	2009-06-24 17:31:27.000000000 +0200
       
   122 --- src/version.c	2009-06-24 17:46:56.000000000 +0200
       
   123 ***************
       
   124 *** 678,679 ****
       
   125 --- 678,681 ----
       
   126   {   /* Add new patch number below this line */
       
   127 + /**/
       
   128 +     216,
       
   129   /**/
       
   130 
       
   131 -- 
       
   132 Everyone has a photographic memory. Some don't have film.
       
   133 
       
   134  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
       
   135 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
       
   136 \\\        download, build and distribute -- http://www.A-A-P.org        ///
       
   137  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///