81c2858
To: vim-dev@vim.org
81c2858
Subject: Patch 7.2.216
81c2858
Fcc: outbox
81c2858
From: Bram Moolenaar <Bram@moolenaar.net>
81c2858
Mime-Version: 1.0
81c2858
Content-Type: text/plain; charset=UTF-8
81c2858
Content-Transfer-Encoding: 8bit
81c2858
------------
81c2858
81c2858
Patch 7.2.216
81c2858
Problem:    Two error messages have the same number E812.
81c2858
Solution:   Give one message a different number.
81c2858
Files:	    runtime/doc/autocmd.txt, runtime/doc/if_mzsch.txt, src/if_mzsch.c
81c2858
81c2858
81c2858
*** ../vim-7.2.215/runtime/doc/autocmd.txt	2008-08-09 19:36:46.000000000 +0200
81c2858
--- runtime/doc/autocmd.txt	2009-06-24 17:49:04.000000000 +0200
81c2858
***************
81c2858
*** 335,340 ****
81c2858
--- 335,342 ----
81c2858
  				NOTE: When this autocommand is executed, the
81c2858
  				current buffer "%" may be different from the
81c2858
  				buffer being deleted "<afile>" and "<abuf>".
81c2858
+ 				Don't change to another buffer, it will cause
81c2858
+ 				problems.
81c2858
  							*BufEnter*
81c2858
  BufEnter			After entering a buffer.  Useful for setting
81c2858
  				options for a file type.  Also executed when
81c2858
***************
81c2858
*** 397,402 ****
81c2858
--- 399,406 ----
81c2858
  				NOTE: When this autocommand is executed, the
81c2858
  				current buffer "%" may be different from the
81c2858
  				buffer being unloaded "<afile>".
81c2858
+ 				Don't change to another buffer, it will cause
81c2858
+ 				problems.
81c2858
  							*BufWinEnter*
81c2858
  BufWinEnter			After a buffer is displayed in a window.  This
81c2858
  				can be when the buffer is loaded (after
81c2858
***************
81c2858
*** 428,433 ****
81c2858
--- 432,439 ----
81c2858
  				NOTE: When this autocommand is executed, the
81c2858
  				current buffer "%" may be different from the
81c2858
  				buffer being deleted "<afile>".
81c2858
+ 				Don't change to another buffer, it will cause
81c2858
+ 				problems.
81c2858
  						*BufWrite* *BufWritePre*
81c2858
  BufWrite or BufWritePre		Before writing the whole buffer to a file.
81c2858
  							*BufWriteCmd*
81c2858
***************
81c2858
*** 748,755 ****
81c2858
  					'a'	abort, like hitting CTRL-C
81c2858
  				When set to an empty string the user will be
81c2858
  				asked, as if there was no SwapExists autocmd.
81c2858
! 				Note: Do not try to change the buffer, the
81c2858
! 				results are unpredictable.
81c2858
  							*Syntax*
81c2858
  Syntax				When the 'syntax' option has been set.  The
81c2858
  				pattern is matched against the syntax name.
81c2858
--- 754,763 ----
81c2858
  					'a'	abort, like hitting CTRL-C
81c2858
  				When set to an empty string the user will be
81c2858
  				asked, as if there was no SwapExists autocmd.
81c2858
! 							*E812*
81c2858
! 				It is not allowed to change to another buffer,
81c2858
! 				change a buffer name or change directory
81c2858
! 				here.
81c2858
  							*Syntax*
81c2858
  Syntax				When the 'syntax' option has been set.  The
81c2858
  				pattern is matched against the syntax name.
81c2858
*** ../vim-7.2.215/runtime/doc/if_mzsch.txt	2009-05-26 22:58:43.000000000 +0200
81c2858
--- runtime/doc/if_mzsch.txt	2009-06-24 12:08:20.000000000 +0200
81c2858
***************
81c2858
*** 1,4 ****
81c2858
! *if_mzsch.txt*  For Vim version 7.2.  Last change: 2009 May 26
81c2858
  
81c2858
  
81c2858
  		  VIM REFERENCE MANUAL    by Sergey Khorev
81c2858
--- 1,4 ----
81c2858
! *if_mzsch.txt*  For Vim version 7.2.  Last change: 2009 Jun 24
81c2858
  
81c2858
  
81c2858
  		  VIM REFERENCE MANUAL    by Sergey Khorev
81c2858
***************
81c2858
*** 231,237 ****
81c2858
      (set-cursor (line . col) [window])  Set cursor position.
81c2858
  
81c2858
  ==============================================================================
81c2858
! 5. Dynamic loading				    *mzscheme-dynamic* *E812*
81c2858
  
81c2858
  On MS-Windows the MzScheme libraries can be loaded dynamically. The |:version|
81c2858
  output then includes |+mzscheme/dyn|.
81c2858
--- 231,237 ----
81c2858
      (set-cursor (line . col) [window])  Set cursor position.
81c2858
  
81c2858
  ==============================================================================
81c2858
! 5. Dynamic loading				    *mzscheme-dynamic* *E815*
81c2858
  
81c2858
  On MS-Windows the MzScheme libraries can be loaded dynamically. The |:version|
81c2858
  output then includes |+mzscheme/dyn|.
81c2858
*** ../vim-7.2.215/src/if_mzsch.c	2009-05-26 22:58:43.000000000 +0200
81c2858
--- src/if_mzsch.c	2009-06-24 12:08:23.000000000 +0200
81c2858
***************
81c2858
*** 1040,1046 ****
81c2858
  #ifdef DYNAMIC_MZSCHEME
81c2858
  	if (!mzscheme_enabled(TRUE))
81c2858
  	{
81c2858
! 	    EMSG(_("E812: Sorry, this command is disabled, the MzScheme libraries could not be loaded."));
81c2858
  	    return -1;
81c2858
  	}
81c2858
  #endif
81c2858
--- 1040,1046 ----
81c2858
  #ifdef DYNAMIC_MZSCHEME
81c2858
  	if (!mzscheme_enabled(TRUE))
81c2858
  	{
81c2858
! 	    EMSG(_("E815: Sorry, this command is disabled, the MzScheme libraries could not be loaded."));
81c2858
  	    return -1;
81c2858
  	}
81c2858
  #endif
81c2858
*** ../vim-7.2.215/src/version.c	2009-06-24 17:31:27.000000000 +0200
81c2858
--- src/version.c	2009-06-24 17:46:56.000000000 +0200
81c2858
***************
81c2858
*** 678,679 ****
81c2858
--- 678,681 ----
81c2858
  {   /* Add new patch number below this line */
81c2858
+ /**/
81c2858
+     216,
81c2858
  /**/
81c2858
81c2858
-- 
81c2858
Everyone has a photographic memory. Some don't have film.
81c2858
81c2858
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
81c2858
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
81c2858
\\\        download, build and distribute -- http://www.A-A-P.org        ///
81c2858
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///