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