]> git.pld-linux.org Git - packages/vim.git/commitdiff
- new official patches
authorArtur Frysiak <artur@frysiak.net>
Mon, 7 Jul 2003 15:06:32 +0000 (15:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    6.2.015 -> 1.1
    6.2.016 -> 1.1
    6.2.017 -> 1.1
    6.2.018 -> 1.1
    6.2.019 -> 1.1
    6.2.020 -> 1.1
    6.2.021 -> 1.1

6.2.015 [new file with mode: 0644]
6.2.016 [new file with mode: 0644]
6.2.017 [new file with mode: 0644]
6.2.018 [new file with mode: 0644]
6.2.019 [new file with mode: 0644]
6.2.020 [new file with mode: 0644]
6.2.021 [new file with mode: 0644]

diff --git a/6.2.015 b/6.2.015
new file mode 100644 (file)
index 0000000..5e83ec8
--- /dev/null
+++ b/6.2.015
@@ -0,0 +1,85 @@
+To: vim-dev@vim.org
+Subject: Patch 6.2.015
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 6.2.015
+Problem:    The +xsmp feature is never enabled.
+Solution:   Move the #define for USE_XSMP to below where WANT_X11 is defined.
+           (Alexey Froloff)
+Files:     src/feature.h
+
+
+*** ../vim-6.2.014/src/feature.h       Sun May 25 19:44:49 2003
+--- src/feature.h      Wed Jun  4 21:14:43 2003
+***************
+*** 606,626 ****
+  #endif
+  
+  /*
+-  * XSMP - X11 Session Management Protocol
+-  * It may be preferred to disable this if the GUI supports it (e.g., GNOME/KDE)
+-  * and implement save-yourself etc. through that, but it may also be cleaner to
+-  * have all SM-aware vims do the same thing (libSM does not depend upon X11).
+-  * If your GUI wants to support SM itself, change this ifdef.
+-  * I'm assuming that any X11 implementation will cope with this for now.
+-  */
+- #if defined(HAVE_X11) && defined(WANT_X11) && defined(HAVE_X11_SM_SMLIB_H)
+- # define USE_XSMP
+- #endif
+- #if defined(USE_XSMP_INTERACT) && !defined(USE_XSMP)
+- # undef USE_XSMP_INTERACT
+- #endif
+- 
+- /*
+   * +xim                      X Input Method.  For entering special languages like
+   *                   chinese and Japanese.
+   * +hangul_input     Internal Hangul input method.  Must be included
+--- 606,611 ----
+***************
+*** 946,951 ****
+--- 931,952 ----
+   */
+  #if defined(FEAT_NORMAL) || defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA)
+  # define WANT_X11
++ #endif
++ 
++ /*
++  * XSMP - X11 Session Management Protocol
++  * It may be preferred to disable this if the GUI supports it (e.g.,
++  * GNOME/KDE) and implement save-yourself etc. through that, but it may also
++  * be cleaner to have all SM-aware vims do the same thing (libSM does not
++  * depend upon X11).
++  * If your GUI wants to support SM itself, change this ifdef.
++  * I'm assuming that any X11 implementation will cope with this for now.
++  */
++ #if defined(HAVE_X11) && defined(WANT_X11) && defined(HAVE_X11_SM_SMLIB_H)
++ # define USE_XSMP
++ #endif
++ #if defined(USE_XSMP_INTERACT) && !defined(USE_XSMP)
++ # undef USE_XSMP_INTERACT
+  #endif
+  
+  /*
+*** ../vim-6.2.014/src/version.c       Thu Jun  5 12:24:08 2003
+--- src/version.c      Mon Jun 30 22:17:00 2003
+***************
+*** 632,633 ****
+--- 632,635 ----
+  {   /* Add new patch number below this line */
++ /**/
++     15,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+263. You have more e-mail addresses than shorts.
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
+///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
+\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
+ \\\     Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///
diff --git a/6.2.016 b/6.2.016
new file mode 100644 (file)
index 0000000..d8ca277
--- /dev/null
+++ b/6.2.016
@@ -0,0 +1,202 @@
+To: vim-dev@vim.org
+Subject: Patch 6.2.016
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 6.2.016
+Problem:    Using ":scscope find" with 'cscopequickfix' does not always split
+           the window. (Gary Johnson)
+           Win32: ":cscope add" could make the script that contains it
+           read-only until the corresponding ":cscope kill".
+           Errors during ":cscope add" may not be handled properly.
+Solution:   When using the quickfix window may need to split the window.
+           Avoid file handle inheritance for the script.
+           Check for a failed connection and/or process.  (Sergey Khorev)
+Files:     src/ex_cmds2.c, src/if_cscope.c
+
+
+*** ../vim-6.2.015/src/ex_cmds2.c      Thu May 29 11:26:29 2003
+--- src/ex_cmds2.c     Thu Jun 19 23:42:05 2003
+***************
+*** 11,17 ****
+--- 11,26 ----
+   * ex_cmds2.c: some more functions for command line commands
+   */
+  
++ #if defined(WIN32) && defined(FEAT_CSCOPE)
++ # include <io.h>
++ #endif
++ 
+  #include "vim.h"
++ 
++ #if defined(WIN32) && defined(FEAT_CSCOPE)
++ # include <fcntl.h>
++ #endif
++ 
+  #include "version.h"
+  
+  static void  cmd_source __ARGS((char_u *fname, exarg_T *eap));
+***************
+*** 2016,2021 ****
+--- 2025,2049 ----
+  #define SCRIPT_INO(id) (((struct scriptstuff *)script_names.ga_data)[(id) - 1].ino)
+  #endif
+  
++ #if defined(WIN32) && defined(FEAT_CSCOPE)
++ static FILE *fopen_noinh_readbin __ARGS((char *filename));
++ 
++ /*
++  * Special function to open a file without handle inheritance.
++  */
++     static FILE *
++ fopen_noinh_readbin(filename)
++     char    *filename;
++ {
++     int      fd_tmp = open(filename, O_RDONLY | O_BINARY | O_NOINHERIT);
++ 
++     if (fd_tmp == -1)
++      return NULL;
++     return fdopen(fd_tmp, READBIN);
++ }
++ #endif
++ 
++ 
+  /*
+   * do_source: Read the file "fname" and execute its lines as EX commands.
+   *
+***************
+*** 2070,2076 ****
+--- 2098,2108 ----
+       goto theend;
+      }
+  
++ #if defined(WIN32) && defined(FEAT_CSCOPE)
++     cookie.fp = fopen_noinh_readbin((char *)fname_exp);
++ #else
+      cookie.fp = mch_fopen((char *)fname_exp, READBIN);
++ #endif
+      if (cookie.fp == NULL && check_other)
+      {
+       /*
+***************
+*** 2087,2093 ****
+--- 2119,2129 ----
+               *p = '.';
+           else
+               *p = '_';
++ #if defined(WIN32) && defined(FEAT_CSCOPE)
++          cookie.fp = fopen_noinh_readbin((char *)fname_exp);
++ #else
+           cookie.fp = mch_fopen((char *)fname_exp, READBIN);
++ #endif
+       }
+      }
+  
+*** ../vim-6.2.015/src/if_cscope.c     Tue Jun  3 20:40:22 2003
+--- src/if_cscope.c    Sun Jun 22 17:10:23 2003
+***************
+*** 517,523 ****
+--- 517,526 ----
+      {
+       if (cs_create_connection(i) == CSCOPE_FAILURE
+               || cs_read_prompt(i) == CSCOPE_FAILURE)
++      {
++          cs_release_csp(i, TRUE);
+           goto add_err;
++      }
+  
+       if (p_csverbose)
+       {
+***************
+*** 1095,1101 ****
+--- 1098,1116 ----
+       fclose(f);
+       /* '-' starts a new error list */
+       if (qf_init(tmp, (char_u *)"%f%*\\t%l%*\\t%m", *qfpos == '-') > 0)
++      {
++ # ifdef FEAT_WINDOWS
++          if (postponed_split != 0)
++          {
++              win_split(postponed_split > 0 ? postponed_split : 0, 0);
++ #  ifdef FEAT_SCROLLBIND
++              curwin->w_p_scb = FALSE;
++ #  endif
++              postponed_split = 0;
++          }
++ # endif
+           qf_jump(0, 0, forceit);
++      }
+       mch_remove(tmp);
+       vim_free(tmp);
+       return TRUE;
+***************
+*** 1794,1802 ****
+  #endif
+               )
+           ;
+!     if (s > path && *s == '/'
+  #ifdef WIN32
+!      || s > path && *s == '\\'
+  #endif
+           )
+       ++s;
+--- 1809,1817 ----
+  #endif
+               )
+           ;
+!     if ((s > path && *s == '/')
+  #ifdef WIN32
+!      || (s > path && *s == '\\')
+  #endif
+           )
+       ++s;
+***************
+*** 2081,2090 ****
+      /*
+       * Trying to exit normally (not sure whether it is fit to UNIX cscope
+       */
+!     (void)fputs("q\n", csinfo[i].to_fp);
+!     (void)fflush(csinfo[i].to_fp);
+      /* give cscope chance to exit normally */
+!     if (WaitForSingleObject(csinfo[i].hProc, 1000) == WAIT_TIMEOUT)
+       TerminateProcess(csinfo[i].hProc, 0);
+  #endif
+  
+--- 2096,2109 ----
+      /*
+       * Trying to exit normally (not sure whether it is fit to UNIX cscope
+       */
+!     if (csinfo[i].to_fp != NULL)
+!     {
+!      (void)fputs("q\n", csinfo[i].to_fp);
+!      (void)fflush(csinfo[i].to_fp);
+!     }
+      /* give cscope chance to exit normally */
+!     if (csinfo[i].hProc > 0
+!          && WaitForSingleObject(csinfo[i].hProc, 1000) == WAIT_TIMEOUT)
+       TerminateProcess(csinfo[i].hProc, 0);
+  #endif
+  
+*** ../vim-6.2.015/src/version.c       Mon Jun 30 22:18:22 2003
+--- src/version.c      Mon Jun 30 22:25:27 2003
+***************
+*** 632,633 ****
+--- 632,635 ----
+  {   /* Add new patch number below this line */
++ /**/
++     16,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+264. You turn to the teletext page "surfing report" and are surprised that it
+     is about sizes of waves and a weather forecast for seaside resorts.
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
+///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
+\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
+ \\\     Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///
diff --git a/6.2.017 b/6.2.017
new file mode 100644 (file)
index 0000000..5dca548
--- /dev/null
+++ b/6.2.017
@@ -0,0 +1,66 @@
+To: vim-dev@vim.org
+Subject: Patch 6.2.017
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 6.2.017
+Problem:    Test11 sometimes prompts the user, because a file would have been
+           changed outside of Vim. (Antonio Colombo)
+Solution:   Add a FileChangedShell autocommand to avoid the prompt.
+Files:     src/testdir/test11.in
+
+
+*** ../vim-6.2.016/src/testdir/test11.in       Sat Dec  2 13:35:22 2000
+--- src/testdir/test11.in      Thu Jun 26 23:43:07 2003
+***************
+*** 10,19 ****
+--- 10,22 ----
+  
+  Note: This test will fail if "gzip" is not available.
+  $GZIP is made empty, "-v" would cause trouble.
++ Use a FileChangedShell autocommand to avoid a prompt for "Xtestfile.gz" being
++ modified outside of Vim (noticed on Solaris).
+  
+  STARTTEST
+  :so small.vim
+  :let $GZIP = ""
++ :au FileChangedShell * echo "caught FileChangedShell"
+  :set bin
+  :au FileWritePre    *.gz   '[,']!gzip
+  :au FileWritePost   *.gz   undo
+***************
+*** 47,52 ****
+--- 50,59 ----
+  :au! FileReadPost   *.gz   '[,']s/l/L/
+  :$r Xtestfile.gz             " Read compressed file
+  :w                           " write it, after filtering
++ :au!             " remove all autocommands
++ :e               " Edit test.out again
++ :set nobin ff&   " use the default fileformat for writing
++ :w
+  :qa!
+  ENDTEST
+  
+*** ../vim-6.2.016/src/version.c       Mon Jun 30 22:27:28 2003
+--- src/version.c      Mon Jun 30 22:29:22 2003
+***************
+*** 632,633 ****
+--- 632,635 ----
+  {   /* Add new patch number below this line */
++ /**/
++     17,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+265. Your reason for not staying in touch with family is that 
+     they do not have e-mail addresses. 
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
+///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
+\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
+ \\\     Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///
diff --git a/6.2.018 b/6.2.018
new file mode 100644 (file)
index 0000000..0642fa7
--- /dev/null
+++ b/6.2.018
@@ -0,0 +1,115 @@
+To: vim-dev@vim.org
+Subject: Patch 6.2.018
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 6.2.018
+Problem:    When using the XSMP protocol and reading from stdin Vim may wait
+            for a key to be pressed.
+Solution:   Avoid that RealWaitForChar() is used recursively.
+Files:      src/os_unix.c
+
+
+*** ../vim-6.2.017/src/os_unix.c       Thu Jun  5 12:24:08 2003
+--- src/os_unix.c      Wed Jul  2 20:59:55 2003
+***************
+*** 3994,3999 ****
+--- 4000,4007 ----
+  {
+      int              ret;
+  #if defined(FEAT_XCLIPBOARD) || defined(USE_XSMP)
++     static int       busy = FALSE;
++ 
+      /* May retry getting characters after an event was handled. */
+  # define MAY_LOOP
+  
+***************
+*** 4016,4021 ****
+--- 4024,4034 ----
+           ))
+       gettimeofday(&start_tv, NULL);
+  # endif
++ 
++     /* Handle being called recursively.  This may happen for the session
++      * manager stuff, it may save the file, which does a breakcheck. */
++     if (busy)
++      return 0;
+  #endif
+  
+  #ifdef MAY_LOOP
+***************
+*** 4111,4117 ****
+--- 4124,4134 ----
+       if (xsmp_idx >= 0 && (fds[xsmp_idx].revents & (POLLIN | POLLHUP)))
+       {
+           if (fds[xsmp_idx].revents & POLLIN)
++          {
++              busy = TRUE;
+               xsmp_handle_requests();
++              busy = FALSE;
++          }
+           else if (fds[xsmp_idx].revents & POLLHUP)
+           {
+               if (p_verbose > 0)
+***************
+*** 4247,4253 ****
+--- 4264,4272 ----
+           }
+           else if (FD_ISSET(xsmp_icefd, &rfds))
+           {
++              busy = TRUE;
+               xsmp_handle_requests();
++              busy = FALSE;
+               if (--ret == 0)
+                   finished = FALSE;   /* keep going if event was only one */
+           }
+***************
+*** 5793,5799 ****
+      int              interact_style;
+      Bool     fast;
+  {
+!     /* Handle already biung in saveyourself */
+      if (xsmp.save_yourself)
+       SmcSaveYourselfDone(smc_conn, True);
+      xsmp.save_yourself = True;
+--- 5812,5818 ----
+      int              interact_style;
+      Bool     fast;
+  {
+!     /* Handle already being in saveyourself */
+      if (xsmp.save_yourself)
+       SmcSaveYourselfDone(smc_conn, True);
+      xsmp.save_yourself = True;
+***************
+*** 5893,5898 ****
+--- 5912,5918 ----
+  xsmp_handle_requests()
+  {
+      Bool rep;
++ 
+      if (IceProcessMessages(xsmp.iceconn, NULL, &rep)
+                                                == IceProcessMessagesIOError)
+      {
+*** ../vim-6.2.017/src/version.c       Mon Jun 30 22:31:05 2003
+--- src/version.c      Wed Jul  2 21:34:38 2003
+***************
+*** 632,633 ****
+--- 632,635 ----
+  {   /* Add new patch number below this line */
++ /**/
++     18,
+  /**/
+
+-- 
+GALAHAD: No, please.  Please! I can defeat them!  There's only a hundred.
+GIRLS:   He will beat us easily.  We haven't a chance.
+                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
+///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
+\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
+ \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
diff --git a/6.2.019 b/6.2.019
new file mode 100644 (file)
index 0000000..c1935f2
--- /dev/null
+++ b/6.2.019
@@ -0,0 +1,72 @@
+To: vim-dev@vim.org
+Subject: Patch 6.2.019 (lang)
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 6.2.019 (lang)
+Problem:    Loading the Portuguese menu causes an error message.
+Solution:   Join two lines.  (Jose Pedro Oliveira, José de Paula)
+Files:     runtime/lang/menu_pt_br.vim
+
+
+*** ../vim-6.2.018/runtime/lang/menu_pt_br.vim Mon Apr 28 22:12:41 2003
+--- runtime/lang/menu_pt_br.vim        Sun Jun 22 17:20:05 2003
+***************
+*** 1,6 ****
+  " Menu Translations: Português
+! " Maintainer: José de Paula <jose_rodrigues@ibest.com.br>
+! " Last Change: 2003 Apr 25
+  "
+  
+  " Quit when menu translations have already been done.
+--- 1,6 ----
+  " Menu Translations: Português
+! " Maintainer: José de Paula <jose_de_paula@ig.com.br>
+! " Last Change: 2003 Jun 12
+  "
+  
+  " Quit when menu translations have already been done.
+***************
+*** 76,83 ****
+  menutrans Block\ and\ Insert         Bloco\ e\ inserção
+  menutrans Always                     Sempre
+  
+! menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Ativar/Desativar\ Modo\ de\
+! In&serção<Tab>:set\ im!
+  menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! Ativar/Desativar\ Co&mpatibilidade\ com\ Vi<Tab>:set\ cp!
+  menutrans Search\ &Path\.\.\.                Camin&ho\ de\ Busca\.\.\.
+  menutrans Ta&g\ Files\.\.\.          Arquivos\ de\ Tags\.\.\.
+--- 76,82 ----
+  menutrans Block\ and\ Insert         Bloco\ e\ inserção
+  menutrans Always                     Sempre
+  
+! menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! Ativar/Desativar\ Modo\ de\ In&serção<Tab>:set\ im!
+  menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! Ativar/Desativar\ Co&mpatibilidade\ com\ Vi<Tab>:set\ cp!
+  menutrans Search\ &Path\.\.\.                Camin&ho\ de\ Busca\.\.\.
+  menutrans Ta&g\ Files\.\.\.          Arquivos\ de\ Tags\.\.\.
+*** ../vim-6.2.018/src/version.c       Wed Jul  2 21:36:41 2003
+--- src/version.c      Sat Jul  5 19:09:43 2003
+***************
+*** 632,633 ****
+--- 632,635 ----
+  {   /* Add new patch number below this line */
++ /**/
++     19,
+  /**/
+
+-- 
+ARTHUR:  Then who is your lord?
+WOMAN:   We don't have a lord.
+ARTHUR:  What?
+DENNIS:  I told you.  We're an anarcho-syndicalist commune.  We take it in
+         turns to act as a sort of executive officer for the week.
+                                  The Quest for the Holy Grail (Monty Python)
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
+///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
+\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
+ \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
diff --git a/6.2.020 b/6.2.020
new file mode 100644 (file)
index 0000000..1a628ab
--- /dev/null
+++ b/6.2.020
@@ -0,0 +1,77 @@
+To: vim-dev@vim.org
+Subject: Patch 6.2.020
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 6.2.020
+Problem:    The "Syntax/Set syntax only" menu item causes an error message.
+           (Oyvind Holm)
+Solution:   Set the script-local variable in a function. (Benji Fisher)
+Files:     runtime/synmenu.vim
+
+
+*** ../vim-6.2.019/runtime/synmenu.vim Sun Jun  1 16:15:47 2003
+--- runtime/synmenu.vim        Sun Jun 22 15:41:42 2003
+***************
+*** 2,8 ****
+  " This file is normally sourced from menu.vim.
+  "
+  " Maintainer:        Bram Moolenaar <Bram@vim.org>
+! " Last Change:       2002 Oct 01
+  
+  " Define the SetSyn function, used for the Syntax menu entries.
+  " Set 'filetype' and also 'syntax' if it is manually selected.
+--- 2,8 ----
+  " This file is normally sourced from menu.vim.
+  "
+  " Maintainer:        Bram Moolenaar <Bram@vim.org>
+! " Last Change:       2003 Jun 22
+  
+  " Define the SetSyn function, used for the Syntax menu entries.
+  " Set 'filetype' and also 'syntax' if it is manually selected.
+***************
+*** 404,410 ****
+  
+  an 50.195 &Syntax.-SEP1-                     <Nop>
+  
+! an 50.200 &Syntax.Set\ '&syntax'\ only               :let s:syntax_menu_synonly=1<CR>
+  an <silent> 50.202 &Syntax.Set\ '&filetype'\ too :call <SID>Nosynonly()<CR>
+  fun! s:Nosynonly()
+    if exists("s:syntax_menu_synonly")
+--- 404,413 ----
+  
+  an 50.195 &Syntax.-SEP1-                     <Nop>
+  
+! an <silent> 50.200 &Syntax.Set\ '&syntax'\ only :call <SID>Setsynonly()<CR>
+! fun! s:Setsynonly()
+!   let s:syntax_menu_synonly = 1
+! endfun
+  an <silent> 50.202 &Syntax.Set\ '&filetype'\ too :call <SID>Nosynonly()<CR>
+  fun! s:Nosynonly()
+    if exists("s:syntax_menu_synonly")
+*** ../vim-6.2.019/src/version.c       Sat Jul  5 19:11:14 2003
+--- src/version.c      Sat Jul  5 19:13:07 2003
+***************
+*** 632,633 ****
+--- 632,635 ----
+  {   /* Add new patch number below this line */
++ /**/
++     20,
+  /**/
+
+-- 
+ARTHUR:  Be quiet!
+DENNIS:  --but by a two-thirds majority in the case of more--
+ARTHUR:  Be quiet!  I order you to be quiet!
+WOMAN:   Order, eh -- who does he think he is?
+ARTHUR:  I am your king!
+                                  The Quest for the Holy Grail (Monty Python)
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
+///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
+\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
+ \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
diff --git a/6.2.021 b/6.2.021
new file mode 100644 (file)
index 0000000..c62eddf
--- /dev/null
+++ b/6.2.021
@@ -0,0 +1,128 @@
+To: vim-dev@vim.org
+Subject: Patch 6.2.021
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 6.2.021
+Problem:    The user manual section on exceptions contains small mistakes.
+Solution:   Give a good example of an error that could be missed and other
+           improvements. (Servatius Brandt)
+Files:     runtime/doc/usr_41.txt
+
+
+*** ../vim-6.2.020/runtime/doc/usr_41.txt      Sun Jun  1 15:11:52 2003
+--- runtime/doc/usr_41.txt     Tue Jun  3 13:02:15 2003
+***************
+*** 1,4 ****
+! *usr_41.txt* For Vim version 6.2.  Last change: 2003 Jun 01
+  
+                    VIM USER MANUAL - by Bram Moolenaar
+  
+--- 1,4 ----
+! *usr_41.txt* For Vim version 6.2.  Last change: 2003 Jun 03
+  
+                    VIM USER MANUAL - by Bram Moolenaar
+  
+***************
+*** 819,825 ****
+  
+       :function
+  <    function Show(start, ...) ~
+!      function GetVimIndent()~
+       function SetSyn(name) ~
+  
+  To see what a function does, use its name as an argument for ":function": >
+--- 819,825 ----
+  
+       :function
+  <    function Show(start, ...) ~
+!      function GetVimIndent() ~
+       function SetSyn(name) ~
+  
+  To see what a function does, use its name as an argument for ":function": >
+***************
+*** 863,872 ****
+  nice message instead.
+  
+  For the commands in between ":try" and ":endtry" errors are turned into
+! exceptions.  An exception is a string.  In the case of an error the string is
+! the error message.  And every error message has a number.  In this case, the
+! error we catch contains "E484:".  This number is guaranteed to stay the same
+! (the text may change, e.g., it may be translated).
+  
+  When the ":read" command causes another error, the pattern "E484:" will not
+  match in it.  Thus this exception will not be caught and result in the usual
+--- 863,872 ----
+  nice message instead.
+  
+  For the commands in between ":try" and ":endtry" errors are turned into
+! exceptions.  An exception is a string.  In the case of an error the string
+! contains the error message.  And every error message has a number.  In this
+! case, the error we catch contains "E484:".  This number is guaranteed to stay
+! the same (the text may change, e.g., it may be translated).
+  
+  When the ":read" command causes another error, the pattern "E484:" will not
+  match in it.  Thus this exception will not be caught and result in the usual
+***************
+*** 881,887 ****
+       :endtry
+  
+  This means all errors are caught.  But then you will not see errors that are
+! useful, such as an invalid modeline.
+  
+  Another useful mechanism is the ":finally" command: >
+  
+--- 881,887 ----
+       :endtry
+  
+  This means all errors are caught.  But then you will not see errors that are
+! useful, such as "E21: Cannot make changes, 'modifiable' is off".
+  
+  Another useful mechanism is the ":finally" command: >
+  
+***************
+*** 897,905 ****
+  
+  This filters the lines from the cursor until the end of the file through the
+  "filter" command, which takes a file name argument.  No matter if the
+! filtering works or something goes wrong in between ":try" and ":finally", the
+! "call delete(tmp)" is always executed.  This makes sure you don't leave the
+! temporary file behind.
+  
+  More information about exception handling can be found in the reference
+  manual: |exception-handling|.
+--- 897,905 ----
+  
+  This filters the lines from the cursor until the end of the file through the
+  "filter" command, which takes a file name argument.  No matter if the
+! filtering works, something goes wrong in between ":try" and ":finally" or the
+! user cancels the filtering by pressing CTRL-C, the "call delete(tmp)" is
+! always executed.  This makes sure you don't leave the temporary file behind.
+  
+  More information about exception handling can be found in the reference
+  manual: |exception-handling|.
+*** ../vim-6.2.020/src/version.c       Sat Jul  5 19:14:04 2003
+--- src/version.c      Sat Jul  5 19:18:00 2003
+***************
+*** 632,633 ****
+--- 632,635 ----
+  {   /* Add new patch number below this line */
++ /**/
++     21,
+  /**/
+
+-- 
+ARTHUR:  I am your king!
+WOMAN:   Well, I didn't vote for you.
+ARTHUR:  You don't vote for kings.
+WOMAN:   Well, 'ow did you become king then?
+                                  The Quest for the Holy Grail (Monty Python)
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
+///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
+\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
+ \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
This page took 0.660361 seconds and 4 git commands to generate.