]> granicus.if.org Git - vim/commitdiff
updated for version 7.2b-000 v7.2b.000
authorBram Moolenaar <Bram@vim.org>
Sun, 13 Jul 2008 17:41:49 +0000 (17:41 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 13 Jul 2008 17:41:49 +0000 (17:41 +0000)
277 files changed:
Contents
Filelist
Makefile
README.txt
README_ami.txt
README_amibin.txt
README_amisrc.txt
README_bindos.txt
README_dos.txt
README_extra.txt
README_lang.txt
README_mac.txt
README_ole.txt
README_os2.txt
README_os390.txt
README_src.txt
README_srcdos.txt
README_unix.txt
README_vms.txt
README_w32s.txt
nsis/gvim.nsi
runtime/autoload/ada.vim
runtime/autoload/adacomplete.vim
runtime/autoload/decada.vim
runtime/autoload/getscript.vim
runtime/autoload/gnat.vim
runtime/autoload/gzip.vim
runtime/autoload/netrw.vim
runtime/autoload/netrwSettings.vim
runtime/autoload/rubycomplete.vim
runtime/autoload/tar.vim
runtime/autoload/zip.vim
runtime/compiler/decada.vim
runtime/compiler/eruby.vim
runtime/compiler/gnat.vim
runtime/compiler/rspec.vim [new file with mode: 0644]
runtime/doc/arabic.txt
runtime/doc/autocmd.txt
runtime/doc/change.txt
runtime/doc/cmdline.txt
runtime/doc/debug.txt
runtime/doc/debugger.txt
runtime/doc/develop.txt
runtime/doc/diff.txt
runtime/doc/digraph.txt
runtime/doc/editing.txt
runtime/doc/eval.txt
runtime/doc/farsi.txt
runtime/doc/filetype.txt
runtime/doc/fold.txt
runtime/doc/ft_ada.txt
runtime/doc/ft_sql.txt
runtime/doc/gui.txt
runtime/doc/gui_w16.txt
runtime/doc/gui_w32.txt
runtime/doc/gui_x11.txt
runtime/doc/hangulin.txt
runtime/doc/hebrew.txt
runtime/doc/help.txt
runtime/doc/howto.txt
runtime/doc/if_cscop.txt
runtime/doc/if_mzsch.txt
runtime/doc/if_ole.txt
runtime/doc/if_perl.txt
runtime/doc/if_pyth.txt
runtime/doc/if_ruby.txt
runtime/doc/if_sniff.txt
runtime/doc/if_tcl.txt
runtime/doc/indent.txt
runtime/doc/index.txt
runtime/doc/insert.txt
runtime/doc/intro.txt
runtime/doc/map.txt
runtime/doc/mbyte.txt
runtime/doc/message.txt
runtime/doc/mlang.txt
runtime/doc/motion.txt
runtime/doc/netbeans.txt
runtime/doc/options.txt
runtime/doc/os_390.txt
runtime/doc/os_amiga.txt
runtime/doc/os_beos.txt
runtime/doc/os_dos.txt
runtime/doc/os_mac.txt
runtime/doc/os_mint.txt
runtime/doc/os_msdos.txt
runtime/doc/os_os2.txt
runtime/doc/os_qnx.txt
runtime/doc/os_risc.txt
runtime/doc/os_unix.txt
runtime/doc/os_vms.txt
runtime/doc/os_win32.txt
runtime/doc/pattern.txt
runtime/doc/pi_getscript.txt
runtime/doc/pi_gzip.txt
runtime/doc/pi_netrw.txt
runtime/doc/pi_paren.txt
runtime/doc/pi_spec.txt
runtime/doc/pi_tar.txt
runtime/doc/pi_vimball.txt
runtime/doc/pi_zip.txt
runtime/doc/print.txt
runtime/doc/quickfix.txt
runtime/doc/quickref.txt
runtime/doc/quotes.txt
runtime/doc/recover.txt
runtime/doc/remote.txt
runtime/doc/repeat.txt
runtime/doc/rileft.txt
runtime/doc/russian.txt
runtime/doc/scroll.txt
runtime/doc/sign.txt
runtime/doc/spell.txt
runtime/doc/sponsor.txt
runtime/doc/starting.txt
runtime/doc/syntax.txt
runtime/doc/tabpage.txt
runtime/doc/tags
runtime/doc/tagsrch.txt
runtime/doc/term.txt
runtime/doc/tips.txt
runtime/doc/todo.txt
runtime/doc/uganda.txt
runtime/doc/undo.txt
runtime/doc/usr_01.txt
runtime/doc/usr_02.txt
runtime/doc/usr_03.txt
runtime/doc/usr_04.txt
runtime/doc/usr_05.txt
runtime/doc/usr_06.txt
runtime/doc/usr_07.txt
runtime/doc/usr_08.txt
runtime/doc/usr_09.txt
runtime/doc/usr_10.txt
runtime/doc/usr_11.txt
runtime/doc/usr_12.txt
runtime/doc/usr_20.txt
runtime/doc/usr_21.txt
runtime/doc/usr_22.txt
runtime/doc/usr_23.txt
runtime/doc/usr_24.txt
runtime/doc/usr_25.txt
runtime/doc/usr_26.txt
runtime/doc/usr_27.txt
runtime/doc/usr_28.txt
runtime/doc/usr_29.txt
runtime/doc/usr_30.txt
runtime/doc/usr_31.txt
runtime/doc/usr_32.txt
runtime/doc/usr_40.txt
runtime/doc/usr_41.txt
runtime/doc/usr_42.txt
runtime/doc/usr_43.txt
runtime/doc/usr_44.txt
runtime/doc/usr_45.txt
runtime/doc/usr_90.txt
runtime/doc/usr_toc.txt
runtime/doc/various.txt
runtime/doc/version4.txt
runtime/doc/version5.txt
runtime/doc/version6.txt
runtime/doc/version7.txt
runtime/doc/vi_diff.txt
runtime/doc/visual.txt
runtime/doc/windows.txt
runtime/doc/workshop.txt
runtime/filetype.vim
runtime/ftplugin/ada.vim
runtime/ftplugin/debchangelog.vim
runtime/ftplugin/eruby.vim
runtime/ftplugin/git.vim
runtime/ftplugin/haml.vim [new file with mode: 0644]
runtime/ftplugin/logtalk.dict [new file with mode: 0644]
runtime/ftplugin/logtalk.vim [new file with mode: 0644]
runtime/ftplugin/sass.vim [new file with mode: 0644]
runtime/indent/ada.vim
runtime/indent/eruby.vim
runtime/indent/haml.vim [new file with mode: 0644]
runtime/indent/logtalk.vim [new file with mode: 0644]
runtime/indent/php.vim
runtime/indent/ruby.vim
runtime/indent/sass.vim [new file with mode: 0644]
runtime/keymap/bulgarian-bds.vim
runtime/keymap/bulgarian-phonetic.vim
runtime/keymap/bulgarian.vim [deleted file]
runtime/macros/justify.vim
runtime/makemenu.vim
runtime/plugin/getscriptPlugin.vim
runtime/plugin/netrwPlugin.vim
runtime/plugin/tarPlugin.vim
runtime/plugin/zipPlugin.vim
runtime/scripts.vim
runtime/synmenu.vim
runtime/syntax/ada.vim
runtime/syntax/debchangelog.vim
runtime/syntax/debcontrol.vim
runtime/syntax/debsources.vim
runtime/syntax/eruby.vim
runtime/syntax/haml.vim [new file with mode: 0644]
runtime/syntax/haste.vim
runtime/syntax/hastepreproc.vim [new file with mode: 0644]
runtime/syntax/lhaskell.vim
runtime/syntax/logtalk.vim
runtime/syntax/messages.vim
runtime/syntax/muttrc.vim
runtime/syntax/ruby.vim
runtime/syntax/sass.vim [new file with mode: 0644]
runtime/syntax/sh.vim
runtime/syntax/vim.vim
runtime/tutor/tutor.pl
runtime/tutor/tutor.pl.cp1250
runtime/tutor/tutor.pl.utf-8
runtime/vimrc_example.vim
src/GvimExt/GvimExt.reg
src/INSTALL
src/INSTALLpc.txt
src/Make_mvc.mak
src/Makefile
src/auto/configure
src/configure.in
src/eval.c
src/ex_cmds.c
src/ex_cmds2.c
src/ex_docmd.c
src/gui.c
src/gui_mac.c
src/if_perl.xs
src/if_python.c
src/main.c
src/mbyte.c
src/memfile.c
src/memline.c
src/message.c
src/move.c
src/netbeans.c
src/po/af.po
src/po/ca.po
src/po/cs.cp1250.po
src/po/cs.po
src/po/de.po
src/po/eo.po
src/po/es.po
src/po/fi.po
src/po/fr.po
src/po/ga.po
src/po/it.po
src/po/ja.po
src/po/ja.sjis.po
src/po/ko.po
src/po/no.po
src/po/pl.UTF-8.po
src/po/pl.cp1250.po
src/po/pl.po
src/po/ru.cp1251.po
src/po/ru.po
src/po/sk.cp1250.po
src/po/sk.po
src/po/sv.po
src/po/uk.cp1251.po
src/po/uk.po
src/po/vi.po
src/po/zh_CN.UTF-8.po
src/po/zh_CN.cp936.po
src/po/zh_CN.po
src/po/zh_TW.UTF-8.po
src/po/zh_TW.po
src/popupmnu.c
src/proto/mbyte.pro
src/quickfix.c
src/screen.c
src/tag.c
src/testdir/test30.in
src/version.c
src/version.h
src/vim.def
src/vim.h
src/vim16.def

index 97dc1b5545dc1023838d7934578d4f940b92cbe3..ad644f22acb4c302ab18702cf76ce1f761a7707c 100644 (file)
--- a/Contents
+++ b/Contents
@@ -9,10 +9,10 @@ Vim           Vi IMproved.  A clone of the UNIX text editor Vi.  Very useful
                messages, shows current file name in window title, on-line
                help, rectangular cut/paste, etc., etc., etc...
 
-               Version 7.2a.  Also runs under UNIX, MSDOS and other systems.
-               vim72art.tgz  contains the documentation and syntax files.
-               vim72abin.tgz contains the binaries.
-               vim72asrc.tgz contains the sources.
+               Version 7.2b.  Also runs under UNIX, MSDOS and other systems.
+               vim72brt.tgz  contains the documentation and syntax files.
+               vim72bbin.tgz contains the binaries.
+               vim72bsrc.tgz contains the sources.
                Author: Bram Moolenaar et al.
 
 
index aa423d9982eb44c84b507817262a3553193c6f3b..f5bb36b34a6b06097cac5d42585e2fd8557905ac 100644 (file)
--- a/Filelist
+++ b/Filelist
@@ -516,6 +516,7 @@ RT_SCRIPTS =        \
                runtime/indent/*.vim \
                runtime/indent/README.txt \
                runtime/ftplugin/*.vim \
+               runtime/ftplugin/logtalk.dict \
                runtime/ftplugin/README.txt \
                runtime/plugin/*.vim \
                runtime/plugin/README.txt \
index 45568a9ebcd66431227c3d8aeaf3b8290e000589..b40062b6423352105761e28822d6fb39ae33d805 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -69,7 +69,7 @@ all install uninstall tools config configure reconfig proto depend lint tags typ
 #    Before creating an archive first delete all backup files, *.orig, etc.
 
 MAJOR = 7
-MINOR = 2a
+MINOR = 2b
 
 # Uncomment this line if the Win32s version is to be included.
 DOSBIN_S =  dosbin_s
@@ -133,7 +133,7 @@ DOSBIN_S =  dosbin_s
 # Win32 console version:
 # - Set environment for Visual C++ 2008 Express Edition: "msvc2008.bat".  Or,
 #   when using the Visual C++ Toolkit 2003: "msvcsetup.bat" (adjust the paths
-#   when necessary).
+#   when necessary).  For Windows 98 the 2003 version is required.
 # - "nmake -f Make_mvc.mak"
 # - "rm testdir/*.out", "nmake -f Make_mvc.mak test" and check the output.
 # - Rename the executables to "vimw32.exe", "xxdw32.exe".
index 6eece41973c3fe10ab99ba73485a871ed5e6b976..db7bbf935dd4d35167237648d1d236f8b9b319f1 100644 (file)
@@ -1,4 +1,4 @@
-README.txt for version 7.2a of Vim: Vi IMproved.
+README.txt for version 7.2b of Vim: Vi IMproved.
 
 
 WHAT IS VIM
index 13fa67d626dd2959c5bdf69d75bf35e14afc3e57..5480a8863db1231a8c21a82869815dff2167131f 100644 (file)
@@ -1,4 +1,4 @@
-README_ami.txt for version 7.2a of Vim: Vi IMproved.
+README_ami.txt for version 7.2b of Vim: Vi IMproved.
 
 This file explains the installation of Vim on Amiga systems.
 See README.txt for general information about Vim.
index 24b9ef2e1c6f83f032b07649e28fa7dea02b89de..dc59e26275722fbc4c17fde969b28e61c5196eb7 100644 (file)
@@ -1,4 +1,4 @@
-README_amibin.txt for version 7.2a of Vim: Vi IMproved.
+README_amibin.txt for version 7.2b of Vim: Vi IMproved.
 
 See "README.txt" for general information about Vim.
 See "README_ami.txt" for installation instructions for the Amiga.
index 8732efb66ef7436acd2a7f7a2060bd600a25e1f8..ba8dee4ffb6d1a9623a187053951c0b592d8f050 100644 (file)
@@ -1,4 +1,4 @@
-README_amisrc.txt for version 7.2a of Vim: Vi IMproved.
+README_amisrc.txt for version 7.2b of Vim: Vi IMproved.
 
 See "README.txt" for general information about Vim.
 See "README_ami.txt" for installation instructions for the Amiga.
index 593a9255489b7a389473125964d19a55349e1071..90d42ee08a446ed60114200ea6e8b22b0d4b57e5 100644 (file)
@@ -1,4 +1,4 @@
-README_bindos.txt for version 7.2a of Vim: Vi IMproved.
+README_bindos.txt for version 7.2b of Vim: Vi IMproved.
 
 See "README.txt" for general information about Vim.
 See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
index f4818b8a213f817b45e5ecc947156269d9287237..d7dfd96c54fa74c5c01b43050cdb458207ccb860 100644 (file)
@@ -1,4 +1,4 @@
-README_dos.txt for version 7.2a of Vim: Vi IMproved.
+README_dos.txt for version 7.2b of Vim: Vi IMproved.
 
 This file explains the installation of Vim on MS-DOS and MS-Windows systems.
 See "README.txt" for general information about Vim.
index 660b502daf82123beabe21f403adbc4e9d1c7921..7ee728444e88652243b8191c4243437e0cbde5e5 100644 (file)
@@ -1,4 +1,4 @@
-README_extra.txt for version 7.2a of Vim: Vi IMproved.
+README_extra.txt for version 7.2b of Vim: Vi IMproved.
 
 The extra archive of Vim is to be used in combination with the source archive
 (vim-7.0-src.tar.gz).  The extra archive is useless without it.
index 9df9f7609e031e12692e9c2e8b5892e0348e0d31..6140459231af242dafccd34aacb9ec7272d2484d 100644 (file)
@@ -1,4 +1,4 @@
-README_lang.txt for version 7.2a of Vim: Vi IMproved.
+README_lang.txt for version 7.2b of Vim: Vi IMproved.
 
 This file contains files for non-English languages:
 - Translated messages.
index 796ad01622a96d732707e792d2d58a03713d0637..936b39e7aca9fa94d7029ca70526a3e80f4c4f76 100644 (file)
@@ -1,4 +1,4 @@
-README_mac.txt for version 7.2a of Vim: Vi IMproved.
+README_mac.txt for version 7.2b of Vim: Vi IMproved.
 
 This file explains the installation of Vim on Macintosh systems.
 See "README.txt" for general information about Vim.
index 8112136c5b07d9e90b4ac203bdfb6397cc9a5aa3..274048b2d5faeeacd07f4efd690b793fca7f941c 100644 (file)
@@ -1,4 +1,4 @@
-README_ole.txt for version 7.2a of Vim: Vi IMproved.
+README_ole.txt for version 7.2b of Vim: Vi IMproved.
 
 This archive contains gvim.exe with OLE interface and VisVim.
 This version of gvim.exe can also load a number of interface dynamically (you
index a9e0a4299f6dffc4c7a0219f4b64ff43544df950..edf3065553e022d1907f80448eca872ff8948ba2 100644 (file)
@@ -1,4 +1,4 @@
-README_os2.txt for version 7.2a of Vim: Vi IMproved.
+README_os2.txt for version 7.2b of Vim: Vi IMproved.
 
 This file explains the installation of Vim on OS/2 systems.
 See "README.txt" for general information about Vim.
index 0ce9dd879805c255991c05255497aa0acb5fa194..531aaf6d36ad6d553be4511b9f10e45db4153a2f 100644 (file)
@@ -1,4 +1,4 @@
-README_os_390.txt for version 7.2a of Vim: Vi IMproved.
+README_os_390.txt for version 7.2b of Vim: Vi IMproved.
 
 Welcome to the OS/390 Unix port of VIM.
 
index 7079f3e06cca74f456e5fd4015a6c30e8be40bb4..5cd87f726d6d58303b441834c027a24a36113b1a 100644 (file)
@@ -1,4 +1,4 @@
-README_src.txt for version 7.2a of Vim: Vi IMproved.
+README_src.txt for version 7.2b of Vim: Vi IMproved.
 
 The source archive contains the files needed to compile Vim on Unix systems.
 It is packed for Unix systems (NL line separator).  It is also used for other
index ef78029c66f7ec471abb1b9cdc773f1b03e82b0a..12e6ef6ee31f93fcf99fefe6d51bc6c608ce2fec 100644 (file)
@@ -1,4 +1,4 @@
-README_srcdos.txt for version 7.2a of Vim: Vi IMproved.
+README_srcdos.txt for version 7.2b of Vim: Vi IMproved.
 
 See "README.txt" for general information about Vim.
 See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
index 5338cb16e0994a924671f9bbc715c4e2996381ab..5fa446419c3695def4073c7468da5bb82fa495cb 100644 (file)
@@ -1,4 +1,4 @@
-README_unix.txt for version 7.2a of Vim: Vi IMproved.
+README_unix.txt for version 7.2b of Vim: Vi IMproved.
 
 This file explains the installation of Vim on Unix systems.
 See "README.txt" for general information about Vim.
index d51339e9fbf3a467ff15b6627be4e44b712628db..3b8cc53c791ccd30c89c0637c45d31787b0d3220 100644 (file)
@@ -1,4 +1,4 @@
-README_vms.txt for version 7.2a of Vim: Vi IMproved.
+README_vms.txt for version 7.2b of Vim: Vi IMproved.
 
 This file explains the installation of Vim on VMS systems.
 See "README.txt" in the runtime archive for information about Vim.
index 1b9774d366e80bcc8b52831141042af06c004730..7e5e96a5ab539f3dfda79ce2fb720a9a4d9d12a7 100644 (file)
@@ -1,4 +1,4 @@
-README_w32s.txt for version 7.2a of Vim: Vi IMproved.
+README_w32s.txt for version 7.2b of Vim: Vi IMproved.
 
 This archive contains the gvim.exe that was specifically compiled for use in
 the Win32s subsystem in MS-Windows 3.1 and 3.11.
index 8e247a3fe7b3468a25d7edbd447ca103d179b5c7..bd3f0c2d459b324b2926934bb7165d796d077d0a 100644 (file)
@@ -22,7 +22,7 @@
 !define HAVE_NLS
 
 !define VER_MAJOR 7
-!define VER_MINOR 2a
+!define VER_MINOR 2b
 
 # ----------- No configurable settings below this line -----------
 
index 46257010d0557a18b155af410c27b41a86abc874..ffd0ff84ccc144c62a622c470c0805c5f65de496 100644 (file)
@@ -2,13 +2,15 @@
 "  Description: Perform Ada specific completion & tagging.
 "     Language: Ada (2005)
 "         $Id$
-"   Maintainer: Martin Krischik
+"   Maintainer: Martin Krischik <krischik@users.sourceforge.net>
+"              Taylor Venable <taylor@metasyntax.net>
 "              Neil Bird <neil@fnxweb.com>
+"              Ned Okie <nokie@radford.edu>
 "      $Author$
 "       $Date$
-"      Version: 4.2
+"      Version: 4.6
 "    $Revision$
-"     $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/ada.vim $
+"     $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/ada.vim $
 "      History: 24.05.2006 MK Unified Headers
 "              26.05.2006 MK ' should not be in iskeyword.
 "              16.07.2006 MK Ada-Mode as vim-ball
 "              05.11.2006 MK Bram suggested not to use include protection for
 "                            autoload
 "              05.11.2006 MK Bram suggested to save on spaces
+"              08.07.2007 TV fix mapleader problems.
+"              09.05.2007 MK Session just won't work no matter how much
+"                            tweaking is done
+"              19.09.2007 NO still some mapleader problems
 "    Help Page: ft-ada-functions
 "------------------------------------------------------------------------------
 
@@ -425,30 +431,49 @@ function ada#Create_Tags (option)
    execute '!ctags --excmd=number ' . l:Filename
 endfunction ada#Create_Tags
 
-function ada#Switch_Session (New_Session)   "{{{1
-   if a:New_Session != v:this_session
-      "
-      "  We actualy got a new session - otherwise there
-      "  is nothing to do.
-      "
-      if strlen (v:this_session) > 0
-        execute 'mksession! ' . v:this_session
-      endif
+" Section: ada#Switch_Session {{{1
+"
+function ada#Switch_Session (New_Session)
+   " 
+   " you should not save to much date into the seession since they will
+   " be sourced
+   "
+   let l:sessionoptions=&sessionoptions
 
-      let v:this_session = a:New_Session
+   try
+      set sessionoptions=buffers,curdir,folds,globals,resize,slash,tabpages,tabpages,unix,winpos,winsize
 
-      if filereadable (v:this_session)
-        execute 'source ' . v:this_session
-      endif
+      if a:New_Session != v:this_session
+        "
+        "  We actualy got a new session - otherwise there
+        "  is nothing to do.
+        "
+        if strlen (v:this_session) > 0
+           execute 'mksession! ' . v:this_session
+        endif
 
-      augroup ada_session
-        autocmd!
-        autocmd VimLeavePre * execute 'mksession! ' . v:this_session
-      augroup END
-   endif
+        let v:this_session = a:New_Session
+
+        "if filereadable (v:this_session)
+           "execute 'source ' . v:this_session
+        "endif
+
+        augroup ada_session
+           autocmd!
+           autocmd VimLeavePre * execute 'mksession! ' . v:this_session
+        augroup END
+        
+        "if exists ("g:Tlist_Auto_Open") && g:Tlist_Auto_Open
+           "TlistOpen
+        "endif
+
+      endif
+   finally
+      let &sessionoptions=l:sessionoptions
+   endtry
 
    return
-endfunction ada#Switch_Session  "}}}1
+endfunction ada#Switch_Session 
 
 " Section: GNAT Pretty Printer folding {{{1
 "
@@ -546,18 +571,23 @@ function ada#Map_Menu (Text, Keys, Command)
        \ a:Keys                 .
        \" <C-O>:" . a:Command . "<CR>"
    else
+      if exists("g:mapleader")
+         let l:leader = g:mapleader
+      else
+         let l:leader = '\'
+      endif
       execute
        \ "50amenu " .
        \ "Ada."  . escape(a:Text, ' ') .
-       \ "<Tab>" . escape(g:mapleader . "a" . a:Keys , '\') .
+       \ "<Tab>" . escape(l:leader . "a" . a:Keys , '\') .
        \ " :"    . a:Command . "<CR>"
       execute
        \ "nnoremap <buffer>" .
-       \ escape(g:mapleader . "a" . a:Keys , '\') .
+       \ escape(l:leader . "a" . a:Keys , '\') .
        \" :" . a:Command
       execute
        \ "inoremap <buffer>" .
-       \ escape(g:mapleader . "a" . a:Keys , '\') .
+       \ escape(l:leader . "a" . a:Keys , '\') .
        \" <C-O>:" . a:Command
    endif
    return
@@ -566,10 +596,15 @@ endfunction
 " Section: ada#Map_Popup {{{2
 "
 function ada#Map_Popup (Text, Keys, Command)
+   if exists("g:mapleader")
+      let l:leader = g:mapleader
+   else
+      let l:leader = '\'
+   endif
    execute
      \ "50amenu " .
      \ "PopUp."   . escape(a:Text, ' ') .
-     \ "<Tab>"   . escape(g:mapleader . "a" . a:Keys , '\') .
+     \ "<Tab>"   . escape(l:leader . "a" . a:Keys , '\') .
      \ " :"      . a:Command . "<CR>"
 
    call ada#Map_Menu (a:Text, a:Keys, a:Command)
index 28d68f63dc0d8efda0ba074a660311e61fd177e3..8db4351ffd854e1fee0be3fe0007517e40bffb83 100644 (file)
@@ -5,9 +5,9 @@
 "   Maintainer:        Martin Krischik
 "      $Author$
 "       $Date$
-"      Version: 4.2
+"      Version: 4.6
 "    $Revision$
-"     $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/adacomplete.vim $
+"     $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/adacomplete.vim $
 "      History: 24.05.2006 MK Unified Headers
 "              26.05.2006 MK improved search for begin of word.
 "              16.07.2006 MK Ada-Mode as vim-ball
index 9f8aaf260dd1964f009dd40d5c90c8dfc73049d0..fb5400e179febf568c140a656e49f03e55394fee 100644 (file)
@@ -3,12 +3,12 @@
 "     Language: Ada (Dec Ada)
 "          $Id$
 "    Copyright: Copyright (C) 2006 Martin Krischik
-"   Maintainer:        Martin Krischik
+"   Maintainer:        Martin Krischik <krischik@users.sourceforge.net>
 "      $Author$
 "        $Date$
-"      Version: 4.2
+"      Version: 4.6      
 "    $Revision$
-"     $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/decada.vim $
+"     $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/decada.vim $
 "      History: 21.07.2006 MK New Dec Ada
 "               15.10.2006 MK Bram's suggestion for runtime integration
 "               05.11.2006 MK Bram suggested not to use include protection for
@@ -45,7 +45,7 @@ function decada#Set_Session (...) dict                                     " {{{1
       call ada#Switch_Session (a:1)
    elseif argc() == 0 && strlen (v:servername) > 0
       call ada#Switch_Session (
-        \ expand('~')[0:-2] . ".vimfiles.session]" .
+        \ expand('~')[0:-2] . ".vimfiles.session]decada_" .
         \ v:servername . ".vim")
    endif
    return
index c1e1aa34a56eb69527e2788c29b687af06bfc76c..5a466cb88b899b3cd272c49fecd5d6c6599890b1 100644 (file)
@@ -1,8 +1,8 @@
 " ---------------------------------------------------------------------
 " getscript.vim
 "  Author:     Charles E. Campbell, Jr.
-"  Date:       May 30, 2008
-"  Version:    30
+"  Date:       Jul 10, 2008
+"  Version:    31
 "  Installing: :help glvs-install
 "  Usage:      :help glvs
 "
@@ -23,7 +23,7 @@ set cpo&vim
 if exists("g:loaded_getscript")
  finish
 endif
-let g:loaded_getscript= "v30"
+let g:loaded_getscript= "v31"
 
 " ---------------------------
 " Global Variables: {{{1
@@ -140,6 +140,12 @@ fun! getscript#GetLatestVimScripts()
    return
   endif
 
+  " insure that fnameescape() is available
+  if !exists("*fnameescape")
+   echoerr "GetLatestVimScripts needs fnameescape() (provided by 7.1.299 or later)"
+   return
+  endif
+
   " Find the .../GetLatest subdirectory under the runtimepath
   for datadir in split(&rtp,',') + ['']
    if isdirectory(datadir."/GetLatest")
@@ -181,7 +187,8 @@ fun! getscript#GetLatestVimScripts()
 
   " don't let any events interfere (like winmanager's, taglist's, etc)
   let eikeep= &ei
-  set ei=all
+  let hlskeep= &hls
+  set ei=all hls&vim
 
   " record current directory, change to datadir, open split window with
   " datafile
@@ -316,6 +323,7 @@ fun! getscript#GetLatestVimScripts()
   " restore events and current directory
   exe "cd ".fnameescape(substitute(origdir,'\','/','ge'))
   let &ei= eikeep
+  let &hls= hlskeep
   setlocal nolz
 "  call Dredir("BUFFER TEST (GetLatestVimScripts 2)","ls!")
 "  call Dret("GetLatestVimScripts : did ".s:downloads." downloads")
@@ -506,14 +514,14 @@ fun! s:GetOneScript(...)
     new|exe "silent r!".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".s:Escape(sname)." ".s:Escape('http://vim.sf.net/scripts/download_script.php?src_id='.latestsrcid)|q
    else
 "    call Decho("exe silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".s:Escape(sname)." ".s:Escape('http://vim.sf.net/scripts/download_script.php?src_id='))
-    exe "silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".s:Escape(sname)." ".s:Escape('http://vim.sf.net/scripts/download_script.php?src_id=')
+    exe "silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".s:Escape(sname)." ".s:Escape('http://vim.sf.net/scripts/download_script.php?src_id=').latestsrcid
    endif
 
    " AutoInstall: only if doautoinstall has been requested by the plugin itself
    if doautoinstall
 "    call Decho("attempting to do autoinstall: getcwd<".getcwd()."> filereadable(".sname.")=".filereadable(sname))
     if filereadable(sname)
-     call Decho("exe silent !".g:GetLatestVimScripts_mv." ".s:Escape(sname)." ".s:Escape(s:autoinstall))
+"     call Decho("exe silent !".g:GetLatestVimScripts_mv." ".s:Escape(sname)." ".s:Escape(s:autoinstall))
      exe "silent !".g:GetLatestVimScripts_mv." ".s:Escape(sname)." ".s:Escape(s:autoinstall)
      let curdir    = escape(substitute(getcwd(),'\','/','ge'),"|[]*'\" #")
      let installdir= curdir."/Installed"
index 5f99450ef153f03f35f86057ca6a21dbb0ff58dc..cebde8e1a41bcc7a71a76d9618201b8f5dbf7797 100644 (file)
@@ -3,12 +3,13 @@
 "     Language: Ada (GNAT)
 "          $Id$
 "    Copyright: Copyright (C) 2006 Martin Krischik
-"   Maintainer:        Martin Krischik
+"   Maintainer:        Martin Krischi <krischik@users.sourceforge.net>k
+"              Ned Okie <nokie@radford.edu>
 "      $Author$
 "        $Date$
-"      Version: 4.2
+"      Version: 4.6
 "    $Revision$
-"     $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/gnat.vim $
+"     $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/gnat.vim $
 "      History: 24.05.2006 MK Unified Headers
 "              16.07.2006 MK Ada-Mode as vim-ball
 "              05.08.2006 MK Add session support
@@ -16,6 +17,7 @@
 "               05.11.2006 MK Bram suggested not to use include protection for
 "                             autoload
 "              05.11.2006 MK Bram suggested to save on spaces
+"              19.09.2007 NO use project file only when there is a project
 "    Help Page: compiler-gnat
 "------------------------------------------------------------------------------
 
@@ -71,13 +73,19 @@ function gnat#Set_Project_File (...) dict                        " {{{1
       execute 'mksession! ' . v:this_session
    endif
 
-   if strlen (self.Project_File) > 0
-      call ada#Switch_Session (
-        \ expand('~') . "/vimfiles/session/" .
-        \ fnamemodify (self.Project_File, ":t:r") . ".vim")
-   else
-      call ada#Switch_Session ('')
-   endif
+   "if strlen (self.Project_File) > 0
+      "if has("vms")
+        "call ada#Switch_Session (
+           "\ expand('~')[0:-2] . ".vimfiles.session]gnat_" .
+           "\ fnamemodify (self.Project_File, ":t:r") . ".vim")
+      "else
+        "call ada#Switch_Session (
+           "\ expand('~') . "/vimfiles/session/gnat_" .
+           "\ fnamemodify (self.Project_File, ":t:r") . ".vim")
+      "endif
+   "else
+      "call ada#Switch_Session ('')
+   "endif
 
    return
 endfunction gnat#Set_Project_File                                   " }}}1
index 1ad29eaaa30ffab916b124839c1c19c7cab4733a..1245fdddc9ce3e580a2278a3641aa93fd2caa20d 100644 (file)
@@ -1,6 +1,6 @@
 " Vim autoload file for editing compressed files.
 " Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2008 May 29
+" Last Change: 2008 Jul 04
 
 " These functions are used by the gzip plugin.
 
@@ -153,9 +153,9 @@ fun gzip#write(cmd)
     let nmt = s:tempname(nm)
     if rename(nm, nmt) == 0
       if exists("b:gzip_comp_arg")
-       call system(a:cmd . " " . b:gzip_comp_arg . " " . s:escape(nmt))
+       call system(a:cmd . " " . b:gzip_comp_arg . " -- " . s:escape(nmt))
       else
-       call system(a:cmd . " " . s:escape(nmt))
+       call system(a:cmd . " -- " . s:escape(nmt))
       endif
       call rename(nmt . "." . expand("<afile>:e"), nm)
     endif
@@ -180,10 +180,10 @@ fun gzip#appre(cmd)
     if rename(nm, nmte) == 0
       if &patchmode != "" && getfsize(nm . &patchmode) == -1
        " Create patchmode file by creating the decompressed file new
-       call system(a:cmd . " -c " . s:escape(nmte) . " > " . s:escape(nmt))
+       call system(a:cmd . " -c -- " . s:escape(nmte) . " > " . s:escape(nmt))
        call rename(nmte, nm . &patchmode)
       else
-       call system(a:cmd . " " . s:escape(nmte))
+       call system(a:cmd . " -- " . s:escape(nmte))
       endif
       call rename(nmt, nm)
     endif
index 6064a6570dcb0fcb5993408bdc1218580dbc6d2e..6221294bbd265e094dd4358b9c6547cf54744f65 100644 (file)
@@ -1,7 +1,7 @@
 " netrw.vim: Handles file transfer and remote directory listing across
 "            AUTOLOAD SECTION
-" Date:                Jun 12, 2008
-" Version:     125
+" Date:                Jul 12, 2008
+" Version:     127
 " Maintainer:  Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
 " GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
 " Copyright:    Copyright (C) 1999-2008 Charles E. Campbell, Jr. {{{1
@@ -27,19 +27,13 @@ if !exists("s:NOTE")
  let s:WARNING = 1
  let s:ERROR   = 2
 endif
-let g:loaded_netrw = "v125"
+let g:loaded_netrw = "v127"
 
 " sanity checks
 if v:version < 700
  call netrw#ErrorMsg(s:WARNING,"you need vim version 7.0 or later for version ".g:loaded_netrw." of netrw",1)
  finish
 endif
-if !exists("*shellescape")
- call netrw#ErrorMsg(s:ERROR,"you need to upgade your vim so that it has shellescape()",64)
-endif
-if !exists("*fnameescape")
- call netrw#ErrorMsg(s:ERROR,"you need to upgade your vim so that it has fnameescape()",65)
-endif
 
 let s:keepcpo= &cpo
 setlocal cpo&vim
@@ -312,6 +306,9 @@ if !exists("g:netrw_sort_by")
  " alternatives: date size
  let g:netrw_sort_by= "name"
 endif
+if !exists("g:netrw_sort_options")
+ let g:netrw_sort_options= ""
+endif
 if !exists("g:netrw_sort_direction")
  " alternative: reverse  (z y x ...)
  let g:netrw_sort_direction= "normal"
@@ -415,7 +412,7 @@ fun! s:NetrwOptionSave(vt)
   let {a:vt}netrw_twkeep    = &l:tw           " textwidth
   let {a:vt}netrw_wigkeep   = &l:wig          " wildignore
   if has("win32") && !has("win95")
-   let {a:vt}netrw_swfkeep= &l:swf            " swapfile
+   let {a:vt}netrw_swfkeep  = &l:swf          " swapfile
   endif
   if &go =~ 'a' | silent! let {a:vt}netrw_regstar = @* | endif
   silent! let {a:vt}netrw_regslash= @/
@@ -428,7 +425,7 @@ endfun
 fun! s:NetrwOptionRestore(vt)
 "  call Dfunc("s:NetrwOptionRestore(vt<".a:vt.">) win#".winnr()." buf#".bufnr("%"))
   if !exists("{a:vt}netrw_optionsave")
-"   call Decho("ro=".&ro." ma=".&ma." mod=".&mod." wrap=".&wrap)
+"   call Decho("ro=".&l:ro." ma=".&l:ma." mod=".&l:mod." wrap=".&l:wrap)
 "   call Dret("s:NetrwOptionRestore : ".a:vt."netrw_optionsave doesn't exist")
    return
   endif
@@ -492,7 +489,7 @@ fun! s:NetrwOptionRestore(vt)
 
 "  call Decho("g:netrw_keepdir=".g:netrw_keepdir.": getcwd<".getcwd()."> acd=".&acd)
 "  call Decho("fo=".&fo.(exists("&acd")? " acd=".&acd : " acd doesn't exist"))
-"  call Decho("ro=".&ro." ma=".&ma." mod=".&mod." wrap=".&wrap)
+"  call Decho("ro=".&l:ro." ma=".&l:ma." mod=".&l:mod." wrap=".&l:wrap)
 "  call Dret("s:NetrwOptionRestore : win#".winnr()." buf#".bufnr("%"))
 endfun
 
@@ -536,12 +533,12 @@ fun! netrw#NetrwClean(sys)
    for dir in split(&rtp,',')
     if filereadable(dir."/plugin/netrwPlugin.vim")
 "     call Decho("removing netrw-related files from ".dir)
-     if s:System("delete",dir."/plugin/netrwPlugin.vim")        |call netrw#ErrorMsg(1,"unable to remove ".dir."/plugin/netrwPlugin.vim",55)        |endif
-     if s:System("delete",dir."/autoload/netrwFileHandlers.vim")|call netrw#ErrorMsg(1,"unable to remove ".dir."/autoload/netrwFileHandlers.vim",55)|endif
-     if s:System("delete",dir."/autoload/netrwSettings.vim")    |call netrw#ErrorMsg(1,"unable to remove ".dir."/autoload/netrwSettings.vim",55)    |endif
-     if s:System("delete",dir."/autoload/netrw.vim")            |call netrw#ErrorMsg(1,"unable to remove ".dir."/autoload/netrw.vim",55)            |endif
-     if s:System("delete",dir."/syntax/netrw.vim")              |call netrw#ErrorMsg(1,"unable to remove ".dir."/syntax/netrw.vim",55)              |endif
-     if s:System("delete",dir."/syntax/netrwlist.vim")          |call netrw#ErrorMsg(1,"unable to remove ".dir."/syntax/netrwlist.vim",55)          |endif
+     if s:NetrwDelete(dir."/plugin/netrwPlugin.vim")        |call netrw#ErrorMsg(1,"unable to remove ".dir."/plugin/netrwPlugin.vim",55)        |endif
+     if s:NetrwDelete(dir."/autoload/netrwFileHandlers.vim")|call netrw#ErrorMsg(1,"unable to remove ".dir."/autoload/netrwFileHandlers.vim",55)|endif
+     if s:NetrwDelete(dir."/autoload/netrwSettings.vim")    |call netrw#ErrorMsg(1,"unable to remove ".dir."/autoload/netrwSettings.vim",55)    |endif
+     if s:NetrwDelete(dir."/autoload/netrw.vim")            |call netrw#ErrorMsg(1,"unable to remove ".dir."/autoload/netrw.vim",55)            |endif
+     if s:NetrwDelete(dir."/syntax/netrw.vim")              |call netrw#ErrorMsg(1,"unable to remove ".dir."/syntax/netrw.vim",55)              |endif
+     if s:NetrwDelete(dir."/syntax/netrwlist.vim")          |call netrw#ErrorMsg(1,"unable to remove ".dir."/syntax/netrwlist.vim",55)          |endif
      let diddir= dir
      let diddel= diddel + 1
      if !a:sys|break|endif
@@ -704,8 +701,8 @@ fun! netrw#NetRead(mode,...)
      let uid_machine = g:netrw_machine
     endif
    endif
-"   call Decho("executing: !".g:netrw_rcp_cmd." ".s:netrw_rcpmode." ".shellescape(uid_machine.":".escape(b:netrw_fname,' ?&;')." ".tmpfile)
-   exe s:netrw_silentxfer."!".g:netrw_rcp_cmd." ".s:netrw_rcpmode." ".shellescape(uid_machine.":".escape(b:netrw_fname,' ?&;')." ".tmpfile)
+"   call Decho("executing: !".g:netrw_rcp_cmd." ".s:netrw_rcpmode." ".shellescape(uid_machine.":".b:netrw_fname,1)." ".shellescape(tmpfile,1))
+   exe s:netrw_silentxfer."!".g:netrw_rcp_cmd." ".s:netrw_rcpmode." ".shellescape(uid_machine.":".b:netrw_fname,1)." ".shellescape(tmpfile,1))
    let result           = s:NetrwGetFile(readcmd, tmpfile, b:netrw_method)
    let b:netrw_lastfile = choice
 
@@ -725,18 +722,18 @@ fun! netrw#NetRead(mode,...)
      exe "put ='".'get \"'.netrw_fname.'\" '.tmpfile."'"
 "     call Decho("filter input: ".getline('.'))
      if exists("g:netrw_port") && g:netrw_port != ""
-"      call Decho("executing: %!".g:netrw_ftp_cmd." -i ".g:netrw_machine." ".g:netrw_port)
-      exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".g:netrw_machine." ".g:netrw_port
+"      call Decho("executing: %!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine." ".g:netrw_port,1))
+      exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine." ".g:netrw_port,1)
      else
-"      call Decho("executing: %!".g:netrw_ftp_cmd." -i ".g:netrw_machine)
-      exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".g:netrw_machine
+"      call Decho("executing: %!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1))
+      exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)
      endif
      " If the result of the ftp operation isn't blank, show an error message (tnx to Doug Claar)
      if getline(1) !~ "^$" && !exists("g:netrw_quiet") && getline(1) !~ '^Trying '
-      let debugkeep= &debug
+      let debugkeep = &debug
       setlocal debug=msg
       call netrw#ErrorMsg(s:ERROR,getline(1),4)
-      let &debug= debugkeep
+      let &debug    = debugkeep
      endif
      call s:SaveBufVars()|bd!|call s:RestoreBufVars()
      let result           = s:NetrwGetFile(readcmd, tmpfile, b:netrw_method)
@@ -806,8 +803,8 @@ fun! netrw#NetRead(mode,...)
     else
      let useport= ""
     endif
-"    call Decho("exe s:netrw_silentxfer.!".g:netrw_scp_cmd.useport." ".shellescape(g:netrw_machine.":".escape(b:netrw_fname,g:netrw_fname_escape))." ".tmpfile)
-    exe s:netrw_silentxfer."!".g:netrw_scp_cmd.useport." ".shellescape(g:netrw_machine.":".escape(b:netrw_fname,g:netrw_fname_escape))." ".tmpfile
+"    call Decho("exe s:netrw_silentxfer.!".g:netrw_scp_cmd.useport." ".shellescape(g:netrw_machine.":".b:netrw_fname,1)." ".shellescape(tmpfile,1))
+    exe s:netrw_silentxfer."!".g:netrw_scp_cmd.useport." ".shellescape(g:netrw_machine.":".b:netrw_fname,1)." ".shellescape(tmpfile,1)
     let result           = s:NetrwGetFile(readcmd, tmpfile, b:netrw_method)
     let b:netrw_lastfile = choice
 
@@ -823,23 +820,22 @@ fun! netrw#NetRead(mode,...)
      return
     endif
 
-    let netrw_fname= escape(b:netrw_fname,g:netrw_fname_escape)
     if match(b:netrw_fname,"#") == -1
-     " simple wget
-"     call Decho('using simple wget (# not in b:netrw_fname<'.b:netrw_fname.">)")
-"     call Decho("exe ".s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile)." ".shellescape("http://".g:netrw_machine.netrw_fname))
-     exe s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile)." ".shellescape("http://".g:netrw_machine.netrw_fname)
+     " using g:netrw_http_cmd (usually wget or curl)
+"     call Decho('using '.g:netrw_http_cmd.' (# not in b:netrw_fname<'.b:netrw_fname.">)")
+"     call Decho("exe ".s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile,1)." ".shellescape("http://".g:netrw_machine.netrw_fname,1))
+     exe s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile,1)." ".shellescape("http://".g:netrw_machine.b:netrw_fname,1)
      let result = s:NetrwGetFile(readcmd, tmpfile, b:netrw_method)
 
     else
-     " wget plus a jump to an in-page marker (ie. http://abc/def.html#aMarker)
+     " wget/curl plus a jump to an in-page marker (ie. http://abc/def.html#aMarker)
 "     call Decho(("wget/curl plus jump (# in b:netrw_fname<".b:netrw_fname.">)")
-     let netrw_html= substitute(netrw_fname,"#.*$","","")
-     let netrw_tag = substitute(netrw_fname,"^.*#","","")
+     let netrw_html= substitute(b:netrw_fname,"#.*$","","")
+     let netrw_tag = substitute(b:netrw_fname,"^.*#","","")
 "     call Decho("netrw_html<".netrw_html.">")
 "     call Decho("netrw_tag <".netrw_tag.">")
-"     call Decho("exe ".s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile)." ".shellescape("http://".g:netrw_machine.netrw_html))
-     exe s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile)." ".shellescape("http://".g:netrw_machine.netrw_html)
+"     call Decho("exe ".s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile,1)." ".shellescape("http://".g:netrw_machine.netrw_html,1))
+     exe s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile,1)." ".shellescape("http://".g:netrw_machine.netrw_html,1)
      let result = s:NetrwGetFile(readcmd, tmpfile, b:netrw_method)
 "     call Decho('<\s*a\s*name=\s*"'.netrw_tag.'"/')
      exe 'norm! 1G/<\s*a\s*name=\s*"'.netrw_tag.'"/'."\<CR>"
@@ -877,9 +873,8 @@ fun! netrw#NetRead(mode,...)
    " rsync: NetRead Method #7 {{{3
    elseif     b:netrw_method  == 7
 "    call Decho("read via rsync (method #7)")
-    let netrw_fname= escape(b:netrw_fname,g:netrw_fname_escape)
-"    call Decho("exe ".s:netrw_silentxfer."!".g:netrw_rsync_cmd." ".shellescape(g:netrw_machine.":".netrw_fname)." ".tmpfile)
-    exe s:netrw_silentxfer."!".g:netrw_rsync_cmd." ".shellescape(g:netrw_machine.":".netrw_fname)." ".tmpfile
+"    call Decho("exe ".s:netrw_silentxfer."!".g:netrw_rsync_cmd." ".shellescape(g:netrw_machine.":".b:netrw_fname,1)." ".shellescape(tmpfile,1))
+    exe s:netrw_silentxfer."!".g:netrw_rsync_cmd." ".shellescape(g:netrw_machine.":".b:netrw_fname,1)." ".shellescape(tmpfile,1)
     let result          = s:NetrwGetFile(readcmd,tmpfile, b:netrw_method)
     let b:netrw_lastfile = choice
 
@@ -888,7 +883,6 @@ fun! netrw#NetRead(mode,...)
    "    fetch://[user@]host[:http]/path
    elseif     b:netrw_method  == 8
 "    call Decho("read via fetch (method #8)")
-    let netrw_fname= escape(b:netrw_fname,g:netrw_fname_escape)
     if g:netrw_fetch_cmd == ""
      if !exists("g:netrw_quiet")
       call netrw#ErrorMsg(s:ERROR,"fetch command not available",7)
@@ -903,11 +897,11 @@ fun! netrw#NetRead(mode,...)
 "    call Decho("read via fetch for ".netrw_option)
 
     if exists("g:netrw_uid") && g:netrw_uid != "" && exists("s:netrw_passwd") && s:netrw_passwd != ""
-"     call Decho("exe ".s:netrw_silentxfer."!".g:netrw_fetch_cmd." ".tmpfile." ".shellescape(netrw_option."://".g:netrw_uid.':'.s:netrw_passwd.'@'.g:netrw_machine."/".netrw_fname))
-     exe s:netrw_silentxfer."!".g:netrw_fetch_cmd." ".tmpfile." ".shellescape(netrw_option."://".g:netrw_uid.':'.s:netrw_passwd.'@'.g:netrw_machine."/".netrw_fname)
+"     call Decho("exe ".s:netrw_silentxfer."!".g:netrw_fetch_cmd." ".shellescape(tmpfile,1)." ".shellescape(netrw_option."://".g:netrw_uid.':'.s:netrw_passwd.'@'.g:netrw_machine."/".b:netrw_fname,1))
+     exe s:netrw_silentxfer."!".g:netrw_fetch_cmd." ".shellescape(tmpfile,1)." ".shellescape(netrw_option."://".g:netrw_uid.':'.s:netrw_passwd.'@'.g:netrw_machine."/".b:netrw_fname,1)
     else
-"     call Decho("exe ".s:netrw_silentxfer."!".g:netrw_fetch_cmd." ".tmpfile." ".shellescape(netrw_option."://".g:netrw_machine."/".netrw_fname))
-     exe s:netrw_silentxfer."!".g:netrw_fetch_cmd." ".tmpfile." ".shellescape(netrw_option."://".g:netrw_machine."/".netrw_fname)
+"     call Decho("exe ".s:netrw_silentxfer."!".g:netrw_fetch_cmd." ".shellescape(tmpfile,1)." ".shellescape(netrw_option."://".g:netrw_machine."/".b:netrw_fname,1))
+     exe s:netrw_silentxfer."!".g:netrw_fetch_cmd." ".shellescape(tmpfile,1)." ".shellescape(netrw_option."://".g:netrw_machine."/".b:netrw_fname,1)
     endif
 
     let result         = s:NetrwGetFile(readcmd,tmpfile, b:netrw_method)
@@ -918,9 +912,8 @@ fun! netrw#NetRead(mode,...)
    " sftp: NetRead Method #9 {{{3
    elseif     b:netrw_method  == 9
 "    call Decho("read via sftp (method #9)")
-    let netrw_fname= escape(b:netrw_fname,g:netrw_fname_escape)
-"    call Decho("exe ".s:netrw_silentxfer."!".g:netrw_sftp_cmd." ".shellescape(g:netrw_machine.":".netrw_fname)." ".tmpfile)
-    exe s:netrw_silentxfer."!".g:netrw_sftp_cmd." ".shellescape(g:netrw_machine.":".netrw_fname)." ".tmpfile
+"    call Decho("exe ".s:netrw_silentxfer."!".g:netrw_sftp_cmd." ".shellescape(g:netrw_machine.":".b:netrw_fname,1)." ".tmpfile)
+    exe s:netrw_silentxfer."!".g:netrw_sftp_cmd." ".shellescape(g:netrw_machine.":".b:netrw_fname,1)." ".tmpfile
     let result         = s:NetrwGetFile(readcmd, tmpfile, b:netrw_method)
     let b:netrw_lastfile = choice
 
@@ -939,7 +932,7 @@ fun! netrw#NetRead(mode,...)
   endif
   if s:FileReadable(tmpfile) && tmpfile !~ '.tar.bz2$' && tmpfile !~ '.tar.gz$' && tmpfile !~ '.zip' && tmpfile !~ '.tar' && readcmd != 't'
 "   call Decho("cleanup by deleting tmpfile<".tmpfile.">")
-   call s:System("delete",fnameescape(tmpfile))
+   call s:NetrwDelete(fnameescape(tmpfile))
   endif
   call s:NetrwOptionRestore("w:")
 
@@ -975,17 +968,17 @@ fun! netrw#NetWrite(...) range
    " For binary writes, always write entire file.
    " (line numbers don't really make sense for that).
    " Also supports the writing of tar and zip files.
-"   call Decho("(write entire file) silent exe w! ".v:cmdarg." ".tmpfile)
-   silent exe "w! ".v:cmdarg." ".tmpfile
+"   call Decho("(write entire file) silent exe w! ".fnameescape(v:cmdarg)." ".fnameescape(tmpfile))
+   silent exe "w! ".fnameescape(v:cmdarg)." ".fnameescape(tmpfile)
   elseif g:netrw_cygwin
    " write (selected portion of) file to temporary
    let cygtmpfile= substitute(tmpfile,'/cygdrive/\(.\)','\1:','')
-"   call Decho("(write selected portion) silent exe ".a:firstline."," . a:lastline . "w! ".v:cmdarg." ".cygtmpfile)
-   silent exe a:firstline."," . a:lastline . "w! ".v:cmdarg." ".cygtmpfile
+"   call Decho("(write selected portion) silent exe ".a:firstline."," . a:lastline . "w! ".fnameescape(v:cmdarg)." ".fnameescape(cygtmpfile))
+   silent exe a:firstline."," . a:lastline . "w! ".fnameescape(v:cmdarg)." ".fnameescape(cygtmpfile)
   else
    " write (selected portion of) file to temporary
-"   call Decho("(write selected portion) silent exe ".a:firstline."," . a:lastline . "w! ".v:cmdarg." ".tmpfile)
-   silent exe a:firstline."," . a:lastline . "w! ".v:cmdarg." ".tmpfile
+"   call Decho("(write selected portion) silent exe ".a:firstline."," . a:lastline . "w! ".fnameescape(v:cmdarg)." ".fnameescape(tmpfile))
+   silent exe a:firstline."," . a:lastline . "w! ".fnameescape(v:cmdarg)." ".fnameescape(tmpfile)
   endif
 
   if curbufname == ""
@@ -1079,9 +1072,8 @@ fun! netrw#NetWrite(...) range
       let uid_machine = g:netrw_machine
      endif
     endif
-    let netrw_fname= escape(b:netrw_fname,g:netrw_fname_escape)
-"    call Decho("executing: !".g:netrw_rcp_cmd." ".s:netrw_rcpmode." ".shellescape(tmpfile)." ".shellescape(uid_machine.":".netrw_fname))
-    exe s:netrw_silentxfer."!".g:netrw_rcp_cmd." ".s:netrw_rcpmode." ".shellescape(tmpfile)." ".shellescape(uid_machine.":".netrw_fname)
+"    call Decho("executing: !".g:netrw_rcp_cmd." ".s:netrw_rcpmode." ".shellescape(tmpfile,1)." ".shellescape(uid_machine.":".b:netrw_fname,1))
+    exe s:netrw_silentxfer."!".g:netrw_rcp_cmd." ".s:netrw_rcpmode." ".shellescape(tmpfile,1)." ".shellescape(uid_machine.":".b:netrw_fname,1)
     let b:netrw_lastfile = choice
 
    ".........................................
@@ -1101,12 +1093,12 @@ fun! netrw#NetWrite(...) range
     exe "put ='".'put \"'.tmpfile.'\" \"'.netrw_fname.'\"'."'"
 "    call Decho("filter input: ".getline('.'))
     if exists("g:netrw_port") && g:netrw_port != ""
-"     call Decho("executing: %!".g:netrw_ftp_cmd." -i ".g:netrw_machine." ".g:netrw_port)
-     exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".g:netrw_machine." ".g:netrw_port
+"     call Decho("executing: %!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)." ".shellescape(g:netrw_port,1))
+     exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)." ".shellescape(g:netrw_port,1)
     else
 "     call Decho("filter input window#".winnr())
-"     call Decho("executing: %!".g:netrw_ftp_cmd." -i ".g:netrw_machine)
-     exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".g:netrw_machine
+"     call Decho("executing: %!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1))
+     exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)
     endif
     " If the result of the ftp operation isn't blank, show an error message (tnx to Doug Claar)
     if getline(1) !~ "^$"
@@ -1167,14 +1159,13 @@ fun! netrw#NetWrite(...) range
    " scp: NetWrite Method #4 {{{4
    elseif     b:netrw_method == 4
 "    call Decho("write via scp (method #4)")
-    let netrw_fname= escape(b:netrw_fname,g:netrw_fname_escape)
     if exists("g:netrw_port") && g:netrw_port != ""
-     let useport= " ".g:netrw_scpport." ".g:netrw_port
+     let useport= " ".g:netrw_scpport." ".fnameescape(g:netrw_port)
     else
      let useport= ""
     endif
-"    call Decho("exe ".s:netrw_silentxfer."!".g:netrw_scp_cmd.useport." ".shellescape(tmpfile)." ".shellescape(g:netrw_machine.":".netrw_fname))
-    exe s:netrw_silentxfer."!".g:netrw_scp_cmd.useport." ".shellescape(tmpfile)." ".shellescape(g:netrw_machine.":".netrw_fname)
+"    call Decho("exe ".s:netrw_silentxfer."!".g:netrw_scp_cmd.useport." ".shellescape(tmpfile,1)." ".shellescape(g:netrw_machine.":".b:netrw_fname,1))
+    exe s:netrw_silentxfer."!".g:netrw_scp_cmd.useport." ".shellescape(tmpfile,1)." ".shellescape(g:netrw_machine.":".b:netrw_fname,1)
     let b:netrw_lastfile = choice
 
    ".........................................
@@ -1215,9 +1206,8 @@ fun! netrw#NetWrite(...) range
    " rsync: NetWrite Method #7 {{{4
    elseif     b:netrw_method == 7
 "    call Decho("write via rsync (method #7)")
-    let netrw_fname= escape(b:netrw_fname,g:netrw_fname_escape)
-"    call Decho("executing: !".g:netrw_rsync_cmd." ".tmpfile." ".g:netrw_machine.":".netrw_fname)
-    exe s:netrw_silentxfer."!".g:netrw_rsync_cmd." ".tmpfile." ".g:netrw_machine.":".netrw_fname
+"    call Decho("executing: !".g:netrw_rsync_cmd." ".shellescape(tmpfile,1)." ".shellescape(g:netrw_machine.":".b:netrw_fname,1))
+    exe s:netrw_silentxfer."!".g:netrw_rsync_cmd." ".shellescape(tmpfile,1)." ".shellescape(g:netrw_machine.":".b:netrw_fname,1)
     let b:netrw_lastfile = choice
 
    ".........................................
@@ -1235,8 +1225,8 @@ fun! netrw#NetWrite(...) range
     put ='put \"'.escape(tmpfile,'\').'\" '.netrw_fname
 "    call Decho("filter input: ".getline('.'))
     norm! 1Gdd
-"    call Decho("executing: %!".g:netrw_sftp_cmd.' '.uid_machine)
-    exe s:netrw_silentxfer."%!".g:netrw_sftp_cmd.' '.uid_machine
+"    call Decho("executing: %!".g:netrw_sftp_cmd.' '.shellescape(uid_machine,1))
+    exe s:netrw_silentxfer."%!".g:netrw_sftp_cmd.' '.shellescape(uid_machine,1)
     bd!
     let b:netrw_lastfile= choice
 
@@ -1251,7 +1241,7 @@ fun! netrw#NetWrite(...) range
 "  call Decho("cleanup")
   if s:FileReadable(tmpfile)
 "   call Decho("tmpfile<".tmpfile."> readable, will now delete it")
-   call s:System("delete",tmpfile)
+   call s:NetrwDelete(tmpfile)
   endif
   call s:NetrwOptionRestore("w:")
 
@@ -1312,7 +1302,7 @@ fun! s:NetrwGetFile(readcmd, tfile, method)
 
   " readcmd=='t': simply do nothing
   if a:readcmd == 't'
-"   call Decho("ro=".&ro." ma=".&ma." mod=".&mod." wrap=".&wrap)
+"   call Decho("ro=".&l:ro." ma=".&l:ma." mod=".&l:mod." wrap=".&l:wrap)
 "   call Dret("NetrwGetFile : skip read of <".a:tfile.">")
    return
   endif
@@ -1336,8 +1326,8 @@ fun! s:NetrwGetFile(readcmd, tfile, method)
    else
     let tfile= a:tfile
    endif
-"   "   call Decho("exe silent! keepalt file ".tfile)
-   exe "silent! keepalt file ".tfile
+"   call Decho("exe silent! keepalt file ".fnameescape(tfile))
+   exe "silent! keepalt file ".fnameescape(tfile)
 
    " edit temporary file (ie. read the temporary file in)
    if     rfile =~ '\.zip$'
@@ -1358,8 +1348,8 @@ fun! s:NetrwGetFile(readcmd, tfile, method)
    endif
 
    " rename buffer back to remote filename
-"   call Decho("exe silent! keepalt file ".escape(rfile,' '))
-   exe "silent! keepalt file ".escape(rfile,' ')
+"   call Decho("exe silent! keepalt file ".fnameescape(rfile))
+   exe "silent! keepalt file ".fnameescape(rfile)
    if a:method == 5
     set ft=html
    else
@@ -1374,14 +1364,14 @@ fun! s:NetrwGetFile(readcmd, tfile, method)
 "   call Decho("read file<".a:tfile."> after current line")
    let curline = line(".")
    let lastline= line("$")
-"   call Decho("exe<".a:readcmd." ".v:cmdarg." ".a:tfile.">  line#".curline)
-   exe a:readcmd." ".v:cmdarg." ".a:tfile
+"   call Decho("exe<".a:readcmd." ".fnameescape(v:cmdarg)." ".fnameescape(a:tfile).">  line#".curline)
+   exe a:readcmd." ".fnameescape(v:cmdarg)." ".fnameescape(a:tfile)
    let line1= curline + 1
    let line2= line("$") - lastline + 1
 
   else
    " not readable
-"   call Decho("ro=".&ro." ma=".&ma." mod=".&mod." wrap=".&wrap)
+"   call Decho("ro=".&l:ro." ma=".&l:ma." mod=".&l:mod." wrap=".&l:wrap)
 "   call Decho("tfile<".a:tfile."> not readable")
    call netrw#ErrorMsg(s:WARNING,"file <".a:tfile."> not readable",9)
 "   call Dret("NetrwGetFile : tfile<".a:tfile."> not readable")
@@ -1406,7 +1396,7 @@ fun! s:NetrwGetFile(readcmd, tfile, method)
  " make sure file is being displayed
 "  redraw!
 
-"  call Decho("ro=".&ro." ma=".&ma." mod=".&mod." wrap=".&wrap)
+"  call Decho("ro=".&l:ro." ma=".&l:ma." mod=".&l:mod." wrap=".&l:wrap)
 "  call Dret("NetrwGetFile")
 endfun
 
@@ -1704,6 +1694,7 @@ fun! s:BrowserMaps(islocal)
    nnoremap <buffer> <silent> U                :<c-u>call <SID>NetrwBookmarkDir(5,expand("%"))<cr>
    nnoremap <buffer> <silent> v                :call <SID>NetrwSplit(5)<cr>
    nnoremap <buffer> <silent> x                :call netrw#NetrwBrowseX(<SID>NetrwBrowseChgDir(1,<SID>NetrwGetWord(),0),0)"<cr>
+   nnoremap <buffer> <silent> %                :call <SID>NetrwOpenFile(1)<cr>
    if !hasmapto('<Plug>NetrwHideEdit')
     nmap <buffer> <unique> <c-h> <Plug>NetrwHideEdit
    endif
@@ -1775,6 +1766,7 @@ fun! s:BrowserMaps(islocal)
    nnoremap <buffer> <silent> U                :<c-u>call <SID>NetrwBookmarkDir(5,b:netrw_curdir)<cr>
    nnoremap <buffer> <silent> v                :call <SID>NetrwSplit(2)<cr>
    nnoremap <buffer> <silent> x                :call netrw#NetrwBrowseX(<SID>NetrwBrowseChgDir(0,<SID>NetrwGetWord()),1)<cr>
+   nnoremap <buffer> <silent> %                :call <SID>NetrwOpenFile(0)<cr>
    if !hasmapto('<Plug>NetrwHideEdit')
     nmap <buffer> <c-h> <Plug>NetrwHideEdit
    endif
@@ -1797,7 +1789,7 @@ fun! s:BrowserMaps(islocal)
    exe 'vnoremap <buffer> <silent> D   :call <SID>NetrwRemoteRm("'.s:user.s:machine.'","'.s:path.'")<cr>'
    exe 'nnoremap <buffer> <silent> R   :call <SID>NetrwRemoteRename("'.s:user.s:machine.'","'.s:path.'")<cr>'
    exe 'vnoremap <buffer> <silent> R   :call <SID>NetrwRemoteRename("'.s:user.s:machine.'","'.s:path.'")<cr>'
-   nnoremap <buffer> <F1>                      :he netrw-browse-cmds<cr>
+   nnoremap <buffer> <F1>                      :he netrw-quickhelp<cr>
   endif
   call s:SetRexDir(a:islocal,b:netrw_curdir)
 "  call Dret("s:BrowserMaps")
@@ -1921,8 +1913,8 @@ fun! s:NetrwBookmarkDir(chg,curdir)
      setlocal nomod
 "     call Decho("setlocal nomod")
     endif
-"    call Decho("exe e! ".g:NETRW_DIRHIST_{g:NETRW_DIRHIST_CNT})
-    exe "e! ".g:NETRW_DIRHIST_{g:NETRW_DIRHIST_CNT}
+"    "    call Decho("exe e! ".fnameescape(g:NETRW_DIRHIST_{g:NETRW_DIRHIST_CNT}))
+    exe "e! ".fnameescape(g:NETRW_DIRHIST_{g:NETRW_DIRHIST_CNT})
    else
     let g:NETRW_DIRHIST_CNT= ( g:NETRW_DIRHIST_CNT + 1 ) % g:netrw_dirhistmax
     echo "Sorry, no predecessor directory exists yet"
@@ -1942,8 +1934,8 @@ fun! s:NetrwBookmarkDir(chg,curdir)
      setlocal nomod
 "     call Decho("setlocal nomod")
     endif
-"    call Decho("exe e! ".g:NETRW_DIRHIST_{g:NETRW_DIRHIST_CNT})
-    exe "e! ".g:NETRW_DIRHIST_{g:NETRW_DIRHIST_CNT}
+"    call Decho("exe e! ".fnameescape(g:NETRW_DIRHIST_{g:NETRW_DIRHIST_CNT}))
+    exe "e! ".fnameescape(g:NETRW_DIRHIST_{g:NETRW_DIRHIST_CNT})
    else
     let g:NETRW_DIRHIST_CNT= ( g:NETRW_DIRHIST_CNT - 1 ) % g:netrw_dirhistmax
     if g:NETRW_DIRHIST_CNT < 0
@@ -2008,7 +2000,7 @@ fun! s:NetrwBrowse(islocal,dirname)
 
   if exists("s:netrw_skipbrowse")
    unlet s:netrw_skipbrowse
-"   call Decho("ro=".&ro." ma=".&ma." mod=".&mod." wrap=".&wrap)
+"   call Decho("ro=".&l:ro." ma=".&l:ma." mod=".&l:mod." wrap=".&l:wrap)
 "   call Dret("s:NetrwBrowse : s:netrw_skipbrowse=".s:netrw_skipbrowse)
    return
   endif
@@ -2055,13 +2047,13 @@ fun! s:NetrwBrowse(islocal,dirname)
    setlocal ma noro
 "   call Decho("setlocal ma noro")
    let b:netrw_curdir= a:dirname
-"   call Decho("exe silent! keepalt file ".s:method."://".s:user.s:machine."/".fnameescape(s:path)." (bt=".&bt.")")
-   exe "silent! keepalt file ".s:method."://".s:user.s:machine."/".fnameescape(s:path)
-   exe "silent keepalt doau BufReadPre ".s:fname
+"   call Decho("exe silent! keepalt file ".fnameescape(s:method."://".s:user.s:machine."/".s:path)." (bt=".&bt.")")
+   exe "silent! keepalt file ".fnameescape(s:method."://".s:user.s:machine."/".s:path)
+   exe "silent keepalt doau BufReadPre ".fnameescape(s:fname)
    silent call netrw#NetRead(2,s:method."://".s:user.s:machine."/".s:path)
    if s:path !~ '.tar.bz2$' && s:path !~ '.tar.gz'
     " netrw.vim and tar.vim have already handled decompression of the tarball; avoiding gzip.vim error
-    exe "silent keepalt doau BufReadPost ".s:fname
+    exe "silent keepalt doau BufReadPost ".fnameescape(s:fname)
    endif
 
    " save certain window-oriented variables into buffer-oriented variables {{{3
@@ -2069,7 +2061,7 @@ fun! s:NetrwBrowse(islocal,dirname)
    call s:NetrwOptionRestore("w:")
    setlocal ma nomod
 
-"   call Decho("ro=".&ro." ma=".&ma." mod=".&mod." wrap=".&wrap)
+"   call Decho("ro=".&l:ro." ma=".&l:ma." mod=".&l:mod." wrap=".&l:wrap)
 "   call Dret("s:NetrwBrowse : file<".s:fname.">")
    return
   endif
@@ -2099,7 +2091,7 @@ fun! s:NetrwBrowse(islocal,dirname)
   if reusing
    call s:NetrwOptionRestore("w:")
    setlocal noma nomod nowrap
-"   call Decho("ro=".&ro." ma=".&ma." mod=".&mod." wrap=".&wrap)
+"   call Decho("ro=".&l:ro." ma=".&l:ma." mod=".&l:mod." wrap=".&l:wrap)
 "   call Dret("s:NetrwBrowse : re-using buffer")
    return
   endif
@@ -2150,7 +2142,7 @@ fun! s:NetrwBrowse(islocal,dirname)
        call s:NetrwOptionRestore("w:")
        setlocal noma nomod nowrap
        let b:netrw_curdir= dirname
-"       call Decho("ro=".&ro." ma=".&ma." mod=".&mod." wrap=".&wrap)
+"       call Decho("ro=".&l:ro." ma=".&l:ma." mod=".&l:mod." wrap=".&l:wrap)
 "       call Dret("s:NetrwBrowse : reusing buffer#".(exists("bufnum")? bufnum : 'N/A')."<".dirname."> getcwd<".getcwd().">")
        return
       endif
@@ -2188,7 +2180,7 @@ fun! s:NetrwBrowse(islocal,dirname)
     endif
     call s:NetrwOptionRestore("w:")
     setlocal noma nomod nowrap
-"    call Decho("ro=".&ro." ma=".&ma." mod=".&mod." wrap=".&wrap)
+"    call Decho("ro=".&l:ro." ma=".&l:ma." mod=".&l:mod." wrap=".&l:wrap)
 "    call Dret("s:NetrwBrowse : badly formatted dirname<".dirname.">")
     return
    endif
@@ -2202,7 +2194,7 @@ fun! s:NetrwBrowse(islocal,dirname)
   call s:BrowserMaps(a:islocal)
   call s:PerformListing(a:islocal)
 
-"  call Decho("ro=".&ro." ma=".&ma." mod=".&mod." wrap=".&wrap)
+"  call Decho("ro=".&l:ro." ma=".&l:ma." mod=".&l:mod." wrap=".&l:wrap)
 "  call Dret("s:NetrwBrowse : did PerformListing")
   return
 endfun
@@ -2299,14 +2291,15 @@ fun! s:NetrwGetBuffer(islocal,dirname)
    " note: !~ was used just below, but that means using ../ to go back would match (ie. abc/def/  and abc/ matches)
    if bufnum > 0 && bufname(bufnum) != dirname && bufname(bufnum) != '.'
     " handle approximate matches
-"    call Decho("  handling approx match: bufnum#%d<".bufname(bufnum)."> approx= dirname<".dirname.">")
+"    call Decho("  handling approx match: bufnum#%d<".bufname(bufnum)."> approx=dirname<".dirname.">")
     let ibuf    = 1
     let buflast = bufnr("$")
 "    call Decho("  findbuf2: buflast=".buflast)
     while ibuf <= buflast
      let bname= substitute(bufname(ibuf),'\\','/','g')
+     let bname= substitute(bname,'.\zs/$','','')
 "     call Decho("  findbuf3: dirname<".dirname."> bufname(".ibuf.")<".bname.">")
-     if bname != '' && bname !~ '/' && dirname =~ '/'.bname.'/\=$' | break | endif
+     if bname != '' && dirname =~ '/'.bname.'/\=$' | break | endif
      if bname   =~ '^'.dirname.'/\=$' | break | endif
      if dirname =~ '^'.bname.'/$'     | break | endif
      let ibuf= ibuf + 1
@@ -2336,8 +2329,8 @@ fun! s:NetrwGetBuffer(islocal,dirname)
      let s:netrw_treelistnum= s:netrw_treelistnum + 1
     endif
     let w:netrw_treebufnr= bufnr("%")
-"    call Decho("  exe silent! keepalt file NetrwTreeListing ".s:netrw_treelistnum)
-    exe 'silent! keepalt file NetrwTreeListing\ '.s:netrw_treelistnum
+"    call Decho("  exe silent! keepalt file NetrwTreeListing ".fnameescape(s:netrw_treelistnum))
+    exe 'silent! keepalt file NetrwTreeListing\ '.fnameescape(s:netrw_treelistnum)
     nnoremap <silent> <buffer> [       :silent call <SID>TreeListMove('[')<cr>
     nnoremap <silent> <buffer> ]       :silent call <SID>TreeListMove(']')<cr>
     nnoremap <silent> <buffer> [[       :silent call <SID>TreeListMove('[')<cr>
@@ -2347,8 +2340,8 @@ fun! s:NetrwGetBuffer(islocal,dirname)
 "    let v:errmsg= "" " Decho
     let escdirname= fnameescape(dirname)
 "    call Decho("  errmsg<".v:errmsg."> bufnr(".escdirname.")=".bufnr(escdirname)."<".bufname(bufnr(escdirname)).">")
-"    call Decho('  exe silent! keepalt file '.escdirname)
-    exe 'silent! keepalt file '.escdirname
+"    call Decho('  exe silent! keepalt file '.fnameescape(escdirname))
+    exe 'silent! keepalt file '.fnameescape(escdirname)
 "    call Decho("  errmsg<".v:errmsg."> bufnr(".escdirname.")=".bufnr(escdirname)."<".bufname(bufnr(escdirname)).">")
    endif
 "   call Decho("  named enew buffer#".bufnr("%")."<".bufname("%").">")
@@ -2365,7 +2358,8 @@ fun! s:NetrwGetBuffer(islocal,dirname)
     exe "b ".bufnum
    endif
    if bufname("%") == '.'
-    exe "silent! keepalt file ".escape(getcwd(),' ')
+"    call Decho("exe silent! keepalt file ".fnameescape(getcwd()))
+    exe "silent! keepalt file ".fnameescape(getcwd())
    endif
    let &ei= eikeep
    if line("$") <= 1
@@ -2393,7 +2387,8 @@ fun! s:NetrwGetBuffer(islocal,dirname)
 "  call Decho("--do netrw settings: make this buffer not-a-file, modifiable, not line-numbered, etc--")
   let fname= expand("%")
   call s:NetrwListSettings(a:islocal)
-  exe "keepalt file ".escape(fname,' ')
+"  call Decho("exe keepalt file ".fnameescape(fname))
+  exe "keepalt file ".fnameescape(fname)
 
   " delete all lines from buffer {{{3
 "  call Decho("--delete all lines from buffer--")
@@ -2502,8 +2497,13 @@ fun! s:NetrwGetWord()
     norm! ma
    endif
    let rega= @a
-   call cursor(line("."),filestart+b:netrw_cpf+1)
-   norm! "ay`a
+   let eofname= filestart + b:netrw_cpf + 1
+   if eofname <= col("$")
+    call cursor(line("."),filestart+b:netrw_cpf+1)
+    norm! "ay`a
+   else
+    norm! "ay$
+   endif
    let dirname = @a
    let @a      = rega
 "   call Decho("2: dirname<".dirname.">")
@@ -2526,9 +2526,10 @@ endfun
 fun! s:NetrwListSettings(islocal)
 "  call Dfunc("s:NetrwListSettings(islocal=".a:islocal.")")
   let fname= bufname("%")
-  setlocal bt=nofile nobl ma nonu nowrap noro
 "  call Decho("setlocal bt=nofile nobl ma nonu nowrap noro")
-  exe "keepalt file ".escape(fname,' ')
+  setlocal bt=nofile nobl ma nonu nowrap noro
+"  call Decho("exe keepalt file ".fnameescape(fname))
+  exe "keepalt file ".fnameescape(fname)
   if g:netrw_use_noswf
    setlocal noswf
   endif
@@ -2642,7 +2643,7 @@ fun! s:NetrwBookmarkMenu()
     let histcnt  = histcnt + 1
     let priority = g:NETRW_DIRHIST_CNT + histcnt
     if exists("g:NETRW_DIRHIST_{cnt}")
-     let bmdir= escape(g:NETRW_DIRHIST_{cnt},'. ')
+     let bmdir= escape(g:NETRW_DIRHIST_{cnt},'/&? ')
 "     call Decho('silent! menu '.g:NetrwMenuPriority.".3.".priority." ".g:NetrwTopLvlMenu.'History.'.bmdir.'   :e '.bmdir)
      exe 'silent! menu '.g:NetrwMenuPriority.".3.".priority." ".g:NetrwTopLvlMenu.'History.'.bmdir.'   :e '.bmdir."\<cr>"
     endif
@@ -2718,7 +2719,6 @@ fun! s:NetrwBrowseChgDir(islocal,newdir,...)
 "   call Decho("handling a file: dirname<".dirname."> (a:0=".a:0.")")
    " this lets NetrwBrowseX avoid the edit
    if a:0 < 1
-"    call Decho("dirname<".dirname."> netrw_cd_escape<".g:netrw_cd_escape."> browse_split=".g:netrw_browse_split)
 "    call Decho("set up windows for editing<".fnameescape(dirname).">  didsplit=".(exists("s:didsplit")? s:didsplit : "doesn't exist"))
     call s:NetrwOptionRestore("s:")
     if !exists("s:didsplit")
@@ -2900,15 +2900,13 @@ fun! netrw#NetrwBrowseX(fname,remote)
   if has("win32") || has("win95") || has("win64") || has("win16")
    let exten= substitute(exten,'^.*$','\L&\E','')
   endif
-  let fname= escape(a:fname,"%#")
-"  call Decho("fname<".fname."> after escape()")
 
   " seems kde systems often have gnome-open due to dependencies, even though
   " gnome-open's subsidiary display tools are largely absent.  Kde systems
   " usually have "kdeinit" running, though...  (tnx Mikolaj Machowski)
   if !exists("s:haskdeinit")
    if has("unix")
-    let s:haskdeinit= s:System("system",'ps -e') =~ 'kdeinit'
+    let s:haskdeinit= system("ps -e") =~ 'kdeinit' 
     if v:shell_error
      let s:haskdeinit = 0
     endif
@@ -2921,12 +2919,14 @@ fun! netrw#NetrwBrowseX(fname,remote)
   if a:remote == 1
    " create a local copy
    let fname= fnamemodify(tempname(),":r").".".exten
-"   call Decho("a:remote=".a:remote.": create a local copy of <".a:fname."> as <".fname.">")
-   exe "silent keepjumps bot 1new ".a:fname
+"   call Decho("a:remote=".a:remote.": create a local copy of <".fname."> as <".fname.">")
+   exe "silent keepjumps bot 1new ".fnameescape(fname)
    setlocal bh=delete
-"   call Decho("read <".fname.">, now writing: exe w! ".fname)
-   exe "silent! w! ".fname
+"   call Decho("read <".fnameescape(fname).">, now writing: exe w! ".fnameescape(fname))
+   exe "silent! w! ".fnameescape(fname)
    q
+  else
+   let fname= a:fname
   endif
 "  call Decho("exten<".exten."> "."netrwFileHandlers#NFH_".exten."():exists=".exists("*netrwFileHandlers#NFH_".exten))
 
@@ -2972,29 +2972,29 @@ fun! netrw#NetrwBrowseX(fname,remote)
 
   elseif exists("g:netrw_browsex_viewer") && executable(viewer)
 "   call Decho("g:netrw_browsex_viewer<".g:netrw_browsex_viewer.">")
-"   call Decho("exe silent !".viewer." ".viewopt.shellescape(fname).redir)
-   exe "silent !".viewer." ".viewopt.shellescape(fname).redir
+"   call Decho("exe silent !".viewer." ".viewopt.shellescape(fname,1).redir)
+   exe "silent !".viewer." ".viewopt.shellescape(fname,1).redir
    let ret= v:shell_error
 
   elseif has("win32") || has("win64")
-"   call Decho('exe silent !start rundll32 url.dll,FileProtocolHandler '.shellescape(fname))
-   exe 'silent !start rundll32 url.dll,FileProtocolHandler '.shellescape(fname)
+"   call Decho('exe silent !start rundll32 url.dll,FileProtocolHandler '.shellescape(fname,1))
+   exe 'silent !start rundll32 url.dll,FileProtocolHandler '.shellescape(fname,1)
    call inputsave()|call input("Press <cr> to continue")|call inputrestore()
    let ret= v:shell_error
 
   elseif has("unix") && executable("gnome-open") && !s:haskdeinit
-"   call Decho("exe silent !gnome-open ".shellescape(fname)." ".redir)
-   exe "silent !gnome-open ".shellescape(fname).redir
+"   call Decho("exe silent !gnome-open ".shellescape(fname,1)." ".redir)
+   exe "silent !gnome-open ".shellescape(fname,1).redir
    let ret= v:shell_error
 
   elseif has("unix") && executable("kfmclient") && s:haskdeinit
-"   call Decho("exe silent !kfmclient exec ".shellescape(fname)." ".redir)
-   exe "silent !kfmclient exec ".shellescape(fname)." ".redir
+"   call Decho("exe silent !kfmclient exec ".shellescape(fname,1)." ".redir)
+   exe "silent !kfmclient exec ".shellescape(fname,1)." ".redir
    let ret= v:shell_error
 
   elseif has("macunix") && executable("open")
-"   call Decho("exe silent !open ".shellescape(fname)." ".redir)
-   exe "silent !open ".shellescape(fname)." ".redir
+"   call Decho("exe silent !open ".shellescape(fname,1)." ".redir)
+   exe "silent !open ".shellescape(fname,1)." ".redir
    let ret= v:shell_error
 
   else
@@ -3007,7 +3007,8 @@ fun! netrw#NetrwBrowseX(fname,remote)
    let ret= netrwFileHandlers#Invoke(exten,fname)
   endif
 
-"  redraw!
+  " restoring redraw! after external file handlers
+  redraw!
 
   " cleanup: remove temporary file,
   "          delete current buffer if success with handler,
@@ -3016,7 +3017,7 @@ fun! netrw#NetrwBrowseX(fname,remote)
   "          temporary file because it wasn't getting seen.
 "  if a:remote == 1 && fname != a:fname
 "   call Decho("deleting temporary file<".fname.">")
-"   call s:System("delete",fname)
+"   call s:NetrwDelete(fname)
 "  endif
 
   if a:remote == 1
@@ -3652,8 +3653,8 @@ fun! s:NetrwMakeDir(usrhost)
     let netrw_origdir= s:NetrwGetcwd(1)
     exe 'keepjumps lcd '.fnameescape(b:netrw_curdir)
 "    call Decho("netrw_origdir<".netrw_origdir.">: lcd b:netrw_curdir<".fnameescape(b:netrw_curdir).">")
-"    call Decho("exe silent! !".g:netrw_local_mkdir.' '.shellescape(newdirname))
-    exe "silent! !".g:netrw_local_mkdir.' '.shellescape(newdirname)
+"    call Decho("exe silent! !".g:netrw_local_mkdir.' '.shellescape(newdirname,1))
+    exe "silent! !".g:netrw_local_mkdir.' '.shellescape(newdirname,1)
     if !g:netrw_keepdir
      exe 'keepjumps lcd '.fnameescape(netrw_origdir)
 "     call Decho("netrw_keepdir=".g:netrw_keepdir.": keepjumps lcd ".fnameescape(netrw_origdir)." getcwd<".getcwd().">")
@@ -3676,8 +3677,8 @@ fun! s:NetrwMakeDir(usrhost)
 "   call Decho("remote mkdir")
    let mkdircmd  = s:MakeSshCmd(g:netrw_mkdir_cmd)
    let newdirname= substitute(b:netrw_curdir,'^\%(.\{-}/\)\{3}\(.*\)$','\1','').newdirname
-"   call Decho("exe silent! !".mkdircmd." ".shellescape(newdirname))
-   exe "silent! !".mkdircmd." ".shellescape(newdirname)
+"   call Decho("exe silent! !".mkdircmd." ".shellescape(newdirname,1))
+   exe "silent! !".mkdircmd." ".shellescape(newdirname,1)
    if v:shell_error == 0
     " refresh listing
     let svpos= netrw#NetrwSavePosn()
@@ -3818,14 +3819,14 @@ fun! s:NetrwMarkFileCompress(islocal)
     for sfx in sort(keys(g:netrw_decompress))
      if fname =~ '\'.sfx.'$'
       " fname has a suffix indicating that its compressed; apply associated decompression routine
-      let exe= g:netrw_decompress[sfx]
+      let exe= s:WinPath(g:netrw_decompress[sfx])
 "      call Decho("fname<".fname."> is compressed so decompress with <".exe.">")
       if a:islocal
        if g:netrw_keepdir
-        let fname= s:ComposePath(curdir,fname)
+        let fname= shellescape(s:ComposePath(curdir,fname))
        endif
       else
-       let fname= b:netrw_curdir.fname
+       let fname= shellescape(b:netrw_curdir.fname)
       endif
       if executable(exe)
        if a:islocal
@@ -3843,10 +3844,10 @@ fun! s:NetrwMarkFileCompress(islocal)
      unlet exe
     elseif a:islocal
      " fname not a compressed file, so compress it
-     call system(g:netrw_compress." ".s:ComposePath(b:netrw_curdir,fname))
+     call system(s:WinPath(g:netrw_compress)." ".shellescape(s:ComposePath(b:netrw_curdir,fname)))
     else
      " fname not a compressed file, so compress it
-     call s:RemoteSystem(g:netrw_compress." ".fname)
+     call s:RemoteSystem(s:WinPath(g:netrw_compress)." ".shellescape(fname))
     endif
    endfor
    call s:NetrwUnmarkList(curbufnr,curdir)
@@ -3887,7 +3888,7 @@ fun! s:NetrwMarkFileCopy(islocal)
 "   call Decho("copy from local to local")
    let args= join(map(copy(s:netrwmarkfilelist_{bufnr('%')}),"b:netrw_curdir.\"/\".shellescape(v:val)"))
 "   call Decho("system(".g:netrw_localcopycmd." ".args." ".shellescape(s:netrwmftgt).")")
-   call system(g:netrw_localcopycmd." ".args." ".shellescape(s:netrwmftgt))
+   call system(s:WinPath(g:netrw_localcopycmd)." ".args." ".shellescape(s:netrwmftgt))
 
   elseif  a:islocal && !s:netrwmftgt_islocal
    " Copy marked files, local directory to remote directory
@@ -3908,7 +3909,7 @@ fun! s:NetrwMarkFileCopy(islocal)
    if exists("*mkdir")
     call mkdir(tmpdir)
    else
-    exe "silent! !".g:netrw_local_mkdir.' '.shellescape(tmpdir)
+    exe "silent! !".g:netrw_local_mkdir.' '.shellescape(tmpdir,1)
    endif
    if isdirectory(tmpdir)
     exe "keepjumps lcd ".fnameescape(tmpdir)
@@ -3917,10 +3918,10 @@ fun! s:NetrwMarkFileCopy(islocal)
     call s:NetrwUpload(localfiles,s:netrwmftgt)
     if getcwd() == tmpdir
      for fname in s:netrwmarkfilelist_{bufnr('%')}
-      call s:System("delete",fname)
+      call s:NetrwDelete(fname)
      endfor
      exe "keepjumps lcd ".fnameescape(curdir)
-     exe "silent !".g:netrw_local_rmdir." ".fnameescape(tmpdir)
+     exe "silent !".g:netrw_local_rmdir." ".shellescape(tmpdir,1)
     else
      exe "keepjumps lcd ".fnameescape(curdir)
     endif
@@ -4036,10 +4037,10 @@ fun! s:NetrwMarkFileExe(islocal)
    for fname in s:netrwmarkfilelist_{curbufnr}
     if a:islocal
      if g:netrw_keepdir
-      let fname= s:ComposePath(curdir,fname)
+      let fname= shellescape(s:WinPath(s:ComposePath(curdir,fname)))
      endif
     else
-     let fname= b:netrw_curdir.fname
+     let fname= shellescape(s:WinPath(b:netrw_curdir.fname))
     endif
     if cmd =~ '%'
      let xcmd= substitute(cmd,'%',fname,'g')
@@ -4399,8 +4400,8 @@ fun! s:NetrwMarkFileSource(islocal)
      let fname= curdir.fname
     endif
     " the autocmds will handle sourcing both local and remote files
-"    call Decho("exe so ".escape(fname,' '))
-    exe "so ".escape(fname,' ')
+"    call Decho("exe so ".fnameescape(fname))
+    exe "so ".fnameescape(fname)
    endfor
    2match none
   endif
@@ -4439,7 +4440,7 @@ fun! s:NetrwMarkFileTag(islocal)
      call netrw#ErrorMsg(s:ERROR,"g:netrw_ctags<".g:netrw_ctags."> is not executable!",51)
     endif
    else
-    let cmd= s:RemoteSystem(g:netrw_ctags." ".netrwmarkfilelist)
+    let cmd   = s:RemoteSystem(g:netrw_ctags." ".netrwmarkfilelist)
     call netrw#NetrwObtain(a:islocal,"tags")
     let curdir= b:netrw_curdir
     1split
@@ -4518,6 +4519,36 @@ fun! s:NetrwMarkFileTgt(islocal)
 "  call Dret("s:NetrwMarkFileTgt : netrwmftgt<".(exists("s:netrwmftgt")? s:netrwmftgt : "").">")
 endfun
 
+" ---------------------------------------------------------------------
+" s:NetrwOpenFile: query user for a filename and open it {{{2
+fun! s:NetrwOpenFile(islocal)
+"  call Dfunc("s:NetrwOpenFile(islocal=".a:islocal.")")
+  call inputsave()
+  let fname= input("Enter filename: ")
+  call inputrestore()
+  if fname !~ '[/\\]'
+   if exists("b:netrw_curdir")
+    if exists("g:netrw_quiet")
+     let netrw_quiet_keep = g:netrw_quiet
+    endif
+    let g:netrw_quiet    = 1
+    if b:netrw_curdir =~ '/$'
+     exe "e ".fnameescape(b:netrw_curdir.fname)
+    else
+     exe "e ".fnameescape(b:netrw_curdir."/".fname)
+    endif
+    if exists("netrw_quiet_keep")
+     let g:netrw_quiet= netrw_quiet_keep
+    else
+     unlet g:netrw_quiet
+    endif
+   endif
+  else
+   exe "e ".fnameescape(fname)
+  endif
+"  call Dret("s:NetrwOpenFile")
+endfun
+
 " ---------------------------------------------------------------------
 " s:NetrwUnmarkList: delete local marked file lists and remove their contents from the global marked-file list {{{2
 fun! s:NetrwUnmarkList(curbufnr,curdir)
@@ -4735,8 +4766,8 @@ fun! netrw#NetrwObtain(islocal,fname,...)
     if (has("win32") || has("win95") || has("win64") || has("win16"))
      " transfer files one at time
      for fname in fnamelist
-"      call Decho("system(".g:netrw_localcopycmd." ".fname." ".shellescape(topath).")")
-      call system(g:netrw_localcopycmd." ".fname." ".shellescape(topath))
+"      call Decho("system(".g:netrw_localcopycmd." ".shellescape(fname)." ".shellescape(topath).")")
+      call system(g:netrw_localcopycmd." ".shellescape(fname)." ".shellescape(topath))
      endfor
     else
      " transfer files with one command
@@ -4770,9 +4801,9 @@ fun! netrw#NetrwObtain(islocal,fname,...)
     else
      let path= ""
     endif
-    let filelist= join(map(copy(fnamelist),'shellescape(g:netrw_machine.":".escape(path.v:val,g:netrw_fname_escape))'))
-"    call Decho("exe ".s:netrw_silentxfer."!".g:netrw_scp_cmd.useport." ".filelist." ".shellescape(tgtdir))
-    exe s:netrw_silentxfer."!".g:netrw_scp_cmd.useport." ".filelist." ".shellescape(tgtdir)
+    let filelist= join(map(copy(fnamelist),'shellescape(g:netrw_machine.":".path.v:val,1))'))
+"    call Decho("exe ".s:netrw_silentxfer."!".g:netrw_scp_cmd.shellescape(useport,1)." ".filelist." ".shellescape(tgtdir,1))
+    exe s:netrw_silentxfer."!".g:netrw_scp_cmd.shellescape(useport,1)." ".filelist." ".shellescape(tgtdir,1)
 
    elseif b:netrw_method == 2
     " obtain file using ftp + .netrc
@@ -4799,11 +4830,11 @@ fun! netrw#NetrwObtain(islocal,fname,...)
 "      call Decho("filter input: ".getline('$'))
      endfor
      if exists("g:netrw_port") && g:netrw_port != ""
-"      call Decho("executing: %!".g:netrw_ftp_cmd." -i ".g:netrw_machine." ".g:netrw_port)
-      exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".g:netrw_machine." ".g:netrw_port
+"      call Decho("executing: %!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)." ".shellescape(g:netrw_port,1))
+      exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)." ".shellescape(g:netrw_port,1)
      else
-"      call Decho("executing: %!".g:netrw_ftp_cmd." -i ".g:netrw_machine)
-      exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".g:netrw_machine
+"      call Decho("executing: %!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1))
+      exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)
      endif
      " If the result of the ftp operation isn't blank, show an error message (tnx to Doug Claar)
      if getline(1) !~ "^$" && !exists("g:netrw_quiet") && getline(1) !~ '^Trying '
@@ -5029,12 +5060,11 @@ fun! s:NetrwUpload(fname,tgt,...)
    if a:tgt =~ '/$'
     let wfname= substitute(a:fname,'^.*/','','')
     let wfname= escape(a:tgt.wfname,g:netrw_fname_escape)
-"    call Decho("exe w! ".wfname)
-    exe "w! ".wfname
+"    call Decho("exe w! ".fnameescape(wfname))
+    exe "w! ".fnameescape(wfname)
    else
-    let wfname= escape(a:tgt,g:netrw_fname_escape)
-"    call Decho("writing local->remote: exe w ".wfname)
-    exe "w ".wfname
+"    call Decho("writing local->remote: exe w ".fnameescape(a:tgt))
+    exe "w ".fnameescape(a:tgt)
 "    call Decho("done writing local->remote")
    endif
    q!
@@ -5054,8 +5084,8 @@ fun! s:NetrwUpload(fname,tgt,...)
     endif
     let machine = substitute(a:tgt,'^scp://\([^/:]\+\).*$','\1','')
     let tgt     = substitute(a:tgt,'^scp://[^/]\+/\(.*\)$','\1','')
-"    call Decho("exe ".s:netrw_silentxfer."!".g:netrw_scp_cmd.useport." ".args." ".shellescape(machine.":".escape(tgt,g:netrw_fname_escape)))
-    exe s:netrw_silentxfer."!".g:netrw_scp_cmd.useport." ".args." ".shellescape(machine.":".escape(tgt,g:netrw_fname_escape))
+"    call Decho("exe ".s:netrw_silentxfer."!".g:netrw_scp_cmd.shellescape(useport,1)." ".args." ".shellescape(machine.":".tgt,1))
+    exe s:netrw_silentxfer."!".g:netrw_scp_cmd.shellescape(useport,1)." ".args." ".shellescape(machine.":".tgt,1)
     exe "keepjumps silent lcd ".fnameescape(curdir)
 
    elseif a:tgt =~ '^ftp:'
@@ -5087,12 +5117,12 @@ fun! s:NetrwUpload(fname,tgt,...)
      endfor
 
      if exists("g:netrw_port") && g:netrw_port != ""
-"      call Decho("executing: ".s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".g:netrw_machine." ".g:netrw_port)
-      exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".g:netrw_machine." ".g:netrw_port
+"      call Decho("executing: ".s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)." ".shellescape(g:netrw_port,1))
+      exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)." ".shellescape(g:netrw_port,1)
      else
 "      call Decho("filter input window#".winnr())
-"      call Decho("executing: ".s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".g:netrw_machine)
-      exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".g:netrw_machine
+"      call Decho("executing: ".s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1))
+      exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)
      endif
      " If the result of the ftp operation isn't blank, show an error message (tnx to Doug Claar)
      silent g/Local directory now/d
@@ -5794,10 +5824,10 @@ fun! s:PerformListing(islocal)
 "      call Decho("g:netrw_sort_direction=".g:netrw_sort_direction." (bannercnt=".w:netrw_bannercnt.")")
       if g:netrw_sort_direction =~ 'n'
        " normal direction sorting
-       exe 'silent keepjumps '.w:netrw_bannercnt.',$sort'
+       exe 'silent keepjumps '.w:netrw_bannercnt.',$sort'.' '.g:netrw_sort_options
       else
        " reverse direction sorting
-       exe 'silent keepjumps '.w:netrw_bannercnt.',$sort!'
+       exe 'silent keepjumps '.w:netrw_bannercnt.',$sort!'.' '.g:netrw_sort_options
       endif
      endif
      " remove priority pattern prefix
@@ -5810,10 +5840,10 @@ fun! s:PerformListing(islocal)
 "      call Decho("g:netrw_sort_direction=".g:netrw_sort_direction)
       if g:netrw_sort_direction =~ 'n'
 "       call Decho('exe silent keepjumps '.w:netrw_bannercnt.',$sort')
-       exe 'silent keepjumps '.w:netrw_bannercnt.',$sort'
+       exe 'silent keepjumps '.w:netrw_bannercnt.',$sort'.' '.g:netrw_sort_options
       else
 "       call Decho('exe silent keepjumps '.w:netrw_bannercnt.',$sort!')
-       exe 'silent keepjumps '.w:netrw_bannercnt.',$sort!'
+       exe 'silent keepjumps '.w:netrw_bannercnt.',$sort!'.' '.g:netrw_sort_options
       endif
      endif
      exe 'silent keepjumps '.w:netrw_bannercnt.',$s/^\d\{-}\///e'
@@ -5997,8 +6027,8 @@ fun! s:NetrwRemoteListing()
    let listcmd= s:MakeSshCmd(g:netrw_list_cmd)
 "   call Decho("listcmd<".listcmd."> (using g:netrw_list_cmd)")
    if g:netrw_scp_cmd =~ '^pscp'
-"    call Decho("1: exe silent r! ".listcmd.shellescape(s:path))
-    exe "silent r! ".listcmd.shellescape(s:path)
+"    call Decho("1: exe silent r! ".listcmd.s:path)
+    exe "silent r! ".listcmd.s:path
     " remove rubbish and adjust listing format of 'pscp' to 'ssh ls -FLa' like
     g/^Listing directory/d
     g/^d[-rwx][-rwx][-rwx]/s+$+/+e
@@ -6011,8 +6041,8 @@ fun! s:NetrwRemoteListing()
 "     call Decho("2: exe silent r! ".listcmd)
      exe "silent r! ".listcmd
     else
-"     call Decho("3: exe silent r! ".listcmd.' "'.shellescape(s:path).'"')
-     exe "silent r! ".listcmd.' "'.shellescape(s:path).'"'
+"     call Decho("3: exe silent r! ".listcmd.' '.shellescape(s:path,1))
+     exe "silent r! ".listcmd.' '.shellescape(s:path,1)
 "     call Decho("listcmd<".listcmd."> path<".s:path.">")
     endif
    endif
@@ -6203,17 +6233,17 @@ fun! s:NetrwRemoteRmFile(path,rmfile,all)
      call s:NetrwRemoteFtpCmd(a:path,"rmdir ".a:rmfile)
     else
      let rmfile          = substitute(a:path.a:rmfile,'/$','','')
-     let netrw_rmdir_cmd = s:MakeSshCmd(g:netrw_rmdir_cmd).' '.rmfile
+     let netrw_rmdir_cmd = s:MakeSshCmd(s:WinPath(g:netrw_rmdir_cmd)).' '.shellescape(s:WinPath(rmfile))
 "      call Decho("attempt to remove dir: system(".netrw_rmdir_cmd.")")
-     let ret= s:System("system",netrw_rmdir_cmd)
+     let ret= system(netrw_rmdir_cmd)
 "      call Decho("returned=".ret." errcode=".v:shell_error)
 
      if v:shell_error != 0
-"       call Decho("v:shell_error not 0")
-      let netrw_rmf_cmd= s:MakeSshCmd(g:netrw_rmf_cmd).' '.substitute(rmfile,'[\/]$','','e')
-"       call Decho("2nd attempt to remove dir: system(".netrw_rmf_cmd.")")
-      let ret= s:System("system",netrw_rmf_cmd)
-"       call Decho("returned=".ret." errcode=".v:shell_error)
+"      call Decho("v:shell_error not 0")
+      let netrw_rmf_cmd= s:MakeSshCmd(s:WinPath(g:netrw_rmf_cmd)).' '.shellescape(s:WinPath(substitute(rmfile,'[\/]$','','e')))
+"      call Decho("2nd attempt to remove dir: system(".netrw_rmf_cmd.")")
+      let ret= system(netrw_rmf_cmd)
+"      call Decho("returned=".ret." errcode=".v:shell_error)
 
       if v:shell_error != 0 && !exists("g:netrw_quiet")
        call netrw#ErrorMsg(s:ERROR,"unable to remove directory<".rmfile."> -- is it empty?",22)
@@ -6262,11 +6292,11 @@ fun! s:NetrwRemoteFtpCmd(path,listcmd)
    call setline(line("$")+1,a:listcmd)
 "   exe "keepjumps ".w:netrw_bannercnt.',$g/^./call Decho("ftp#".line(".").": ".getline("."))'
    if exists("g:netrw_port") && g:netrw_port != ""
-"    call Decho("exe ".s:netrw_silentxfer.w:netrw_bannercnt.",$!".g:netrw_ftp_cmd." -i ".g:netrw_machine." ".g:netrw_port)
-    exe s:netrw_silentxfer." keepjumps ".w:netrw_bannercnt.",$!".g:netrw_ftp_cmd." -i ".g:netrw_machine." ".g:netrw_port
+"    call Decho("exe ".s:netrw_silentxfer.w:netrw_bannercnt.",$!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)." ".shellescape(g:netrw_port,1))
+    exe s:netrw_silentxfer." keepjumps ".w:netrw_bannercnt.",$!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)." ".shellescape(g:netrw_port,1)
    else
-"    call Decho("exe ".s:netrw_silentxfer.w:netrw_bannercnt.",$!".g:netrw_ftp_cmd." -i ".g:netrw_machine)
-    exe s:netrw_silentxfer." keepjumps ".w:netrw_bannercnt.",$!".g:netrw_ftp_cmd." -i ".g:netrw_machine
+"    call Decho("exe ".s:netrw_silentxfer.w:netrw_bannercnt.",$!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1))
+    exe s:netrw_silentxfer." keepjumps ".w:netrw_bannercnt.",$!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)
    endif
 
    ".........................................
@@ -6368,10 +6398,10 @@ fun! s:NetrwRemoteRename(usrhost,path) range
     if exists("w:netrw_method") && (w:netrw_method == 2 || w:netrw_method == 3)
      call s:NetrwRemoteFtpCmd(a:path,"rename ".oldname." ".newname)
     else
-     let oldname= a:path.oldname
-     let newname= a:path.newname
-"     call Decho("system(rename_cmd".' "'.fnameescape(oldname," ").'" "'.escape(newname).'"')
-     let ret= s:System("system",rename_cmd.' "'.fnameescape(oldname).'" "'.fnameescape(newname).'"')
+     let oldname= shellescape(a:path.oldname)
+     let newname= shellescape(a:path.newname)
+"     call Decho("system(s:WinPath(".rename_cmd.") ".oldname.' '.newname.")")
+     let ret    = system(s:WinPath(rename_cmd).' '.oldname.' '.newname)
     endif
 
    endfor
@@ -6393,10 +6423,10 @@ fun! s:NetrwRemoteRename(usrhost,path) range
     if exists("w:netrw_method") && (w:netrw_method == 2 || w:netrw_method == 3)
      call s:NetrwRemoteFtpCmd(a:path,"rename ".oldname." ".newname)
     else
-     let oldname= a:path.oldname
-     let newname= a:path.newname
-"    call Decho("system(rename_cmd".' "'.fnameescape(oldname," ").'" "'.escape(newname).'"')
-     let ret= s:System("system",rename_cmd.' "'.fnameescape(oldname).'" "'.fnameescape(newname).'"')
+     let oldname= shellescape(a:path.oldname)
+     let newname= shellescape(a:path.newname)
+"     call Decho("system(s:WinPath(".rename_cmd.") ".oldname.' '.newname.")")
+     let ret    = system(s:WinPath(rename_cmd).' '.oldname.' '.newname)
     endif
 
     let ctr= ctr + 1
@@ -6751,7 +6781,7 @@ fun! s:NetrwLocalRmFile(path,fname,all)
    endif
 
    if all || ok =~ 'y\%[es]' || ok == ""
-    let ret= s:System("delete",rmfile)
+    let ret= s:NetrwDelete(rmfile)
 "    call Decho("errcode=".v:shell_error." ret=".ret)
    endif
 
@@ -6773,19 +6803,19 @@ fun! s:NetrwLocalRmFile(path,fname,all)
    let rmfile= substitute(rmfile,'[\/]$','','e')
 
    if all || ok =~ 'y\%[es]' || ok == ""
-"    call Decho("1st attempt: system(".g:netrw_local_rmdir.' '.shellescape(rmfile).')')
-    call s:System("system",g:netrw_local_rmdir.' '.shellescape(rmfile))
+"    call Decho("1st attempt: system(s:WinPath(".g:netrw_local_rmdir.') '.shellescape(rmfile).')')
+    call system(s:WinPath(g:netrw_local_rmdir).' '.shellescape(rmfile))
 "    call Decho("v:shell_error=".v:shell_error)
 
     if v:shell_error != 0
 "     call Decho("2nd attempt to remove directory<".rmfile.">")
-     let errcode= s:System("delete",rmfile)
+     let errcode= s:NetrwDelete(rmfile)
 "     call Decho("errcode=".errcode)
 
      if errcode != 0
       if has("unix")
 "       call Decho("3rd attempt to remove directory<".rmfile.">")
-       call s:System("system","rm ".shellescape(rmfile))
+       call system("rm ".shellescape(rmfile))
        if v:shell_error != 0 && !exists("g:netrw_quiet")
         call netrw#ErrorMsg(s:ERROR,"unable to remove directory<".rmfile."> -- is it empty?",34)
        let ok="no"
@@ -6937,100 +6967,12 @@ endfun
 " ---------------------------------------------------------------------
 " Support Functions: {{{1
 
-" ---------------------------------------------------------------------
-" s:UpdateBuffersMenu: does emenu Buffers.Refresh (but due to locale, the menu item may not be called that) {{{2
-"                      The Buffers.Refresh menu calls s:BMShow(); unfortunately, that means that that function
-"                      can't be called except via emenu.  But due to locale, that menu line may not be called
-"                      Buffers.Refresh; hence, s:NetrwBMShow() utilizes a "cheat" to call that function anyway.
-fun! s:UpdateBuffersMenu()
-"  call Dfunc("s:UpdateBuffersMenu()")
-  if has("gui") && has("menu") && has("gui_running") && &go =~ 'm'
-   try
-    silent emenu Buffers.Refresh\ menu
-   catch /^Vim\%((\a\+)\)\=:E/
-    let v:errmsg= ""
-    silent call s:NetrwBMShow()
-   endtry
-  endif
-"  call Dret("s:UpdateBuffersMenu")
-endfun
-
-" ---------------------------------------------------------------------
-" s:NetrwBMShow: {{{2
-fun! s:NetrwBMShow()
-"  call Dfunc("s:NetrwBMShow()")
-  redir => bmshowraw
-   menu
-  redir END
-  let bmshowlist = split(bmshowraw,'\n')
-  if bmshowlist != []
-   let bmshowfuncs= filter(bmshowlist,'v:val =~ "<SNR>\\d\\+_BMShow()"')
-   if bmshowfuncs != []
-    let bmshowfunc = substitute(bmshowfuncs[0],'^.*:\(call.*BMShow()\).*$','\1','')
-    if bmshowfunc =~ '^call.*BMShow()'
-     exe "silent! ".bmshowfunc
-    endif
-   endif
-  endif
-"  call Dret("s:NetrwBMShow : bmshowfunc<".(exists("bmshowfunc")? bmshowfunc : 'n/a').">")
-endfun
-
-" ---------------------------------------------------------------------
-"  s:ComposePath: Appends a new part to a path taking different systems into consideration {{{2
-fun! s:ComposePath(base,subdir)
-"  call Dfunc("s:ComposePath(base<".a:base."> subdir<".a:subdir.">)")
-
-  if(has("amiga"))
-"   call Decho("amiga")
-   let ec = a:base[strlen(a:base)-1]
-   if ec != '/' && ec != ':'
-    let ret = a:base . "/" . a:subdir
-   else
-    let ret = a:base . a:subdir
-   endif
-
-  elseif a:subdir =~ '^\a:[/\\][^/\\]' && (has("win32") || has("win95") || has("win64") || has("win16"))
-"   call Decho("windows")
-   let ret= a:subdir
-
-  elseif a:base =~ '^\a\+://'
-"   call Decho("remote linux/macos")
-   let urlbase = substitute(a:base,'^\(\a\+://.\{-}/\)\(.*\)$','\1','')
-   let curpath = substitute(a:base,'^\(\a\+://.\{-}/\)\(.*\)$','\2','')
-   if a:subdir == '../'
-    if curpath =~ '[^/]/[^/]\+/$'
-     let curpath= substitute(curpath,'[^/]\+/$','','')
-    else
-     let curpath=""
-    endif
-    let ret= urlbase.curpath
-   else
-    let ret= urlbase.curpath.a:subdir
-   endif
-"   call Decho("urlbase<".urlbase.">")
-"   call Decho("curpath<".curpath.">")
-"   call Decho("ret<".ret.">")
-
-  else
-"   call Decho("local linux/macos")
-   let ret = substitute(a:base."/".a:subdir,"//","/","g")
-   if a:base =~ '^//'
-    " keeping initial '//' for the benefit of network share listing support
-    let ret= '/'.ret
-   endif
-   let ret= simplify(ret)
-  endif
-
-"  call Dret("s:ComposePath ".ret)
-  return ret
-endfun
-
 " ---------------------------------------------------------------------
 " netrw#ErrorMsg: {{{2
 "   0=note     = s:NOTE
 "   1=warning  = s:WARNING
 "   2=error    = s:ERROR
-"  Jun 11, 2008 : max errnum currently is 70
+"  Jul 08, 2008 : max errnum currently is 71
 fun! netrw#ErrorMsg(level,msg,errnum)
 "  call Dfunc("netrw#ErrorMsg(level=".a:level." msg<".a:msg."> errnum=".a:errnum.") g:netrw_use_errorwindow=".g:netrw_use_errorwindow)
 
@@ -7099,6 +7041,68 @@ fun! netrw#ErrorMsg(level,msg,errnum)
 endfun
 
 " ---------------------------------------------------------------------
+" netrw#NetrwRestorePosn: restores the cursor and file position as saved by NetrwSavePosn() {{{2
+fun! netrw#NetrwRestorePosn(...)
+"  call Dfunc("netrw#NetrwRestorePosn() a:0=".a:0." winnr=".(exists("w:netrw_winnr")? w:netrw_winnr : -1)." line=".(exists("w:netrw_line")? w:netrw_line : -1)." col=".(exists("w:netrw_col")? w:netrw_col : -1)." hline=".(exists("w:netrw_hline")? w:netrw_hline : -1))
+  let eikeep= &ei
+  set ei=all
+  if expand("%") == "NetrwMessage"
+   exe s:winBeforeErr."wincmd w"
+  endif
+
+  if a:0 > 0
+   exe a:1
+  endif
+
+  " restore window
+  if exists("w:netrw_winnr")
+"   call Decho("restore window: exe silent! ".w:netrw_winnr."wincmd w")
+   exe "silent! ".w:netrw_winnr."wincmd w"
+  endif
+  if v:shell_error == 0
+   " as suggested by Bram M: redraw on no error
+   " allows protocol error messages to remain visible
+"   redraw!
+  endif
+
+  " restore top-of-screen line
+  if exists("w:netrw_hline")
+"   call Decho("restore topofscreen: exe norm! ".w:netrw_hline."G0z")
+   exe "norm! ".w:netrw_hline."G0z\<CR>"
+  endif
+
+  " restore position
+  if exists("w:netrw_line") && exists("w:netrw_col")
+"   call Decho("restore posn: exe norm! ".w:netrw_line."G0".w:netrw_col."|")
+   exe "norm! ".w:netrw_line."G0".w:netrw_col."\<bar>"
+  endif
+
+  let &ei= eikeep
+"  call Dret("netrw#NetrwRestorePosn")
+endfun
+
+" ---------------------------------------------------------------------
+" netrw#NetrwSavePosn: saves position of cursor on screen {{{2
+fun! netrw#NetrwSavePosn()
+"  call Dfunc("netrw#NetrwSavePosn()")
+  " Save current line and column
+  let w:netrw_winnr= winnr()
+  let w:netrw_line = line(".")
+  let w:netrw_col  = virtcol(".")
+
+  " Save top-of-screen line
+  norm! H0
+  let w:netrw_hline= line(".")
+
+  " set up string holding position parameters
+  let ret          = "let w:netrw_winnr=".w:netrw_winnr."|let w:netrw_line=".w:netrw_line."|let w:netrw_col=".w:netrw_col."|let w:netrw_hline=".w:netrw_hline
+
+  call netrw#NetrwRestorePosn()
+"  call Dret("netrw#NetrwSavePosn : winnr=".w:netrw_winnr." line=".w:netrw_line." col=".w:netrw_col." hline=".w:netrw_hline)
+  return ret
+endfun
+
+" ------------------------------------------------------------------------
 "  netrw#RFC2396: converts %xx into characters {{{2
 fun! netrw#RFC2396(fname)
 "  call Dfunc("netrw#RFC2396(fname<".a:fname.">)")
@@ -7107,6 +7111,56 @@ fun! netrw#RFC2396(fname)
   return fname
 endfun
 
+" ---------------------------------------------------------------------
+"  s:ComposePath: Appends a new part to a path taking different systems into consideration {{{2
+fun! s:ComposePath(base,subdir)
+"  call Dfunc("s:ComposePath(base<".a:base."> subdir<".a:subdir.">)")
+
+  if(has("amiga"))
+"   call Decho("amiga")
+   let ec = a:base[strlen(a:base)-1]
+   if ec != '/' && ec != ':'
+    let ret = a:base . "/" . a:subdir
+   else
+    let ret = a:base . a:subdir
+   endif
+
+  elseif a:subdir =~ '^\a:[/\\][^/\\]' && (has("win32") || has("win95") || has("win64") || has("win16"))
+"   call Decho("windows")
+   let ret= a:subdir
+
+  elseif a:base =~ '^\a\+://'
+"   call Decho("remote linux/macos")
+   let urlbase = substitute(a:base,'^\(\a\+://.\{-}/\)\(.*\)$','\1','')
+   let curpath = substitute(a:base,'^\(\a\+://.\{-}/\)\(.*\)$','\2','')
+   if a:subdir == '../'
+    if curpath =~ '[^/]/[^/]\+/$'
+     let curpath= substitute(curpath,'[^/]\+/$','','')
+    else
+     let curpath=""
+    endif
+    let ret= urlbase.curpath
+   else
+    let ret= urlbase.curpath.a:subdir
+   endif
+"   call Decho("urlbase<".urlbase.">")
+"   call Decho("curpath<".curpath.">")
+"   call Decho("ret<".ret.">")
+
+  else
+"   call Decho("local linux/macos")
+   let ret = substitute(a:base."/".a:subdir,"//","/","g")
+   if a:base =~ '^//'
+    " keeping initial '//' for the benefit of network share listing support
+    let ret= '/'.ret
+   endif
+   let ret= simplify(ret)
+  endif
+
+"  call Dret("s:ComposePath ".ret)
+  return ret
+endfun
+
 " ---------------------------------------------------------------------
 " s:FileReadable: o/s independent filereadable {{{2
 fun! s:FileReadable(fname)
@@ -7134,12 +7188,12 @@ fun! s:GetTempfile(fname)
    let tmpfile= tempname()
 "   call Decho("tmpfile<".tmpfile."> : from tempname()")
 
-   let tmpfile= escape(substitute(tmpfile,'\','/','ge'),g:netrw_tmpfile_escape)
+   let tmpfile= substitute(tmpfile,'\','/','ge')
 "   call Decho("tmpfile<".tmpfile."> : chgd any \\ -> /")
 
    " sanity check -- does the temporary file's directory exist?
    if !isdirectory(substitute(tmpfile,'[^/]\+$','','e'))
-"    call Decho("ro=".&ro." ma=".&ma." mod=".&mod." wrap=".&wrap)
+"    call Decho("ro=".&l:ro." ma=".&l:ma." mod=".&l:mod." wrap=".&l:wrap)
     call netrw#ErrorMsg(s:ERROR,"your <".substitute(tmpfile,'[^/]\+$','','e')."> directory is missing!",2)
 "    call Dret("s:GetTempfile getcwd<".getcwd().">")
     return ""
@@ -7176,7 +7230,6 @@ fun! s:GetTempfile(fname)
     else
      let suffix = substitute(a:fname,'^.*\(\.[^./]\+\)$','\1','e')
     endif
-    let suffix = escape(suffix,g:netrw_tmpfile_escape)
 "    call Decho("suffix<".suffix.">")
     let tmpfile= substitute(tmpfile,'\.tmp$','','e')
 "    call Decho("chgd tmpfile<".tmpfile."> (removed any .tmp suffix)")
@@ -7186,14 +7239,14 @@ fun! s:GetTempfile(fname)
    endif
   endif
 
-"  call Decho("ro=".&ro." ma=".&ma." mod=".&mod." wrap=".&wrap)
+"  call Decho("ro=".&l:ro." ma=".&l:ma." mod=".&l:mod." wrap=".&l:wrap)
 "  call Dret("s:GetTempfile <".tmpfile.">")
   return tmpfile
 endfun
 
 " ---------------------------------------------------------------------
 " s:MakeSshCmd: transforms input command using USEPORT HOSTNAME into {{{2
-"               a correct command
+"               a correct command for use with a system() call
 fun! s:MakeSshCmd(sshcmd)
 "  call Dfunc("s:MakeSshCmd(sshcmd<".a:sshcmd.">) user<".s:user."> machine<".s:machine.">")
   let sshcmd = substitute(a:sshcmd,'\<HOSTNAME\>',s:user.s:machine,'')
@@ -7209,28 +7262,54 @@ fun! s:MakeSshCmd(sshcmd)
 endfun
 
 " ---------------------------------------------------------------------
-" s:RemoteSystem: runs a command on a remote host using ssh {{{2
-"                 Returns status
-fun! s:RemoteSystem(cmd)
-"  call Dfunc("s:RemoteSystem(cmd<".a:cmd.">)")
-  if !executable(g:netrw_ssh_cmd)
-   call netrw#ErrorMsg(s:ERROR,"g:netrw_ssh_cmd<".g:netrw_ssh_cmd."> is not executable!",52)
-  elseif !exists("b:netrw_curdir")
-   call netrw#ErrorMsg(s:ERROR,"for some reason b:netrw_curdir doesn't exist!",53)
-  else
-   let cmd      = s:MakeSshCmd(g:netrw_ssh_cmd." USEPORT HOSTNAME")
-   let remotedir= substitute(b:netrw_curdir,'^.*//[^/]\+/\(.*\)$','\1','')
-   if remotedir != ""
-    let cmd= cmd.' "cd '.shellescape(remotedir).";"
+" s:NetrwBMShow: {{{2
+fun! s:NetrwBMShow()
+"  call Dfunc("s:NetrwBMShow()")
+  redir => bmshowraw
+   menu
+  redir END
+  let bmshowlist = split(bmshowraw,'\n')
+  if bmshowlist != []
+   let bmshowfuncs= filter(bmshowlist,'v:val =~ "<SNR>\\d\\+_BMShow()"')
+   if bmshowfuncs != []
+    let bmshowfunc = substitute(bmshowfuncs[0],'^.*:\(call.*BMShow()\).*$','\1','')
+    if bmshowfunc =~ '^call.*BMShow()'
+     exe "silent! ".bmshowfunc
+    endif
+   endif
+  endif
+"  call Dret("s:NetrwBMShow : bmshowfunc<".(exists("bmshowfunc")? bmshowfunc : 'n/a').">")
+endfun
+
+" ---------------------------------------------------------------------
+" s:NetrwDelete: Deletes a file. {{{2
+"           Uses Steve Hall's idea to insure that Windows paths stay
+"           acceptable.  No effect on Unix paths.
+"  Examples of use:  let result= s:NetrwDelete(path)
+fun! s:NetrwDelete(path)
+"  call Dfunc("s:NetrwDelete(path<".a:path.">)")
+
+  let path = s:WinPath(a:path)
+  if !g:netrw_cygwin && (has("win32") || has("win95") || has("win64") || has("win16"))
+   if exists("+shellslash")
+    let sskeep= &shellslash
+    setlocal noshellslash
+    let result      = delete(path)
+    let &shellslash = sskeep
    else
-    let cmd= cmd.' "'
+"    call Decho("exe let result= ".a:cmd."('".path."')")
+    let result= delete(path)
    endif
-   let cmd= cmd.a:cmd.'"'
-"   call Decho("call system(".cmd.")")
-   let ret= system(cmd)
+  else
+"   call Decho("let result= delete(".path.")")
+   let result= delete(path)
   endif
-"  call Dret("s:RemoteSystem ".ret)
-  return ret
+  if result < 0
+   call Netrw#ErrorMsg(s:WARNING,"delete(".path.") failed!",71)
+  endif
+
+"  call Dret("s:NetrwDelete ".result)
+  return result
 endfun
 
 " ---------------------------------------------------------------------
@@ -7286,7 +7365,7 @@ fun! s:NetrwEnew(curdir)
     nno <silent> <buffer> [    :silent call <SID>TreeListMove('[')<cr>
     nno <silent> <buffer> ]    :silent call <SID>TreeListMove(']')<cr>
    else
-    exe "silent! keepalt file ".b:netrw_curdir
+    exe "silent! keepalt file ".fnameescape(b:netrw_curdir)
    endif
   endif
 
@@ -7294,68 +7373,6 @@ fun! s:NetrwEnew(curdir)
 endfun
 
 " ------------------------------------------------------------------------
-" netrw#NetrwSavePosn: saves position of cursor on screen {{{2
-fun! netrw#NetrwSavePosn()
-"  call Dfunc("netrw#NetrwSavePosn()")
-  " Save current line and column
-  let w:netrw_winnr= winnr()
-  let w:netrw_line = line(".")
-  let w:netrw_col  = virtcol(".")
-
-  " Save top-of-screen line
-  norm! H0
-  let w:netrw_hline= line(".")
-
-  " set up string holding position parameters
-  let ret          = "let w:netrw_winnr=".w:netrw_winnr."|let w:netrw_line=".w:netrw_line."|let w:netrw_col=".w:netrw_col."|let w:netrw_hline=".w:netrw_hline
-
-  call netrw#NetrwRestorePosn()
-"  call Dret("netrw#NetrwSavePosn : winnr=".w:netrw_winnr." line=".w:netrw_line." col=".w:netrw_col." hline=".w:netrw_hline)
-  return ret
-endfun
-
-" ------------------------------------------------------------------------
-" netrw#NetrwRestorePosn: restores the cursor and file position as saved by NetrwSavePosn() {{{2
-fun! netrw#NetrwRestorePosn(...)
-"  call Dfunc("netrw#NetrwRestorePosn() a:0=".a:0." winnr=".(exists("w:netrw_winnr")? w:netrw_winnr : -1)." line=".(exists("w:netrw_line")? w:netrw_line : -1)." col=".(exists("w:netrw_col")? w:netrw_col : -1)." hline=".(exists("w:netrw_hline")? w:netrw_hline : -1))
-  let eikeep= &ei
-  set ei=all
-  if expand("%") == "NetrwMessage"
-   exe s:winBeforeErr."wincmd w"
-  endif
-
-  if a:0 > 0
-   exe a:1
-  endif
-
-  " restore window
-  if exists("w:netrw_winnr")
-"   call Decho("restore window: exe silent! ".w:netrw_winnr."wincmd w")
-   exe "silent! ".w:netrw_winnr."wincmd w"
-  endif
-  if v:shell_error == 0
-   " as suggested by Bram M: redraw on no error
-   " allows protocol error messages to remain visible
-"   redraw!
-  endif
-
-  " restore top-of-screen line
-  if exists("w:netrw_hline")
-"   call Decho("restore topofscreen: exe norm! ".w:netrw_hline."G0z")
-   exe "norm! ".w:netrw_hline."G0z\<CR>"
-  endif
-
-  " restore position
-  if exists("w:netrw_line") && exists("w:netrw_col")
-"   call Decho("restore posn: exe norm! ".w:netrw_line."G0".w:netrw_col."|")
-   exe "norm! ".w:netrw_line."G0".w:netrw_col."\<bar>"
-  endif
-
-  let &ei= eikeep
-"  call Dret("netrw#NetrwRestorePosn")
-endfun
-
-" ---------------------------------------------------------------------
 " s:NetrwSaveWordPosn: used to keep cursor on same word after refresh, {{{2
 " changed sorting, etc.  Also see s:NetrwRestoreWordPosn().
 fun! s:NetrwSaveWordPosn()
@@ -7373,6 +7390,21 @@ fun! s:NetrwRestoreWordPosn()
 "  call Dret("NetrwRestoreWordPosn")
 endfun
 
+" ---------------------------------------------------------------------
+" s:RestoreBufVars: {{{2
+fun! s:RestoreBufVars()
+"  call Dfunc("s:RestoreBufVars()")
+
+  if exists("s:netrw_curdir")        |let b:netrw_curdir         = s:netrw_curdir        |endif
+  if exists("s:netrw_lastfile")      |let b:netrw_lastfile       = s:netrw_lastfile      |endif
+  if exists("s:netrw_method")        |let b:netrw_method         = s:netrw_method        |endif
+  if exists("s:netrw_fname")         |let b:netrw_fname          = s:netrw_fname         |endif
+  if exists("s:netrw_machine")       |let b:netrw_machine        = s:netrw_machine       |endif
+  if exists("s:netrw_browser_active")|let b:netrw_browser_active = s:netrw_browser_active|endif
+
+"  call Dret("s:RestoreBufVars")
+endfun
+
 " ---------------------------------------------------------------------
 " s:RemotePathAnalysis: {{{2
 fun! s:RemotePathAnalysis(dirname)
@@ -7397,18 +7429,31 @@ fun! s:RemotePathAnalysis(dirname)
 endfun
 
 " ---------------------------------------------------------------------
-" s:RestoreBufVars: {{{2
-fun! s:RestoreBufVars()
-"  call Dfunc("s:RestoreBufVars()")
-
-  if exists("s:netrw_curdir")        |let b:netrw_curdir         = s:netrw_curdir        |endif
-  if exists("s:netrw_lastfile")      |let b:netrw_lastfile       = s:netrw_lastfile      |endif
-  if exists("s:netrw_method")        |let b:netrw_method         = s:netrw_method        |endif
-  if exists("s:netrw_fname")         |let b:netrw_fname          = s:netrw_fname         |endif
-  if exists("s:netrw_machine")       |let b:netrw_machine        = s:netrw_machine       |endif
-  if exists("s:netrw_browser_active")|let b:netrw_browser_active = s:netrw_browser_active|endif
-
-"  call Dret("s:RestoreBufVars")
+" s:RemoteSystem: runs a command on a remote host using ssh {{{2
+"                 Returns status
+" Runs system() on
+"    [cd REMOTEDIRPATH;] a:cmd
+" Note that it doesn't do shellescape(a:cmd)!
+fun! s:RemoteSystem(cmd)
+"  call Dfunc("s:RemoteSystem(cmd<".a:cmd.">)")
+  if !executable(g:netrw_ssh_cmd)
+   call netrw#ErrorMsg(s:ERROR,"g:netrw_ssh_cmd<".g:netrw_ssh_cmd."> is not executable!",52)
+  elseif !exists("b:netrw_curdir")
+   call netrw#ErrorMsg(s:ERROR,"for some reason b:netrw_curdir doesn't exist!",53)
+  else
+   let cmd      = s:MakeSshCmd(g:netrw_ssh_cmd." USEPORT HOSTNAME")
+   let remotedir= substitute(b:netrw_curdir,'^.*//[^/]\+/\(.*\)$','\1','')
+   if remotedir != ""
+    let cmd= cmd.' cd '.shellescape(remotedir).";"
+   else
+    let cmd= cmd.' '
+   endif
+   let cmd= cmd.a:cmd
+"   call Decho("call system(".cmd.")")
+   let ret= system(cmd)
+  endif
+"  call Dret("s:RemoteSystem ".ret)
+  return ret
 endfun
 
 " ---------------------------------------------------------------------
@@ -7585,44 +7630,6 @@ fun! s:Strlen(x)
   return ret
 endfun
 
-" ---------------------------------------------------------------------
-" s:System: using Steve Hall's idea to insure that Windows paths stay {{{2
-"              acceptable.  No effect on Unix paths.
-"  Examples of use:  let result= s:System("rm",path)
-"                    let result= s:System("delete",path)
-fun! netrw#System(cmd,path)
-  echomsg s:System(a:cmd,a:path)
-endfun
-fun! s:System(cmd,path)
-"  call Dfunc("s:System(cmd<".a:cmd."> path<".a:path.">)")
-
-  let path = a:path
-  if !g:netrw_cygwin && (has("win32") || has("win95") || has("win64") || has("win16"))
-   " system call prep
-   " remove trailing slash (Win95)
-   let path = substitute(path, '\(\\\|/\)$', '', 'g')
-   " remove escaped spaces
-   let path = substitute(path, '\ ', ' ', 'g')
-   " convert slashes to backslashes
-   let path = substitute(path, '/', '\', 'g')
-   if exists("+shellslash")
-    let sskeep= &shellslash
-    setlocal noshellslash
-    exe "let result= ".a:cmd."('".path."')"
-    let &shellslash = sskeep
-   else
-"    call Decho("exe let result= ".a:cmd."('".path."')")
-    exe "let result= ".a:cmd."('".path."')"
-   endif
-  else
-"   call Decho("exe let result= ".a:cmd."('".path."')")
-   exe "let result= ".a:cmd."('".path."')"
-  endif
-
-"  call Dret("s:System result<".result.">")
-  return result
-endfun
-
 " ---------------------------------------------------------------------
 " s:TreeListMove: {{{2
 fun! s:TreeListMove(dir)
@@ -7679,6 +7686,24 @@ fun! s:TreeListMove(dir)
 "  call Dret("s:TreeListMove")
 endfun
 
+" ---------------------------------------------------------------------
+" s:UpdateBuffersMenu: does emenu Buffers.Refresh (but due to locale, the menu item may not be called that) {{{2
+"                      The Buffers.Refresh menu calls s:BMShow(); unfortunately, that means that that function
+"                      can't be called except via emenu.  But due to locale, that menu line may not be called
+"                      Buffers.Refresh; hence, s:NetrwBMShow() utilizes a "cheat" to call that function anyway.
+fun! s:UpdateBuffersMenu()
+"  call Dfunc("s:UpdateBuffersMenu()")
+  if has("gui") && has("menu") && has("gui_running") && &go =~ 'm'
+   try
+    silent emenu Buffers.Refresh\ menu
+   catch /^Vim\%((\a\+)\)\=:E/
+    let v:errmsg= ""
+    silent call s:NetrwBMShow()
+   endtry
+  endif
+"  call Dret("s:UpdateBuffersMenu")
+endfun
+
 " ---------------------------------------------------------------------
 " s:UseBufWinVars: (used by NetrwBrowse() and LocalBrowseCheck() {{{2
 "              Matching function to BufferWinVars()
@@ -7697,6 +7722,24 @@ fun! s:UseBufWinVars()
 "  call Dret("s:UseBufWinVars")
 endfun
 
+" ---------------------------------------------------------------------
+" s:WinPath: {{{2
+fun! s:WinPath(path)
+"  call Dfunc("s:WinPath(path<".a:path.">)")
+  if !g:netrw_cygwin && (has("win32") || has("win95") || has("win64") || has("win16"))
+   " remove trailing slash (Win95)
+   let path = substitute(a:path, '\(\\\|/\)$', '', 'g')
+   " remove escaped spaces
+   let path = substitute(path, '\ ', ' ', 'g')
+   " convert slashes to backslashes
+   let path = substitute(path, '/', '\', 'g')
+  else
+   let path= a:path
+  endif
+"  call Dret("s:WinPath <".path.">")
+  return path
+endfun
+
 " ---------------------------------------------------------------------
 " Settings Restoration: {{{2
 let &cpo= s:keepcpo
index d6a93624791b9d42dc272de96b62cc00f80bb1b9..c0704d4ef40722c9dfcbd1a36b483511f7b59ecc 100644 (file)
@@ -1,7 +1,7 @@
 " netrwSettings.vim: makes netrw settings simpler
-" Date:                Mar 11, 2008
+" Date:                Jul 02, 2008
 " Maintainer:  Charles E Campbell, Jr <drchipNOSPAM at campbellfamily dot biz>
-" Version:     11
+" Version:     12
 " Copyright:    Copyright (C) 1999-2007 Charles E. Campbell, Jr. {{{1
 "               Permission is hereby granted to use and distribute this code,
 "               with or without modifications, provided that this copyright
@@ -19,7 +19,7 @@
 if exists("g:loaded_netrwSettings") || &cp
   finish
 endif
-let g:loaded_netrwSettings  = "v11"
+let g:loaded_netrwSettings  = "v12"
 
 " ---------------------------------------------------------------------
 " NetrwSettings: {{{1
@@ -82,8 +82,6 @@ fun! netrwSettings#NetrwSettings()
   put = 'let g:netrw_ftpmode           = '.g:netrw_ftpmode
   put = 'let g:netrw_ignorenetrc       = '.g:netrw_ignorenetrc
   put = 'let g:netrw_sshport           = '.g:netrw_sshport
-  let shqline= line("$")
-  put = 'let g:netrw_shq...'
   put = 'let g:netrw_use_nt_rcp        = '.g:netrw_use_nt_rcp
   put = 'let g:netrw_win95ftp          = '.g:netrw_win95ftp
   let s:netrw_xfer_stop= line(".")
@@ -101,8 +99,6 @@ fun! netrwSettings#NetrwSettings()
   else
    put = 'let g:netrw_browsex_viewer    = (not defined)'
   endif
-  let cdescline= line("$")
-  put ='let g:netrw_cd_escape...'
   put = 'let g:netrw_compress          = '.g:netrw_compress
   let decompressline= line("$")
   put ='let g:netrw_decompress...'
@@ -137,6 +133,7 @@ fun! netrwSettings#NetrwSettings()
   put = 'let g:netrw_silent            = '.g:netrw_silent
   put = 'let g:netrw_sort_by           = '.g:netrw_sort_by
   put = 'let g:netrw_sort_direction    = '.g:netrw_sort_direction
+  put = 'let g:netrw_sort_options      = '.g:netrw_sort_options
   put = 'let g:netrw_sort_sequence     = '.g:netrw_sort_sequence
   put = 'let g:netrw_special_syntax    = '.g:netrw_special_syntax
   put = 'let g:netrw_ssh_browse_reject = '.g:netrw_ssh_browse_reject
@@ -159,14 +156,6 @@ fun! netrwSettings#NetrwSettings()
   silent %s/= $/= ''/e
   1
 
-  " Put in g:netrw_shq setting and g:netrw_cd_escape
-  " (deferred so as to avoid the quote manipulation just preceding)
-  if g:netrw_shq == "'"
-   call setline(shqline,      'let g:netrw_shq               = "'.g:netrw_shq.'"')
-  else
-   call setline(shqline,      "let g:netrw_shq               = '".g:netrw_shq."'")
-  endif
-  call setline(cdescline,     "let g:netrw_cd_escape         = ".'"'.escape(g:netrw_cd_escape,'\"').'"')
   call setline(decompressline,"let g:netrw_decompress        = ".substitute(string(g:netrw_decompress),"^'\\(.*\\)'$",'\1',''))
   call setline(fnameescline,  "let g:netrw_fname_escape      = '".escape(g:netrw_fname_escape,"'")."'")
   call setline(globescline,   "let g:netrw_glob_escape       = '".escape(g:netrw_glob_escape,"'")."'")
index 47c77d93d702420e9c8fc985495847567e982160..87e6c9a0fb028ca1a242845d98c06458f77d3b4b 100644 (file)
@@ -301,7 +301,7 @@ class VimRubyCompletion
 
   def get_buffer_entity(name, vimfun)
     loading_allowed = VIM::evaluate("exists('g:rubycomplete_buffer_loading') && g:rubycomplete_buffer_loading")
-    return nil if loading_allowed != '1'
+    return nil if loading_allowed.to_i.zero?
     return nil if /(\"|\')+/.match( name )
     buf = VIM::Buffer.current
     nums = eval( VIM::evaluate( vimfun % name ) )
@@ -368,7 +368,7 @@ class VimRubyCompletion
     # this will be a little expensive.
     loading_allowed = VIM::evaluate("exists('g:rubycomplete_buffer_loading') && g:rubycomplete_buffer_loading")
     allow_aggressive_load = VIM::evaluate("exists('g:rubycomplete_classes_in_global') && g:rubycomplete_classes_in_global")
-    return [] if allow_aggressive_load != '1' || loading_allowed != '1'
+    return [] if allow_aggressive_load.to_i.zero? || loading_allowed.to_i.zero?
 
     buf = VIM::Buffer.current
     eob = buf.length
@@ -401,7 +401,7 @@ class VimRubyCompletion
 
   def load_rails
     allow_rails = VIM::evaluate("exists('g:rubycomplete_rails') && g:rubycomplete_rails")
-    return if allow_rails != '1'
+    return if allow_rails.to_i.zero?
 
     buf_path = VIM::evaluate('expand("%:p")')
     file_name = VIM::evaluate('expand("%:t")')
@@ -461,7 +461,7 @@ class VimRubyCompletion
   def get_rails_helpers
     allow_rails = VIM::evaluate("exists('g:rubycomplete_rails') && g:rubycomplete_rails")
     rails_loaded = VIM::evaluate('s:rubycomplete_rails_loaded')
-    return [] if allow_rails != '1' || rails_loaded != '1'
+    return [] if allow_rails.to_i.zero? || rails_loaded.to_i.zero?
 
     buf_path = VIM::evaluate('expand("%:p")')
     buf_path.gsub!( /\\/, "/" )
@@ -511,7 +511,7 @@ class VimRubyCompletion
   def add_rails_columns( cls )
     allow_rails = VIM::evaluate("exists('g:rubycomplete_rails') && g:rubycomplete_rails")
     rails_loaded = VIM::evaluate('s:rubycomplete_rails_loaded')
-    return [] if allow_rails != '1' || rails_loaded != '1'
+    return [] if allow_rails.to_i.zero? || rails_loaded.to_i.zero?
 
     begin
         eval( "#{cls}.establish_connection" )
@@ -534,7 +534,7 @@ class VimRubyCompletion
   def get_rails_view_methods
     allow_rails = VIM::evaluate("exists('g:rubycomplete_rails') && g:rubycomplete_rails")
     rails_loaded = VIM::evaluate('s:rubycomplete_rails_loaded')
-    return [] if allow_rails != '1' || rails_loaded != '1'
+    return [] if allow_rails.to_i.zero? || rails_loaded.to_i.zero?
 
     buf_path = VIM::evaluate('expand("%:p")')
     buf_path.gsub!( /\\/, "/" )
@@ -580,7 +580,7 @@ class VimRubyCompletion
 
   def get_completions(base)
     loading_allowed = VIM::evaluate("exists('g:rubycomplete_buffer_loading') && g:rubycomplete_buffer_loading")
-    if loading_allowed == '1'
+    if loading_allowed.to_i == 1
       load_requires
       load_rails
     end
index 35ef7fd253a172871593ca2720344b04a2433f84..b1529d60fa13fa532a453e7a426f94587f2a5b60 100644 (file)
@@ -1,7 +1,7 @@
 " tar.vim: Handles browsing tarfiles
 "            AUTOLOAD PORTION
-" Date:                        Jun 12, 2008
-" Version:             16
+" Date:                        Jul 12, 2008
+" Version:             19 + changes by Bram
 " Maintainer:  Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
 " License:             Vim License  (see vim's :help license)
 "
@@ -24,7 +24,7 @@ set cpo&vim
 if &cp || exists("g:loaded_tar") || v:version < 700
  finish
 endif
-let g:loaded_tar= "v16"
+let g:loaded_tar= "v19+b"
 "call Decho("loading autoload/tar.vim")
 if v:version < 701 || (v:version == 701 && !has("patch299"))
  echoerr "(autoload/tar.vim) need vim v7.1 with patchlevel 299"
@@ -130,21 +130,21 @@ fun! tar#Browse(tarfile)
   let tarfile= a:tarfile
   if has("win32") && executable("cygpath")
    " assuming cygwin
-   let tarfile=substitute(system("cygpath -u ".s:Escape(tarfile)),'\n$','','e')
+   let tarfile=substitute(system("cygpath -u ".s:Escape(tarfile,0)),'\n$','','e')
   endif
   let curlast= line("$")
   if tarfile =~# '\.\(gz\|tgz\)$'
-"   call Decho("1: exe silent r! gzip -d -c ".s:Escape(tarfile)." | ".g:tar_cmd." -".g:tar_browseoptions." - ")
-   exe "silent r! gzip -d -c -- ".s:Escape(tarfile)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
+"   call Decho("1: exe silent r! gzip -d -c ".s:Escape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - ")
+   exe "silent r! gzip -d -c -- ".s:Escape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
   elseif tarfile =~# '\.lrp'
-"   call Decho("2: exe silent r! cat -- ".s:Escape(tarfile)."|gzip -d -c -|".g:tar_cmd." -".g:tar_browseoptions." - ")
-   exe "silent r! cat -- ".s:Escape(tarfile)."|gzip -d -c -|".g:tar_cmd." -".g:tar_browseoptions." - "
+"   call Decho("2: exe silent r! cat -- ".s:Escape(tarfile,1)."|gzip -d -c -|".g:tar_cmd." -".g:tar_browseoptions." - ")
+   exe "silent r! cat -- ".s:Escape(tarfile,1)."|gzip -d -c -|".g:tar_cmd." -".g:tar_browseoptions." - "
   elseif tarfile =~# '\.bz2$'
-"   call Decho("3: exe silent r! bzip2 -d -c ".s:Escape(tarfile)." | ".g:tar_cmd." -".g:tar_browseoptions." - ")
-   exe "silent r! bzip2 -d -c -- ".s:Escape(tarfile)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
+"   call Decho("3: exe silent r! bzip2 -d -c ".s:Escape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - ")
+   exe "silent r! bzip2 -d -c -- ".s:Escape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
   else
-"   call Decho("4: exe silent r! ".g:tar_cmd." -".g:tar_browseoptions." ".s:Escape(tarfile))
-   exe "silent r! ".g:tar_cmd." -".g:tar_browseoptions." ".s:Escape(tarfile)
+"   call Decho("4: exe silent r! ".g:tar_cmd." -".g:tar_browseoptions." ".s:Escape(tarfile,0))
+   exe "silent r! ".g:tar_cmd." -".g:tar_browseoptions." ".s:Escape(tarfile,1)
   endif
   if v:shell_error != 0
    redraw!
@@ -160,7 +160,7 @@ fun! tar#Browse(tarfile)
    silent %d
    let eikeep= &ei
    set ei=BufReadCmd,FileReadCmd
-   exe "r ".a:tarfile
+   exe "r ".fnameescape(a:tarfile)
    let &ei= eikeep
    1d
 "   call Dret("tar#Browse : a:tarfile<".a:tarfile.">")
@@ -195,7 +195,7 @@ fun! s:TarBrowseSelect()
   let curfile= expand("%")
   if has("win32") && executable("cygpath")
    " assuming cygwin
-   let tarfile=substitute(system("cygpath -u ".s:Escape(tarfile)),'\n$','','e')
+   let tarfile=substitute(system("cygpath -u ".s:Escape(tarfile,0)),'\n$','','e')
   endif
 
   new
@@ -220,7 +220,7 @@ fun! tar#Read(fname,mode)
   let fname   = substitute(a:fname,'tarfile:.\{-}::\(.*\)$','\1','')
   if has("win32") && executable("cygpath")
    " assuming cygwin
-   let tarfile=substitute(system("cygpath -u ".s:Escape(tarfile)),'\n$','','e')
+   let tarfile=substitute(system("cygpath -u ".s:Escape(tarfile,0)),'\n$','','e')
   endif
 "  call Decho("tarfile<".tarfile.">")
 "  call Decho("fname<".fname.">")
@@ -240,17 +240,17 @@ fun! tar#Read(fname,mode)
   endif
 
   if tarfile =~# '\.\(gz\|tgz\)$'
-"   call Decho("5: exe silent r! gzip -d -c -- ".s:Escape(tarfile)."| ".g:tar_cmd.' -'.g:tar_readoptions.' - '.s:Escape(fname))
-   exe "silent r! gzip -d -c -- ".s:Escape(tarfile)."| ".g:tar_cmd." -".g:tar_readoptions." - ".s:Escape(fname).decmp
+"   call Decho("5: exe silent r! gzip -d -c -- ".s:Escape(tarfile,1)."| ".g:tar_cmd.' -'.g:tar_readoptions.' - '.s:Escape(fname,1))
+   exe "silent r! gzip -d -c -- ".s:Escape(tarfile,1)."| ".g:tar_cmd." -".g:tar_readoptions." - ".s:Escape(fname,1).decmp
   elseif tarfile =~# '\.lrp$'
-"   call Decho("6: exe silent r! cat ".s:Escape(tarfile)." | gzip -d -c - | ".g:tar_cmd." -".g:tar_readoptions." - ".s:Escape(fname).decmp)
-   exe "silent r! cat -- ".s:Escape(tarfile)." | gzip -d -c - | ".g:tar_cmd." -".g:tar_readoptions." - ".s:Escape(fname).decmp
+"   call Decho("6: exe silent r! cat ".s:Escape(tarfile,1)." | gzip -d -c - | ".g:tar_cmd." -".g:tar_readoptions." - ".s:Escape(fname,1).decmp)
+   exe "silent r! cat -- ".s:Escape(tarfile,1)." | gzip -d -c - | ".g:tar_cmd." -".g:tar_readoptions." - ".s:Escape(fname,1).decmp
   elseif tarfile =~# '\.bz2$'
-"   call Decho("7: exe silent r! bzip2 -d -c ".s:Escape(tarfile)."| ".g:tar_cmd." -".g:tar_readoptions." - ".s:Escape(fname).decmp)
-   exe "silent r! bzip2 -d -c -- ".s:Escape(tarfile)."| ".g:tar_cmd." -".g:tar_readoptions." - ".s:Escape(fname).decmp
+"   call Decho("7: exe silent r! bzip2 -d -c ".s:Escape(tarfile,1)."| ".g:tar_cmd." -".g:tar_readoptions." - ".s:Escape(fname,1).decmp)
+   exe "silent r! bzip2 -d -c -- ".s:Escape(tarfile,1)."| ".g:tar_cmd." -".g:tar_readoptions." - ".s:Escape(fname,1).decmp
   else
-"   call Decho("8: exe silent r! ".g:tar_cmd." -".g:tar_readoptions." -- ".s:Escape(tarfile)." ".s:Escape(fname))
-   exe "silent r! ".g:tar_cmd." -".g:tar_readoptions." ".s:Escape(tarfile)." -- ".s:Escape(fname).decmp
+"   call Decho("8: exe silent r! ".g:tar_cmd." -".g:tar_readoptions." -- ".s:Escape(tarfile,1)." ".s:Escape(fname,1))
+   exe "silent r! ".g:tar_cmd." -".g:tar_readoptions." ".s:Escape(tarfile,1)." -- ".s:Escape(fname,1).decmp
   endif
 
   if doro
@@ -259,7 +259,7 @@ fun! tar#Read(fname,mode)
   endif
 
   let w:tarfile= a:fname
-  exe "file tarfile::".fname
+  exe "file tarfile::".fnameescape(fname)
 
   " cleanup
   0d
@@ -329,18 +329,18 @@ fun! tar#Write(fname)
 
   " handle compressed archives
   if tarfile =~# '\.gz'
-   call system("gzip -d -- ".tarfile)
+   call system("gzip -d -- ".s:Escape(tarfile,0))
    let tarfile = substitute(tarfile,'\.gz','','e')
-   let compress= "gzip ".s:Escape(tarfile)
+   let compress= "gzip ".s:Escape(tarfile,0)
   elseif tarfile =~# '\.tgz'
-   call system("gzip -d -- ".s:Escape(tarfile))
+   call system("gzip -d -- ".s:Escape(tarfile,0))
    let tarfile = substitute(tarfile,'\.tgz','.tar','e')
-   let compress= "gzip -- ".s:Escape(tarfile)
+   let compress= "gzip -- ".s:Escape(tarfile,0)
    let tgz     = 1
   elseif tarfile =~# '\.bz2'
-   call system("bzip2 -d -- ".s:Escape(tarfile))
+   call system("bzip2 -d -- ".s:Escape(tarfile,0))
    let tarfile = substitute(tarfile,'\.bz2','','e')
-   let compress= "bzip2 -- ".s:Escape(tarfile)
+   let compress= "bzip2 -- ".s:Escape(tarfile,0)
   endif
 "  call Decho("tarfile<".tarfile.">")
 "  call Decho("compress<".compress.">")
@@ -356,7 +356,7 @@ fun! tar#Write(fname)
    if fname =~ '/'
     let dirpath = substitute(fname,'/[^/]\+$','','e')
     if executable("cygpath")
-     let dirpath = substitute(system("cygpath ".dirpath),'\n','','e')
+     let dirpath = substitute(system("cygpath ".s:Escape(dirpath, 0)),'\n','','e')
     endif
     call mkdir(dirpath,"p")
    endif
@@ -367,12 +367,12 @@ fun! tar#Write(fname)
  
    exe "w! ".fnameescape(fname)
    if executable("cygpath")
-    let tarfile = substitute(system("cygpath ".s:Escape(tarfile)),'\n','','e')
+    let tarfile = substitute(system("cygpath ".s:Escape(tarfile,0)),'\n','','e')
    endif
  
    " delete old file from tarfile
-"   call Decho("system(tar --delete -f ".s:Escape(tarfile)." -- ".s:Escape(fname).")")
-   call system("tar --delete -f ".s:Escape(tarfile)." -- ".s:Escape(fname))
+"   call Decho("system(tar --delete -f ".s:Escape(tarfile,0)." -- ".s:Escape(fname,0).")")
+   call system("tar --delete -f ".s:Escape(tarfile,0)." -- ".s:Escape(fname,0))
    if v:shell_error != 0
     redraw!
     echohl Error | echo "***error*** (tar#Write) sorry, unable to update ".fnameescape(tarfile)." with ".fnameescape(fname) | echohl None
@@ -380,8 +380,8 @@ fun! tar#Write(fname)
    else
  
     " update tarfile with new file 
-"    call Decho("tar -".g:tar_writeoptions." ".s:Escape(tarfile)." -- ".s:Escape(fname))
-    call system("tar -".g:tar_writeoptions." ".s:Escape(tarfile)." -- ".s:Escape(fname))
+"    call Decho("tar -".g:tar_writeoptions." ".s:Escape(tarfile,0)." -- ".s:Escape(fname,0))
+    call system("tar -".g:tar_writeoptions." ".s:Escape(tarfile,0)." -- ".s:Escape(fname,0))
     if v:shell_error != 0
      redraw!
      echohl Error | echo "***error*** (tar#Write) sorry, unable to update ".fnameescape(tarfile)." with ".fnameescape(fname) | echohl None
@@ -404,7 +404,7 @@ fun! tar#Write(fname)
     let binkeep= &binary
     let eikeep = &ei
     set binary ei=all
-    exe "e! ".tarfile
+    exe "e! ".fnameescape(tarfile)
     call netrw#NetWrite(tblfile)
     let &ei     = eikeep
     let &binary = binkeep
@@ -416,7 +416,7 @@ fun! tar#Write(fname)
   " cleanup and restore current directory
   cd ..
   call s:Rmdir("_ZIPVIM_")
-  exe "cd ".escape(curdir,' \')
+  exe "cd ".fnameescape(curdir)
   setlocal nomod
 
   let &report= repkeep
@@ -428,12 +428,12 @@ endfun
 fun! s:Rmdir(fname)
 "  call Dfunc("Rmdir(fname<".a:fname.">)")
   if has("unix")
-   call system("/bin/rm -rf -- ".s:Escape(a:fname))
+   call system("/bin/rm -rf -- ".s:Escape(a:fname,0))
   elseif has("win32") || has("win95") || has("win64") || has("win16")
    if &shell =~? "sh$"
-    call system("/bin/rm -rf -- ".s:Escape(a:fname))
+    call system("/bin/rm -rf -- ".s:Escape(a:fname,0))
    else
-    call system("del /S ".s:Escape(a:fname))
+    call system("del /S ".s:Escape(a:fname,0))
    endif
   endif
 "  call Dret("Rmdir")
@@ -441,10 +441,14 @@ endfun
 
 " ---------------------------------------------------------------------
 " s:Escape: {{{2
-fun s:Escape(name)
+fun s:Escape(name,isfilt)
   " shellescape() was added by patch 7.0.111
   if exists("*shellescape")
-   let qnameq= shellescape(a:name)
+   if a:isfilt
+    let qnameq= shellescape(a:name,1)
+   else
+    let qnameq= shellescape(a:name)
+   endif
   else
    let qnameq= g:tar_shq . a:name . g:tar_shq
   endif
index 5842741b79bc862a9bc05ea86b86e96fc7e0295a..b35a411d729ac831e6c93ec40e3abe29138eeec3 100644 (file)
@@ -1,7 +1,7 @@
 " zip.vim: Handles browsing zipfiles
 "            AUTOLOAD PORTION
-" Date:                Jun 12, 2008
-" Version:     18
+" Date:                Jul 12, 2008
+" Version:     21 (modified by Bram)
 " Maintainer:  Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
 " License:     Vim License  (see vim's :help license)
 " Copyright:    Copyright (C) 2005-2008 Charles E. Campbell, Jr. {{{1
@@ -22,7 +22,7 @@ if &cp || exists("g:loaded_zip") || v:version < 700
  finish
 endif
 
-let g:loaded_zip     = "v18"
+let g:loaded_zip     = "v21+b"
 let s:zipfile_escape = ' ?&;\'
 let s:ERROR          = 2
 let s:WARNING        = 1
@@ -91,23 +91,24 @@ fun! zip#Browse(zipfile)
   set ft=tar
 
   " give header
-  exe "$put ='".'\"'." zip.vim version ".g:loaded_zip."'"
-  exe "$put ='".'\"'." Browsing zipfile ".a:zipfile."'"
-  exe "$put ='".'\"'." Select a file with cursor and press ENTER"."'"
+  let lastline= line("$")
+  call setline(lastline+1,'" zip.vim version '.g:loaded_zip)
+  call setline(lastline+2,'" Browsing zipfile '.a:zipfile)
+  call setline(lastline+3,'" Select a file with cursor and press ENTER')
   $put =''
   0d
   $
 
-"  call Decho("exe silent r! ".g:zip_unzipcmd." -l ".s:QuoteFileDir(a:zipfile))
-  exe "silent r! ".g:zip_unzipcmd." -l ".s:QuoteFileDir(a:zipfile)
+"  call Decho("exe silent r! ".g:zip_unzipcmd." -l ".s:Escape(a:zipfile,1))
+  exe "silent r! ".g:zip_unzipcmd." -l ".s:Escape(a:zipfile,1)
   if v:shell_error != 0
    redraw!
-   echohl WarningMsg | echo "***warning*** (zip#Browse) ".a:zipfile." is not a zip file" | echohl None
+   echohl WarningMsg | echo "***warning*** (zip#Browse) ".fnameescape(a:zipfile)." is not a zip file" | echohl None
 "   call inputsave()|call input("Press <cr> to continue")|call inputrestore()
    silent %d
    let eikeep= &ei
    set ei=BufReadCmd,FileReadCmd
-   exe "r ".a:zipfile
+   exe "r ".fnameescape(a:zipfile)
    let &ei= eikeep
    1d
 "   call Dret("zip#Browse")
@@ -166,8 +167,8 @@ fun! s:ZipBrowseSelect()
    wincmd _
   endif
   let s:zipfile_{winnr()}= curfile
-"  call Decho("exe e zipfile:".escape(zipfile,s:zipfile_escape).'::'.escape(fname,s:zipfile_escape))
-  exe "e zipfile:".escape(zipfile,s:zipfile_escape).'::'.escape(fname,s:zipfile_escape)
+"  call Decho("exe e ".fnameescape("zipfile:".zipfile.'::'.fname))
+  exe "e ".fnameescape("zipfile:".zipfile.'::'.fname)
   filetype detect
 
   let &report= repkeep
@@ -192,8 +193,8 @@ fun! zip#Read(fname,mode)
 "  call Decho("zipfile<".zipfile.">")
 "  call Decho("fname  <".fname.">")
 
-"  call Decho("exe r! ".g:zip_unzipcmd." -p ".s:QuoteFileDir(zipfile)." ".s:QuoteFileDir(fname))
-  exe "silent r! ".g:zip_unzipcmd." -p ".s:QuoteFileDir(zipfile)." ".s:QuoteFileDir(fname)
+"  call Decho("exe r! ".g:zip_unzipcmd." -p ".s:Escape(zipfile,1)." ".s:Escape(fname,1))
+  exe "silent r! ".g:zip_unzipcmd." -p ".s:Escape(zipfile,1)." ".s:Escape(fname,1)
 
   " cleanup
   0d
@@ -266,7 +267,7 @@ fun! zip#Write(fname)
   if fname =~ '/'
    let dirpath = substitute(fname,'/[^/]\+$','','e')
    if executable("cygpath")
-    let dirpath = substitute(system("cygpath ".dirpath),'\n','','e')
+    let dirpath = substitute(system("cygpath ".s:Escape(dirpath,0)),'\n','','e')
    endif
 "   call Decho("mkdir(dirpath<".dirpath.">,p)")
    call mkdir(dirpath,"p")
@@ -276,17 +277,17 @@ fun! zip#Write(fname)
   endif
 "  call Decho("zipfile<".zipfile."> fname<".fname.">")
 
-  exe "w! ".escape(fname,s:zipfile_escape)
+  exe "w! ".fnameescape(fname)
   if executable("cygpath")
-   let zipfile = substitute(system("cygpath ".zipfile),'\n','','e')
+   let zipfile = substitute(system("cygpath ".s:Escape(zipfile,0)),'\n','','e')
   endif
 
   if (has("win32") || has("win95") || has("win64") || has("win16")) && &shell !~? 'sh$'
     let fname = substitute(fname, '[', '[[]', 'g')
   endif
 
-"  call Decho(g:zip_zipcmd." -u ".s:QuoteFileDir(zipfile)." ".s:QuoteFileDir(fname))
-  call system(g:zip_zipcmd." -u ".s:QuoteFileDir(zipfile)." ".s:QuoteFileDir(fname))
+"  call Decho(g:zip_zipcmd." -u ".s:Escape(zipfile,0)." ".s:Escape(fname,0))
+  call system(g:zip_zipcmd." -u ".s:Escape(zipfile,0)." ".s:Escape(fname,0))
   if v:shell_error != 0
    redraw!
    echohl Error | echo "***error*** (zip#Write) sorry, unable to update ".zipfile." with ".fname | echohl None
@@ -300,7 +301,7 @@ fun! zip#Write(fname)
    let binkeep= &binary
    let eikeep = &ei
    set binary ei=all
-   exe "e! ".zipfile
+   exe "e! ".fnameescape(zipfile)
    call netrw#NetWrite(netzipfile)
    let &ei     = eikeep
    let &binary = binkeep
@@ -320,11 +321,15 @@ fun! zip#Write(fname)
 endfun
 
 " ---------------------------------------------------------------------
-" QuoteFileDir: {{{2
-fun! s:QuoteFileDir(fname)
-"  call Dfunc("QuoteFileDir(fname<".a:fname.">)")
-  if has("*shellescape")
-   let qnameq= shellescape(a:fname)
+" s:Escape: {{{2
+fun! s:Escape(fname,isfilt)
+"  call Dfunc("QuoteFileDir(fname<".a:fname."> isfilt=".a:isfilt.")")
+  if exists("*shellescape")
+   if a:isfilt
+    let qnameq= shellescape(a:fname,1)
+   else
+    let qnameq= shellescape(a:fname)
+   endif
   else
    let qnameq= g:zip_shq.escape(a:fname,g:zip_shq).g:zip_shq
   endif
@@ -337,14 +342,9 @@ endfun
 fun! s:ChgDir(newdir,errlvl,errmsg)
 "  call Dfunc("ChgDir(newdir<".a:newdir."> errlvl=".a:errlvl."  errmsg<".a:errmsg.">)")
 
-  if (has("win32") || has("win95") || has("win64") || has("win16")) && &shell !~? 'sh$'
-   let newdir= escape(a:newdir,' ')
-  else
-   let newdir= escape(a:newdir,'\ ')
-  endif
 
   try
-   exe "cd ".newdir
+   exe "cd ".fnameescape(newdir)
   catch /^Vim\%((\a\+)\)\=:E344/
    redraw!
    if a:errlvl == s:NOTE
@@ -364,13 +364,13 @@ fun! s:ChgDir(newdir,errlvl,errmsg)
 endfun
 
 " ---------------------------------------------------------------------
-" Rmdir: {{{2
+" s:Rmdir: {{{2
 fun! s:Rmdir(fname)
 "  call Dfunc("Rmdir(fname<".a:fname.">)")
   if (has("win32") || has("win95") || has("win64") || has("win16")) && &shell !~? 'sh$'
-   call system("rmdir /S/Q ".s:QuoteFileDir(a:fname))
+   call system("rmdir /S/Q ".s:Escape(a:fname,0))
   else
-   call system("/bin/rm -rf ".s:QuoteFileDir(a:fname))
+   call system("/bin/rm -rf ".s:Escape(a:fname,0))
   endif
 "  call Dret("Rmdir")
 endfun
index 1b09d390f306b373072ee8a21e1f7bb62c423104..4c777fe7e011b975e9018575f0be066b38846943 100644 (file)
@@ -3,14 +3,15 @@
 "     Language: Ada (Dec Ada)
 "          $Id$
 "    Copyright: Copyright (C) 2006 Martin Krischik
-"   Maintainer:        Martin Krischik
+"   Maintainer:        Martin Krischik <krischik@users.sourceforge.net>
 "      $Author$
 "        $Date$
-"      Version: 4.2
+"      Version: 4.6
 "    $Revision$
-"     $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/compiler/decada.vim $
+"     $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/compiler/decada.vim $
 "      History: 21.07.2006 MK New Dec Ada
 "               15.10.2006 MK Bram's suggestion for runtime integration
+"               08.09.2006 MK Correct double load protection.
 "    Help Page: compiler-decada
 "------------------------------------------------------------------------------
 
@@ -24,6 +25,13 @@ let current_compiler = "decada"
 
 if !exists("g:decada")
    let g:decada = decada#New ()
+
+   call ada#Map_Menu (
+     \'Dec Ada.Build',
+     \'<F7>',
+     \'call decada.Make ()')
+
+   call g:decada.Set_Session ()
 endif
 
 if exists(":CompilerSet") != 2
@@ -33,16 +41,9 @@ if exists(":CompilerSet") != 2
    command -nargs=* CompilerSet setlocal <args>
 endif
 
-call g:decada.Set_Session ()
-
 execute "CompilerSet makeprg="     . escape (g:decada.Make_Command, ' ')
 execute "CompilerSet errorformat=" . escape (g:decada.Error_Format, ' ')
 
-call ada#Map_Menu (
-  \'Dec Ada.Build',
-  \'<F7>',
-  \'call decada.Make ()')
-
 finish " 1}}}
 
 "------------------------------------------------------------------------------
index f30fcc3b87f7adab052f2cec1406ee03d2a640d0..44194f5c94dfefbdd0b24afa979d23a911ab8b88 100644 (file)
@@ -38,4 +38,4 @@ CompilerSet errorformat=
 let &cpo = s:cpo_save
 unlet s:cpo_save
 
-" vim: nowrap sw=2 sts=2:
+" vim: nowrap sw=2 sts=2 ts=8:
index 58e9ce8311632d3092cddcd383778d31a764f58e..ad1697a061c23ae10398e639ed90ffcfeb3e3b62 100644 (file)
@@ -3,15 +3,17 @@
 "     Language: Ada (GNAT)
 "          $Id$
 "    Copyright: Copyright (C) 2006 Martin Krischik
-"   Maintainer:        Martin Krischik
+"   Maintainer:        Martin Krischi <krischik@users.sourceforge.net>k
+"              Ned Okie <nokie@radford.edu>
 "      $Author$
 "        $Date$
-"      Version: 4.2
+"      Version: 4.6
 "    $Revision$
-"     $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/compiler/gnat.vim $
+"     $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/compiler/gnat.vim $
 "      History: 24.05.2006 MK Unified Headers
 "              16.07.2006 MK Ada-Mode as vim-ball
 "               15.10.2006 MK Bram's suggestion for runtime integration
+"              19.09.2007 NO use project file only when there is a project
 "    Help Page: compiler-gnat
 "------------------------------------------------------------------------------
 
@@ -46,6 +48,8 @@ if !exists("g:gnat")
       \ 'GNAT.Set Projectfile\.\.\.',
       \ ':SetProject',
       \ 'call gnat.Set_Project_File ()')
+
+   call g:gnat.Set_Session ()
 endif
 
 if exists(":CompilerSet") != 2
@@ -55,8 +59,6 @@ if exists(":CompilerSet") != 2
    command -nargs=* CompilerSet setlocal <args>
 endif
 
-call g:gnat.Set_Session ()
-
 execute "CompilerSet makeprg="     . escape (g:gnat.Get_Command('Make'), ' ')
 execute "CompilerSet errorformat=" . escape (g:gnat.Error_Format, ' ')
 
diff --git a/runtime/compiler/rspec.vim b/runtime/compiler/rspec.vim
new file mode 100644 (file)
index 0000000..19c410f
--- /dev/null
@@ -0,0 +1,41 @@
+" Vim compiler file
+" Language:            RSpec
+" Maintainer:          Tim Pope <vimNOSPAM@tpope.info>
+" Info:                        $Id$
+" URL:                 http://vim-ruby.rubyforge.org
+" Anon CVS:            See above site
+" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
+
+if exists("current_compiler")
+  finish
+endif
+let current_compiler = "rspec"
+
+if exists(":CompilerSet") != 2         " older Vim always used :setlocal
+  command -nargs=* CompilerSet setlocal <args>
+endif
+
+let s:cpo_save = &cpo
+set cpo-=C
+
+CompilerSet makeprg=spec
+
+CompilerSet errorformat=
+    \%+W'%.%#'\ FAILED,
+    \%+I'%.%#'\ FIXED,
+    \%-Cexpected:%.%#,
+    \%-C\ \ \ \ \ got:%.%#,
+    \%E%.%#:in\ `load':\ %f:%l:%m,
+    \%C%f:%l:,
+    \%W%f:%l:\ warning:\ %m,
+    \%E%f:%l:in\ %*[^:]:\ %m,
+    \%E%f:%l:\ %m,
+    \%-Z%\tfrom\ %f:%l,
+    \%-Z%p^%.%#,
+    \%-C%.%#,
+    \%-G%.%#
+
+let &cpo = s:cpo_save
+unlet s:cpo_save
+
+" vim: nowrap sw=2 sts=2 ts=8:
index 9445f2e09a4aa73538ab057bc7fd8439ee93fed5..dc8e9b173f4865c93de58a4b0b0ac7a1a4ebd8eb 100644 (file)
@@ -1,4 +1,4 @@
-*arabic.txt*   For Vim version 7.2a.  Last change: 2005 Mar 29
+*arabic.txt*   For Vim version 7.2b.  Last change: 2005 Mar 29
 
 
                  VIM REFERENCE MANUAL    by Nadim Shaikli
index 80032e038a63a043c6e3edf73a41c093b8c64760..e892f4c49762156ddd92dde51548422508da6b2a 100644 (file)
@@ -1,4 +1,4 @@
-*autocmd.txt*   For Vim version 7.2a.  Last change: 2008 Jun 24
+*autocmd.txt*   For Vim version 7.2b.  Last change: 2008 Jun 27
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -406,9 +406,10 @@ BufWinEnter                        After a buffer is displayed in a window.  This
                                Does not happen for |:split| without
                                arguments, since you keep editing the same
                                buffer, or ":split" with a file that's already
-                               open in a window.  But it does happen for
-                               a ":split" with the name of the current
-                               buffer, since it reloads that buffer.
+                               open in a window, because it re-uses an
+                               existing buffer.  But it does happen for a
+                               ":split" with the name of the current buffer,
+                               since it reloads that buffer.
                                                        *BufWinLeave*
 BufWinLeave                    Before a buffer is removed from a window.
                                Not when it's still visible in another window.
index 24cf3fe9c06c6258054f1e6247f55178671e81bd..65af5fc1c3727410704914951a27ec0ef341d03b 100644 (file)
@@ -1,4 +1,4 @@
-*change.txt*    For Vim version 7.2a.  Last change: 2008 Jun 22
+*change.txt*    For Vim version 7.2b.  Last change: 2008 Jul 09
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -772,9 +772,9 @@ expression.  This does not work recursively: a substitute() function inside
 the expression cannot use "\=" for the substitute string.
 
 The special meaning for characters as mentioned at |sub-replace-special| does
-not apply except "<CR>", "\<CR>" and "\\".  Thus in the result of the
-expression you need to use two backslashes get one, put a backslash before a
-<CR> you want to insert and use a <CR> without a backslash where you want to
+not apply except for "<CR>", "\<CR>" and "\\".  Thus in the result of the
+expression you need to use two backslashes to get one, put a backslash before a
+<CR> you want to insert, and use a <CR> without a backslash where you want to
 break the line.
 
 For convenience a <NL> character is also used as a line break.  Prepend a
@@ -797,7 +797,7 @@ Examples: >
 This replaces an end-of-line with a new line containing the value of $HOME. >
 
        s/E/\="\<Char-0x20ac>"/g
-This replaces 'E' characters with an euro sign. Read more in |<Char->|.
+This replaces each 'E' character with a euro sign.  Read more in |<Char->|.
 
 
 4.3 Search and replace                                 *search-replace*
index bc6bbd74db96b334fd43bdc3612fdb5b801acbf6..8f577c87ac43d6f68b520c9e11f2cac1d4e0a5a5 100644 (file)
@@ -1,4 +1,4 @@
-*cmdline.txt*   For Vim version 7.2a.  Last change: 2008 Jun 21
+*cmdline.txt*   For Vim version 7.2b.  Last change: 2008 Jul 11
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -369,7 +369,9 @@ word before the cursor.  This is available for:
 - Variable and function names: Only after a ":if", ":call" or similar command.
 
 When Vim was compiled with the |+cmdline_compl| feature disabled, only file
-names, directories and help items can be completed.
+names, directories and help items can be completed.  The number of help item
+matches is limited (currently to 300) to avoid a long delay when there are
+very many matches.
 
 These are the commands that can be used:
 
index 0e83ec715163732bd800941988a6942236a3ca5c..1eb20afbfbc79b618b6f73f5f2efa62c4a18d3a6 100644 (file)
@@ -1,4 +1,4 @@
-*debug.txt*     For Vim version 7.2a.  Last change: 2006 May 01
+*debug.txt*     For Vim version 7.2b.  Last change: 2006 May 01
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 0a152a61d5eedbf68d3168dd7370d1e03e12f9e6..ea9858a7d176760eadf9a32ba190a9c1b835abd4 100644 (file)
@@ -1,4 +1,4 @@
-*debugger.txt*  For Vim version 7.2a.  Last change: 2005 Mar 29
+*debugger.txt*  For Vim version 7.2b.  Last change: 2005 Mar 29
 
 
                  VIM REFERENCE MANUAL    by Gordon Prieur
index 67adcb8f94de7c473c67b38ea1a755100c005674..85bf1c577a933a860166fc960f8afc4c0110bf41 100644 (file)
@@ -1,4 +1,4 @@
-*develop.txt*   For Vim version 7.2a.  Last change: 2007 May 11
+*develop.txt*   For Vim version 7.2b.  Last change: 2007 May 11
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 1adef600c66b1eba4f8be6e49886470abdc4e112..379f6a6be4869ca2147486810e1fda794d59985d 100644 (file)
@@ -1,4 +1,4 @@
-*diff.txt*      For Vim version 7.2a.  Last change: 2006 Oct 02
+*diff.txt*      For Vim version 7.2b.  Last change: 2006 Oct 02
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index f5b5ce74229f1960be1baa0590784a148048dafb..b15651d79428a9663eb324f8609c6335856aefa3 100644 (file)
@@ -1,4 +1,4 @@
-*digraph.txt*   For Vim version 7.2a.  Last change: 2007 Sep 10
+*digraph.txt*   For Vim version 7.2b.  Last change: 2007 Sep 10
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 2ef3f96bcfb533cae1e09372912e45a5bd8ea421..65a11344c9385cc260440fc3f0b81f37e6b1463c 100644 (file)
@@ -1,4 +1,4 @@
-*editing.txt*   For Vim version 7.2a.  Last change: 2008 Apr 29
+*editing.txt*   For Vim version 7.2b.  Last change: 2008 Jul 05
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -302,9 +302,9 @@ CTRL-^                      Edit the alternate file (equivalent to ":e #").
                        Uses the 'isfname' option to find out which characters
                        are supposed to be in a file name.  Trailing
                        punctuation characters ".,:;!" are ignored.
-                       Uses the 'path' option as a list of directory names
-                       to look for the file.  Also looks for the file
-                       relative to the current file.
+                       Uses the 'path' option as a list of directory names to
+                       look for the file.  See the 'path' option for details
+                       about relative directories and wildcards.
                        Uses the 'suffixesadd' option to check for file names
                        with a suffix added.
                        If the file can't be found, 'includeexpr' is used to
@@ -367,13 +367,13 @@ current file name.
 Besides the things mentioned here, more special items for where a filename is
 expected are mentioned at |cmdline-special|.
 
-Note for systems other than Unix and MS-DOS: When using a command that
-accepts a single file name (like ":edit file") spaces in the file name are
-allowed, but trailing spaces are ignored.  This is useful on systems that
-allow file names with embedded spaces (like MS-Windows and the Amiga).
-Example: The command ":e   Long File Name " will edit the file "Long File
-Name".  When using a command that accepts more than one file name (like ":next
-file1 file2") embedded spaces must be escaped with a backslash.
+Note for systems other than Unix: When using a command that accepts a single
+file name (like ":edit file") spaces in the file name are allowed, but
+trailing spaces are ignored.  This is useful on systems that regularly embed
+spaces in file names (like MS-Windows and the Amiga).  Example: The command
+":e   Long File Name " will edit the file "Long File Name".  When using a
+command that accepts more than one file name (like ":next file1 file2")
+embedded spaces must be escaped with a backslash.
 
                                                *wildcard* *wildcards*
 Wildcards in {file} are expanded.  Which wildcards are supported depends on
@@ -391,6 +391,8 @@ is to use "path\[[]abc]".  Then the file "path[abc]" literally.
                                        *starstar-wildcard*
 Expanding "**" is possible on Unix, Win32, Mac OS/X and a few other systems.
 This allows searching a directory tree.  This goes up to 100 directories deep.
+Note there are some commands where this works slightly different, see
+|file-searching|.
 Example: >
        :n **/*.txt
 Finds files:
@@ -1476,14 +1478,16 @@ problem goes away the next day.
 {not available when compiled without the |+path_extra| feature}
 
 The file searching is currently used for the 'path', 'cdpath' and 'tags'
-options, for |finddir()| and |findfile()|.
+options, for |finddir()| and |findfile()|.  Other commands use |wildcards|
+which is slightly different.
 
 There are three different types of searching:
 
 1) Downward search:                                    *starstar*
    Downward search uses the wildcards '*', '**' and possibly others
-   supported by your operating system.  '*' and '**' are handled inside Vim, so
-   they work on all operating systems.
+   supported by your operating system.  '*' and '**' are handled inside Vim,
+   so they work on all operating systems.  Note that "**" only acts as a
+   special wildcard when it is at the start of a name.
 
    The usage of '*' is quite simple: It matches 0 or more characters.  In a
    search pattern this would be ".*".  Note that the "." is not used for file
@@ -1491,8 +1495,8 @@ There are three different types of searching:
 
    '**' is more sophisticated:
       - It ONLY matches directories.
-      - It matches up to 30 directories deep, so you can use it to search an
-       entire directory tree
+      - It matches up to 30 directories deep by default, so you can use it to
+       search an entire directory tree
       - The maximum number of levels matched can be given by appending a number
        to '**'.
        Thus '/usr/**2' can match: >
@@ -1505,15 +1509,16 @@ There are three different types of searching:
                ....
 <      It does NOT match '/usr/include/g++/std' as this would be three
        levels.
-       The allowed number range is 0 ('**0' is removed) to 255.
+       The allowed number range is 0 ('**0' is removed) to 100
        If the given number is smaller than 0 it defaults to 30, if it's
-       bigger than 255 then 255 is used.
+       bigger than 100 then 100 is used.  The system also has a limit on the
+       path length, usually 256 or 1024 bytes.
       - '**' can only be at the end of the path or be followed by a path
        separator or by a number and a path separator.
 
    You can combine '*' and '**' in any order: >
        /usr/**/sys/*
-       /usr/*/sys/**
+       /usr/*tory/sys/**
        /usr/**2/sys/*
 
 2) Upward search:
index 6fd0ae1715e0e8342e4f658f4594720ffcb8d278..20fa361da812dc881945d3f06938c0dc45fdb8f1 100644 (file)
@@ -1,4 +1,4 @@
-*eval.txt*     For Vim version 7.2a.  Last change: 2008 Jun 24
+*eval.txt*     For Vim version 7.2b.  Last change: 2008 Jul 09
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -2524,9 +2524,15 @@ exists({expr})   The result is a Number, which is non-zero if {expr} is
                                        |internal-variables|).  Also works
                                        for |curly-braces-names|, |Dictionary|
                                        entries, |List| items, etc.  Beware
-                                       that this may cause functions to be
-                                       invoked cause an error message for an
-                                       invalid expression.
+                                       that evaluating an index may cause an
+                                       error message for an invalid
+                                       expression.  E.g.: >
+                                          :let l = [1, 2, 3]
+                                          :echo exists("l[5]")
+<                                         0 >
+                                          :echo exists("l[xx]")
+<                                         E121: Undefined variable: xx
+                                          0
                        :cmdname        Ex command: built-in command, user
                                        command or command modifier |:command|.
                                        Returns:
@@ -2945,6 +2951,8 @@ getbufvar({expr}, {varname})                              *getbufvar()*
                The result is the value of option or local buffer variable
                {varname} in buffer {expr}.  Note that the name without "b:"
                must be used.
+               When {varname} is empty returns a dictionary with all the
+               buffer-local variables.
                This also works for a global or buffer-local option, but it
                doesn't work for a global variable, window-local variable or
                window-local option.
@@ -3296,7 +3304,9 @@ globpath({path}, {expr})                          *globpath()*
                For example, to find all "README.txt" files in the directories
                in 'runtimepath' and below: >
                        :echo globpath(&rtp, "**/README.txt")
-<
+<              Upwards search and limiting the depth of "**" is not
+               supported, thus using 'path' will not always work properly.
+
                                                        *has()*
 has({feature}) The result is a Number, which is 1 if the feature {feature} is
                supported, zero otherwise.  The {feature} argument is a
@@ -3361,13 +3371,13 @@ histdel({history} [, {item}])                           *histdel()*
                Clear {history}, i.e. delete all its entries.  See |hist-names|
                for the possible values of {history}.
 
-               If the parameter {item} is given as String, this is seen
-               as regular expression.  All entries matching that expression
-               will be removed from the history (if there are any).
+               If the parameter {item} evaluates to a String, it is used as a
+               regular expression.  All entries matching that expression will
+               be removed from the history (if there are any).
                Upper/lowercase must match, unless "\c" is used |/\c|.
-               If {item} is a Number, it will be interpreted as index, see
-               |:history-indexing|.  The respective entry will be removed
-               if it exists.
+               If {item} evaluates to a Number, it will be interpreted as
+               an index, see |:history-indexing|.  The respective entry will
+               be removed if it exists.
 
                The result is a Number: 1 for a successful operation,
                otherwise 0 is returned.
@@ -4278,9 +4288,11 @@ printf({fmt}, {expr1} ...)                               *printf()*
                %       A '%' is written.  No argument is converted.  The
                        complete conversion specification is "%%".
 
-               Each argument can be Number or String and is converted
-               automatically to fit the conversion specifier.  Any other
-               argument type results in an error message.
+               When a Number argument is expected a String argument is also
+               accepted and automatically converted.
+               When a Float or String argument is expected a Number argument
+               is also accepted and automatically converted.
+               Any other argument type results in an error message.
 
                                                        *E766* *E767*
                The number of {exprN} arguments must exactly match the number
@@ -4506,7 +4518,7 @@ reverse({list})   Reverse the order of items in {list} in-place.  Returns
                        :let revlist = reverse(copy(mylist))
 
 round({expr})                                                  *round()*
-               Round off {expr} to the nearest integral value and return it
+               Round off {expr} to the nearest integral value and return it
                as a |Float|.  If {expr} lies halfway between two integral
                values, then use the larger one (away from zero).
                {expr} must evaluate to a |Float| or a |Number|.
@@ -5098,6 +5110,7 @@ sqrt({expr})                                              *sqrt()*
 <                      10.0 >
                        :echo sqrt(-4.01)
 <                      nan
+               "nan" may be different, it depends on system libraries.
                {only available when compiled with the |+float| feature}
                
 
@@ -5484,7 +5497,7 @@ tr({src}, {fromstr}, {tostr})                             *tr()*
 <              returns "{blob}"
 
 trunc({expr})                                                  *trunc()*
-               Return the largest integral value with magnituted less than or
+               Return the largest integral value with magnitude less than or
                equal to {expr} as a |Float| (truncate towards zero).
                {expr} must evaluate to a |Float| or a |Number|.
                Examples: >
@@ -6394,6 +6407,11 @@ This would call the function "my_func_whizz(parameter)".
 <                      One item from a |Dictionary| can be removed at a time: >
                                :unlet dict['two']
                                :unlet dict.two
+<                      This is especially useful to clean up used global
+                       variables and script-local variables (these are not
+                       deleted when the script ends).  Function-local
+                       variables are automatically deleted when the function
+                       ends.
 
 :lockv[ar][!] [depth] {name} ...                       *:lockvar* *:lockv*
                        Lock the internal variable {name}.  Locking means that
index f489a7a06ffd55d96db6ddf5c9bf9fee910f77ac..5a42e439f1b20954f573c90aa3570803d77d52a6 100644 (file)
@@ -1,4 +1,4 @@
-*farsi.txt*     For Vim version 7.2a.  Last change: 2005 Mar 29
+*farsi.txt*     For Vim version 7.2b.  Last change: 2005 Mar 29
 
 
                  VIM REFERENCE MANUAL    by Mortaza Ghassab Shiran
index db3fe4e5e909443218f92a259e666bdf1577933f..4bff42d5b0b7a2be072a2c8725ffe37a89384b64 100644 (file)
@@ -1,4 +1,4 @@
-*filetype.txt*  For Vim version 7.2a.  Last change: 2008 Jun 21
+*filetype.txt*  For Vim version 7.2b.  Last change: 2008 Jun 27
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -55,7 +55,7 @@ filetype prepend "ft-" and optionally append "-syntax", "-indent" or
 
 If the file type is not detected automatically, or it finds the wrong type,
 you can either set the 'filetype' option manually, or add a modeline to your
-file.  Example, for in an IDL file use the command: >
+file.  Example, for an IDL file use the command: >
        :set filetype=idl
 
 or add this |modeline| to the file:
@@ -284,8 +284,8 @@ match in angle brackets in place of a pattern, like this: >
 
 This will match:
 
-- Any file whose name ends in `.html'
-- Any file whose type is `&faf' or 'HTML', where the meaning of these types
+- Any file whose name ends in ".html"
+- Any file whose type is "&faf" or "HTML", where the meaning of these types
   depends on which version of Vim you are using.
   Unknown types are considered NOT to match.
 
@@ -294,7 +294,7 @@ must both match): >
 
        :au BufRead <&fff>diff*
 
-This will match files of type `&fff' whose names start with `diff'.
+This will match files of type "&fff" whose names start with "diff".
 
 Note that osfiletype checking is skipped if Vim is compiled without the
 |+osfiletype| feature.
index c8140939803bf6c25a62de7275f38554babbab29..8a8d800e670ca11b51e6b5849fe85066eb17fade 100644 (file)
@@ -1,4 +1,4 @@
-*fold.txt*      For Vim version 7.2a.  Last change: 2007 May 11
+*fold.txt*      For Vim version 7.2b.  Last change: 2007 May 11
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index bec0f78fbf2bb9d8cc60cf54f22b0e9d920ffe12..621d58342ba2149555f50506277f327833c3be96 100644 (file)
@@ -1,4 +1,4 @@
-*ft_ada.txt*   For Vim version 7.2a.  Last change: 2008 Jun 21
+*ft_ada.txt*   For Vim version 7.2b.  Last change: 2008 Jun 21
 
 
                    ADA FILE TYPE PLUG-INS REFERENCE MANUAL~
index 7946c4f7021d52465a4e3b0eb565b0176f3d93ee..8d236a10e5f943932b2c442a53d341b924e353e5 100644 (file)
@@ -1,4 +1,4 @@
-*ft_sql.txt*   For Vim version 7.2a.  Last change: Wed Apr 26 2006 3:05:33 PM
+*ft_sql.txt*   For Vim version 7.2b.  Last change: Wed Apr 26 2006 3:05:33 PM
 
 by David Fishburn
 
index d191bb09805a41e58b33c9f55212923a7232426d..58123b1e9daf40e5b8baf5092c7021223703a5dd 100644 (file)
@@ -1,4 +1,4 @@
-*gui.txt*       For Vim version 7.2a.  Last change: 2008 Jun 14
+*gui.txt*       For Vim version 7.2b.  Last change: 2008 Jun 14
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 954e138d9dfbac6c6713bd1f09dada9c89d71f71..db1f8311038ba2e356d2782e3a6c810c9ce6220e 100644 (file)
@@ -1,4 +1,4 @@
-*gui_w16.txt*   For Vim version 7.2a.  Last change: 2005 Mar 29
+*gui_w16.txt*   For Vim version 7.2b.  Last change: 2005 Mar 29
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 78d696e0c1aec916f7eba38f9b0fe13944daf9fb..85b910f5bf8f5ceaca4142de25b338292f1a7ba6 100644 (file)
@@ -1,4 +1,4 @@
-*gui_w32.txt*   For Vim version 7.2a.  Last change: 2007 Aug 30
+*gui_w32.txt*   For Vim version 7.2b.  Last change: 2007 Aug 30
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -129,7 +129,7 @@ the makefile by double clicking it and use the "Edit with Vim" entry to edit
 the makefile.
 
 You can select any files and right-click to see a menu option called "Edit
-with gvim".  Chosing this menu option will invoke gvim with the file you have
+with gvim".  Choosing this menu option will invoke gvim with the file you have
 selected.  If you select multiple files, you will find two gvim-related menu
 options:
 "Edit with multiple gvims"  -- one gvim for each file in the selection
index 457d2ccfabaa8dbf372446e411256cdf93100961..ff848564d7c27986dd2f776bc94cbcd4ba7c1bf2 100644 (file)
@@ -1,4 +1,4 @@
-*gui_x11.txt*   For Vim version 7.2a.  Last change: 2007 Dec 09
+*gui_x11.txt*   For Vim version 7.2b.  Last change: 2007 Dec 09
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index f1fa3b3dc0011c5e1dfa8b392d43fa191abffeb2..29a828a745b57c7d19b0ef884e3f4a7fb1eca287 100644 (file)
@@ -1,4 +1,4 @@
-*hangulin.txt*  For Vim version 7.2a.  Last change: 2006 Apr 02
+*hangulin.txt*  For Vim version 7.2b.  Last change: 2006 Apr 02
 
 
                  VIM REFERENCE MANUAL    by Chi-Deok Hwang and Sung-Hyun Nam
index 600f27718813c885e14dc7b21a1abb200d454d76..d28c33d631e664bb8f2937a66c56a30ecc083fbc 100644 (file)
@@ -1,4 +1,4 @@
-*hebrew.txt*    For Vim version 7.2a.  Last change: 2007 Jun 14
+*hebrew.txt*    For Vim version 7.2b.  Last change: 2007 Jun 14
 
 
           VIM REFERENCE MANUAL    by Ron Aaron (and Avner Lottem)
index 5cad2bf2024e31dff04d8bd21ce36bd28405d5a8..e81dd3a4e2d63798320afeffba979b8cc64ef6d3 100644 (file)
@@ -1,4 +1,4 @@
-*help.txt*     For Vim version 7.2a.  Last change: 2008 Jun 21
+*help.txt*     For Vim version 7.2b.  Last change: 2008 Jun 21
 
                        VIM - main help file
                                                                         k
index 3ad8f4fdd049b17dacd8d9cc45ec0bc5e80568af..fbad7beb99c5477b05c3cf63b817660de1eb4383 100644 (file)
@@ -1,4 +1,4 @@
-*howto.txt*    For Vim version 7.2a.  Last change: 2006 Apr 02
+*howto.txt*    For Vim version 7.2b.  Last change: 2006 Apr 02
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 744806214293caaa3192699cb6a000b306ad251a..97bb4b12a5f64afd2e027761ed687321da26c99e 100644 (file)
@@ -1,4 +1,4 @@
-*if_cscop.txt*  For Vim version 7.2a.  Last change: 2005 Mar 29
+*if_cscop.txt*  For Vim version 7.2b.  Last change: 2005 Mar 29
 
 
                  VIM REFERENCE MANUAL    by Andy Kahn
index dd538accc2fde780bc07242683a71dfa82b0b3ff..559c43966914a7be9a7eb1b737db46f51a1f7b11 100644 (file)
@@ -1,4 +1,4 @@
-*if_mzsch.txt*  For Vim version 7.2a.  Last change: 2007 May 03
+*if_mzsch.txt*  For Vim version 7.2b.  Last change: 2008 Jun 28
 
 
                  VIM REFERENCE MANUAL    by Sergey Khorev
@@ -55,7 +55,7 @@ In the case of :mzscheme, the code to execute is in the command-line.
 In the case of :mzfile, the code to execute is the contents of the given file.
 
 Each buffer has its own MzScheme namespace. Global namespace is bound to
-the `global-namespace' value from the 'vimext' module.
+the "global-namespace" value from the 'vimext' module.
 MzScheme interface defines exception exn:vim, derived from exn.
 It is raised for various Vim errors.
 
@@ -218,7 +218,7 @@ Buffers                                                      *mzscheme-buffer*
                                    {linenr}. If {linenr} is 0, lines will be
                                    inserted at start.
     (curr-buff)                            Get the current buffer. Use procedures
-                                   from `vimcmd' module to change it.
+                                   from "vimcmd" module to change it.
     (buff-count)                   Get count of total buffers in the editor.
     (get-next-buff [buffer])       Get next buffer.
     (get-prev-buff [buffer])       Get previous buffer. Return #f when there
index 08b4c492dc2ca7ab8660223c044fdab5b48dc885..d1a306342748f0824318e3b694df2b75bfeb55a3 100644 (file)
@@ -1,4 +1,4 @@
-*if_ole.txt*    For Vim version 7.2a.  Last change: 2007 May 10
+*if_ole.txt*    For Vim version 7.2b.  Last change: 2007 May 10
 
 
                  VIM REFERENCE MANUAL    by Paul Moore
index 675ed37f2d72e92d66d9d988f13ccb9d8fa3b1a1..97e99b988db3cdb76df048667afbf7b82bf4063b 100644 (file)
@@ -1,4 +1,4 @@
-*if_perl.txt*   For Vim version 7.2a.  Last change: 2006 Mar 06
+*if_perl.txt*   For Vim version 7.2b.  Last change: 2006 Mar 06
 
 
                  VIM REFERENCE MANUAL    by Sven Verdoolaege
index f8b0f868323973e3001de44dca2806ce614c1c17..efdc37ef064cd840b1b2b1aa8302c9437066540e 100644 (file)
@@ -1,4 +1,4 @@
-*if_pyth.txt*   For Vim version 7.2a.  Last change: 2006 Apr 30
+*if_pyth.txt*   For Vim version 7.2b.  Last change: 2006 Apr 30
 
 
                  VIM REFERENCE MANUAL    by Paul Moore
index c381a6342a5ecb97b054ecc70965f8054720718d..6de1f10dac9404187ff47f0d51ae3d4df3d4a57c 100644 (file)
@@ -1,4 +1,4 @@
-*if_ruby.txt*   For Vim version 7.2a.  Last change: 2006 Apr 30
+*if_ruby.txt*   For Vim version 7.2b.  Last change: 2006 Apr 30
 
 
                  VIM REFERENCE MANUAL    by Shugo Maeda
index 956895d9b2d9ffc1c350ced4cc22937f15f9e3e1..3129c140d41120e54a8050e6cecdfbd5667dee8a 100644 (file)
@@ -1,4 +1,4 @@
-*if_sniff.txt* For Vim version 7.2a.  Last change: 2005 Mar 29
+*if_sniff.txt* For Vim version 7.2b.  Last change: 2005 Mar 29
 
 
                  VIM REFERENCE MANUAL
index 344592b3ba1ee2c166f4e768f9de02c66e6b871d..a9f5af78acad2767df0468c91e1df7cb0b5ba176 100644 (file)
@@ -1,4 +1,4 @@
-*if_tcl.txt*    For Vim version 7.2a.  Last change: 2006 Mar 06
+*if_tcl.txt*    For Vim version 7.2b.  Last change: 2008 Jun 26
 
 
                  VIM REFERENCE MANUAL    by Ingo Wilken
@@ -407,7 +407,7 @@ Options:
 <      See |tcl-window-cmds| for the available options.
 
        $buf command [-quiet] {cmd}                     *tcl-buffer-command*
-       $buf expr {exr}                                 *tcl-buffer-expr*
+       $buf expr {expr}                                *tcl-buffer-expr*
        $buf option {opt} [val]                         *tcl-buffer-option*
        These are similar to "::vim::command" etc., except that everything is
        done in the context of the buffer represented by $buf, instead of the
index 8e5b7a397251b69802f02c6c57677e531fd992ab..542e03d7b239f4910baada222c6ad12b985fcc1c 100644 (file)
@@ -1,4 +1,4 @@
-*indent.txt*    For Vim version 7.2a.  Last change: 2008 Jun 21
+*indent.txt*    For Vim version 7.2b.  Last change: 2008 Jun 30
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -506,6 +506,81 @@ to get do loops indented in .f90 files and left alone in Fortran files with
 other extensions such as .for.
 
 
+PHP                            *ft-php-indent* *php-indent* *php-indenting*
+
+NOTE:  PHP files will be indented correctly only if PHP |syntax| is active.
+
+If you are editing a file in Unix 'fileformat' and '\r' characters are present
+before new lines, indentation won't proceed correctly ; you have to remove
+those useless characters first with a command like: >
+
+    :%s /\r$//g
+
+Or, you can simply |:let| the variable PHP_removeCRwhenUnix to 1 and the
+script will silently remove them when Vim loads a PHP file (at each|BufRead|).
+
+OPTIONS: ~
+
+PHP indenting can be altered in several ways by modifying the values of some
+variables:
+
+                                                               *php-comment*
+To not enable auto-formating of comments by default (if you want to use your
+own 'formatoptions'): >
+    :let g:PHP_autoformatcomment = 0
+
+Else, 't' will be removed from the 'formatoptions' string and "qrowcb" will be
+added, see|fo-table|for more information.
+-------------
+
+To add an extra indent to every PHP lines with N being the number of
+'shiftwidth' to add: >
+    :let g:PHP_default_indenting = N
+
+For example, with N = 1, this will give:
+>
+    <?php
+       if (!isset($History_lst_sel))
+           if (!isset($History_lst_sel))
+               if (!isset($History_lst_sel)) {
+                   $History_lst_sel=0;
+               } else
+                   $foo="bar";
+
+       $command_hist = TRUE;
+    ?>
+(Notice the extra indent between the PHP container markers and the code)
+-------------
+
+To automatically remove '\r' characters when the 'fileformat' is set to Unix: >
+    :let g:PHP_removeCRwhenUnix = 1
+-------------
+
+To indent braces at the same level than the code they contain: >
+    :let g:PHP_BracesAtCodeLevel = 1
+    
+This will give the following result: >
+    if ($foo)
+       {
+       foo();
+       }
+Instead of: >
+    if ($foo)
+    {
+       foo();
+    }
+
+NOTE:  Indenting will be a bit slower if this option is used because some
+       optimizations won't be available.
+-------------
+
+To indent 'case:' and 'default:' statements in switch() blocks: >
+    :let g:PHP_vintage_case_default_indent = 1
+
+(By default they are indented at the same level than the 'switch()' to avoid
+unnecessary indentation)
+
+
 PYTHON                                                 *ft-python-indent*
 
 The amount of indent can be set for the following situations.  The examples
index f494328df36486713104b421b1a200de7e1087d6..35f50447828fae269946c9ea8e8874aab15ba1a7 100644 (file)
@@ -1,4 +1,4 @@
-*index.txt*     For Vim version 7.2a.  Last change: 2008 May 04
+*index.txt*     For Vim version 7.2b.  Last change: 2008 May 04
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index db0ba0e650105bc4e9b5c60b221160b4d2ea793d..6752ba60e17c34080df9f085272df7b6d6093648 100644 (file)
@@ -1,4 +1,4 @@
-*insert.txt*    For Vim version 7.2a.  Last change: 2008 Jun 21
+*insert.txt*    For Vim version 7.2b.  Last change: 2008 Jun 21
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index b830c57a04cf9f5d003282a8f6932fc0e5aa1810..ac750eee7cad5f2720b7a731a376fb24c37e273c 100644 (file)
@@ -1,4 +1,4 @@
-*intro.txt*     For Vim version 7.2a.  Last change: 2008 Jun 24
+*intro.txt*     For Vim version 7.2b.  Last change: 2008 Jun 24
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -208,7 +208,7 @@ Vim would never have become what it is now, without the help of these people!
        Bill Foster             Athena GUI port
        Google                  Lets me work on Vim one day a week
        Loic Grenie             xvim (ideas for multi windows version)
-       Sven Guckes             Vim promotor and previous WWW page maintainer
+       Sven Guckes             Vim promoter and previous WWW page maintainer
        Darren Hiebert          Exuberant ctags
        Jason Hildebrand        GTK+ 2 port
        Bruce Hunsaker          improvements for VMS port
index 41b96151cbf31d79bf686abc0b61c578b9003c7e..131e1bdf0dffc6899598a2d5386e9afa882c7107 100644 (file)
@@ -1,4 +1,4 @@
-*map.txt*       For Vim version 7.2a.  Last change: 2008 Jun 21
+*map.txt*       For Vim version 7.2b.  Last change: 2008 Jul 09
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -162,8 +162,8 @@ be used in any order.  They must appear right after the command, before any
 other arguments.
 
                                *:map-local* *:map-<buffer>* *E224* *E225*
-If the first argument to one of these commands is "<buffer>" it will apply to
-mappings locally to the current buffer only.  Example: >
+If the first argument to one of these commands is "<buffer>" the mapping will
+be effective in the current buffer only.  Example: >
        :map <buffer>  ,w  /[.,;]<CR>
 Then you can map ",w" to something else in another buffer: >
        :map <buffer>  ,w  /[#&!]<CR>
index 4eabcf790a4e3eac36ff2b544841ba25b22008ba..60445d14d8ea43cf465c960f4cde2919927025d1 100644 (file)
@@ -1,4 +1,4 @@
-*mbyte.txt*     For Vim version 7.2a.  Last change: 2008 Jun 21
+*mbyte.txt*     For Vim version 7.2b.  Last change: 2008 Jun 21
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar et al.
index 9f8bbfb906837ad4c89f7938a76c3c4a6f995809..4731a71b0babe966382839279c7cd5a780c4b887 100644 (file)
@@ -1,4 +1,4 @@
-*message.txt*   For Vim version 7.2a.  Last change: 2007 Aug 19
+*message.txt*   For Vim version 7.2b.  Last change: 2007 Aug 19
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 2e94d85d6b3c8b19ad1b65ff83c59d5c77c9fe23..d214c27ae90120c91e294be9804d7015d84e2518 100644 (file)
@@ -1,4 +1,4 @@
-*mlang.txt*     For Vim version 7.2a.  Last change: 2008 Jun 08
+*mlang.txt*     For Vim version 7.2b.  Last change: 2008 Jun 08
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index cdeb4f92a987ac2536a4d741d42b78b68a185c53..c1b8d38c52514d4637efd9781c7f1a5fbdd7ef92 100644 (file)
@@ -1,4 +1,4 @@
-*motion.txt*    For Vim version 7.2a.  Last change: 2008 May 02
+*motion.txt*    For Vim version 7.2b.  Last change: 2008 May 02
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 3539111666ba53902366a951327702f1ceb83540..b8074c780c021c9291c99708eca984c60f9abb21 100644 (file)
@@ -1,4 +1,4 @@
-*netbeans.txt*  For Vim version 7.2a.  Last change: 2008 Jun 22
+*netbeans.txt*  For Vim version 7.2b.  Last change: 2008 Jun 28
 
 
                  VIM REFERENCE MANUAL    by Gordon Prieur et al.
@@ -69,7 +69,7 @@ Initially just a Java IDE, NetBeans has had C, C++, and Fortran support added
 in recent releases.
 
 For more information visit the main NetBeans web site http://www.netbeans.org.
-The External Editor is now, unfortunately, declared Obsolte.  See
+The External Editor is now, unfortunately, declared obsolete.  See
  http://externaleditor.netbeans.org.
 
 Sun Microsystems, Inc. also ships NetBeans under the name Sun ONE Studio.
@@ -418,7 +418,7 @@ moveAnnoToFront serNum
                Not implemented.
 
 netbeansBuffer isNetbeansBuffer
-               If "isNetbeansBuffer" is "T" then this buffer is ``owned'' by
+               If "isNetbeansBuffer" is "T" then this buffer is "owned" by
                NetBeans.
                New in version 2.2.
 
index 568dab6839311b351451b58a15f0c5924172fa00..22c04196ac8648717ab994b47f21e1d75dcc4b66 100644 (file)
@@ -1,4 +1,4 @@
-*options.txt*  For Vim version 7.2a.  Last change: 2008 Jun 24
+*options.txt*  For Vim version 7.2b.  Last change: 2008 Jul 05
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -1280,7 +1280,8 @@ A jump table for the options with a short description can be found at |Q_op|.
                        |+file_in_path| feature}
        This is a list of directories which will be searched when using the
        |:cd| and |:lcd| commands, provided that the directory being searched
-       for has a relative path (not starting with "/", "./" or "../").
+       for has a relative path, not an absolute part starting with "/", "./"
+       or "../", the 'cdpath' option is not used then.
        The 'cdpath' option's value has the same form and semantics as
        |'path'|.  Also see |file-searching|.
        The default value is taken from $CDPATH, with a "," prepended to look
@@ -5011,9 +5012,10 @@ A jump table for the options with a short description can be found at |Q_op|.
                        global or local to buffer |global-local|
                        {not in Vi}
        This is a list of directories which will be searched when using the
-       |gf|, [f, ]f, ^Wf, |:find| and other commands, provided that the file
-       being searched for has a relative path (not starting with '/').  The
-       directories in the 'path' option may be relative or absolute.
+       |gf|, [f, ]f, ^Wf, |:find|, |:sfind|, |:tabfind| and other commands,
+       provided that the file being searched for has a relative path (not
+       starting with "/", "./" or "../").  The directories in the 'path'
+       option may be relative or absolute.
        - Use commas to separate directory names: >
                :set path=.,/usr/local/include,/usr/include
 <      - Spaces can also be used to separate directory names (for backwards
@@ -5032,19 +5034,8 @@ A jump table for the options with a short description can be found at |Q_op|.
        - Environment variables are expanded |:set_env|.
        - When using |netrw.vim| URLs can be used.  For example, adding
          "http://www.vim.org" will make ":find index.html" work.
-       - Search upwards and downwards in a directory tree:
-         1) "*" matches a sequence of characters, e.g.: >
-               :set path=/usr/include/*
-<           means all subdirectories in /usr/include (but not /usr/include
-            itself). >
-               :set path=/usr/*c
-<           matches /usr/doc and /usr/src.
-         2) "**" matches a subtree, up to 100 directories deep.  Example: >
-               :set path=/home/user_x/src/**
-<           means search in the whole subtree under "/home/usr_x/src".
-         3) If the path ends with a ';', this path is the startpoint
-            for upward search.
-         See |file-searching| for more info and exact syntax.
+       - Search upwards and downwards in a directory tree using "*", "**" and
+         ";".  See |file-searching| for info and syntax.
          {not available when compiled without the |+path_extra| feature}
        - Careful with '\' characters, type two to get one in the option: >
                :set path=.,c:\\include
index 9c7c0dcc7ee8fd55ecb5f88a4ffa11d71deddcc6..59074a6907bcaaae1f4648c0f6f57258fc2489a2 100644 (file)
@@ -1,4 +1,4 @@
-*os_390.txt*    For Vim version 7.2a.  Last change: 2005 Mar 29
+*os_390.txt*    For Vim version 7.2b.  Last change: 2005 Mar 29
 
 
                  VIM REFERENCE MANUAL    by Ralf Schandl
index 3f2647f318237163ff30078c94b694d01412ff78..1e21121e70d86719501100a2259fb49da629d7f8 100644 (file)
@@ -1,4 +1,4 @@
-*os_amiga.txt*  For Vim version 7.2a.  Last change: 2005 Mar 29
+*os_amiga.txt*  For Vim version 7.2b.  Last change: 2005 Mar 29
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 6ad3a5019ea2a93a30075067a7f70b5ce4079db0..c7bbf372ff952e40a0181e910775b139007397db 100644 (file)
@@ -1,4 +1,4 @@
-*os_beos.txt*  For Vim version 7.2a.  Last change: 2005 Mar 29
+*os_beos.txt*  For Vim version 7.2b.  Last change: 2005 Mar 29
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 2156f65e80687cb07ef7e60bd1e4421596a99747..e4cfb70779fab4bb58c0184a8a598dc20b1cf9b9 100644 (file)
@@ -1,4 +1,4 @@
-*os_dos.txt*    For Vim version 7.2a.  Last change: 2006 Mar 30
+*os_dos.txt*    For Vim version 7.2b.  Last change: 2006 Mar 30
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 7c88f9e4db909798fff2dd48512a0071cef5bbce..68dbcfb7b71e26f1c11b4f4d8118e4c3858fd01c 100644 (file)
@@ -1,4 +1,4 @@
-*os_mac.txt*    For Vim version 7.2a.  Last change: 2006 Apr 30
+*os_mac.txt*    For Vim version 7.2b.  Last change: 2006 Apr 30
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar et al.
index bda358603e139098ad9ba1d7e9322a1bb8efb208..1afd335f956507cbbf4a8de37d0a3e850ce3f820 100644 (file)
@@ -1,4 +1,4 @@
-*os_mint.txt*   For Vim version 7.2a.  Last change: 2005 Mar 29
+*os_mint.txt*   For Vim version 7.2b.  Last change: 2005 Mar 29
 
 
                  VIM REFERENCE MANUAL    by Jens M. Felderhoff
index 6aa8072489f2659fa3ea85bc133761d0d75e3a41..a9fd7bed4f4e7c5779f3c7cba9096f3309f0d720 100644 (file)
@@ -1,4 +1,4 @@
-*os_msdos.txt*  For Vim version 7.2a.  Last change: 2005 Mar 29
+*os_msdos.txt*  For Vim version 7.2b.  Last change: 2005 Mar 29
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 1374346c11add94406b38ea91d002fe8d266f30f..fbae5f96b081c15f4b4351b886d173a9c8cd0704 100644 (file)
@@ -1,4 +1,4 @@
-*os_os2.txt*    For Vim version 7.2a.  Last change: 2007 Apr 22
+*os_os2.txt*    For Vim version 7.2b.  Last change: 2007 Apr 22
 
 
                  VIM REFERENCE MANUAL    by Paul Slootman
index 6d15e5157ff79e1d70107c6df2dfad21a1d732d0..c199a97517552f06e34b2856300f3fed74b22512 100644 (file)
@@ -1,4 +1,4 @@
-*os_qnx.txt*    For Vim version 7.2a.  Last change: 2005 Mar 29
+*os_qnx.txt*    For Vim version 7.2b.  Last change: 2005 Mar 29
 
 
                  VIM REFERENCE MANUAL    by Julian Kinraid
index 0f6d2bba176d58c3c835a459ab565aad38c8f508..e7fb8061389acd1a942775277f18da2d0fbd0476 100644 (file)
@@ -1,4 +1,4 @@
-*os_risc.txt*   For Vim version 7.2a.  Last change: 2005 Mar 29
+*os_risc.txt*   For Vim version 7.2b.  Last change: 2008 Jun 28
 
 
                  VIM REFERENCE MANUAL    by Thomas Leonard
@@ -7,7 +7,7 @@
                                                *riscos* *RISCOS* *RISC-OS*
 This file contains the particularities for the RISC OS version of Vim.
 
-The RISC OS port is a completely new port and is not based on the old `archi'
+The RISC OS port is a completely new port and is not based on the old "archi"
 port.
 
 1.  File locations             |riscos-locations|
@@ -46,7 +46,7 @@ run the command-line versions of Vim (see |riscos-commandline|).
 distribution, but modified slightly to work within the limits of ADFS, plus
 some extra files such as the window templates.
 
-User choices are read from `Choices:*' and are saved to `<Choices$Write>.*'.
+User choices are read from "Choices:*" and are saved to "<Choices$Write>.*".
 If you have the new !Boot structure then these should be set up already.  If
 not, set Choices$Path to a list of directories to search when looking for
 user configuration files.  Set Choices$Write to the directory you want files
@@ -58,22 +58,22 @@ sessions).
 2. Filename munging
 
 All pathname munging is disabled by default, so Vim should behave like a
-normal RISC OS application now.  So, if you want to edit `doc/html' then you
-actually type `*vi doc/html'.
+normal RISC OS application now.  So, if you want to edit "doc/html" then you
+actually type "*vi doc/html".
 
 The only times munging is done is when:
 
 - Searching included files from C programs, since these are always munged.
   See |[I|.
   Note: make sure you are in the right directory when you use this
-       command (i.e. the one with subdirectories 'c' and 'h').
+       command (i.e. the one with subdirectories "c" and "h").
 
 - Sourcing files using |:so|.
-  Paths starting `$VIM/' are munged like this:
+  Paths starting "$VIM/" are munged like this:
 
   $VIM/syntax/help.vim  ->  Vim:syntax.help
 
-  Also, files ending in `.vim' have their extensions removed, and slashes
+  Also, files ending in ".vim" have their extensions removed, and slashes
   replaced with dots.
 
 Some tag files and script files may have to be edited to work under this port.
@@ -82,10 +82,10 @@ Some tag files and script files may have to be edited to work under this port.
                                                        *riscos-commandline*
 3. Command-line use
 
-To use Vim from the command-line use the `*vi' command (or '*ex' for
+To use Vim from the command-line use the "*vi" command (or "*ex" for
 |Ex-mode|).
 
-Type `*vi -h' for a list of options.
+Type "*vi -h" for a list of options.
 
 Running the command-line version of Vim in a large high-color mode may cause
 the scrolling to be very slow.  Either change to a mode with fewer colors or
@@ -149,7 +149,7 @@ font via ZapRedraw and any of the Zap fonts via ZapRedraw: >
                        point is used.
 
 Thanks to John Kortink, Vim can use the ZapRedraw module.  Start the font name
-with '!' (or '!!' for double height), like this: >
+with "!" (or "!!" for double height), like this: >
 
   :set guifont=!!
 <                      Use the system font, but via ZapRedraw.  This gives a
@@ -158,13 +158,13 @@ with '!' (or '!!' for double height), like this: >
 >
   :set guifont=!script
 <                      Uses the named Zap font (a directory in VimFont$Path).
-                       The redraw is the same speed as for '!!', but you get
+                       The redraw is the same speed as for "!!", but you get
                        a nicer looking font.
                        Only the "man+" and "script" fonts are supplied
                        currently, but you can use any of the Zap fonts if
                        they are in VimFont$Path.
-                       Vim will try to load font files '0', 'B', 'I' and 'IB'
-                       from the named directory.  Only '0' (normal style) MUST
+                       Vim will try to load font files "0", "B", "I" and "IB"
+                       from the named directory.  Only "0" (normal style) MUST
                        be present.  Link files are not currently supported.
 
 Note that when using ZapRedraw the edit bar is drawn in front of the character
@@ -191,7 +191,7 @@ allow other codes to be used if you want to use Vim from a remote terminal.
 Although I do not have an internet connection to my Acorn, I have managed to
 run Vim in a FreeTerm window using the loopback connection.
 
-It seems to work pretty well now, using '*vi -T ansi'.
+It seems to work pretty well now, using "*vi -T ansi".
 
 ==============================================================================
                                                        *riscos-temp-files*
@@ -203,7 +203,7 @@ files are in <Wimp$ScrapDir> (i.e. inside !Scrap) and backups are in the
 directory you were saving to.  Vim will allow you to try and recover the file
 when you next try to edit it.
 
-To see a list of swap files, press <F12> and type `*vi -r'.
+To see a list of swap files, press <F12> and type "*vi -r".
 
 Vim no longer brings up ATTENTION warnings if you try to edit two files with
 the same name in different directories.
@@ -228,8 +228,8 @@ older machines then edit the !RunTxt and GVim files.  I don't know what UnixLib
 does by default on these machines so I'm playing safe.
 
 It doesn't work at all well without dynamic areas, since it can't change its
-memory allocation once running.  Hence you should edit `!Vim.GVim' and
-`!Vim.!RunTxt' to choose the best size for you.  You probably need at least
+memory allocation once running.  Hence you should edit "!Vim.GVim" and
+"!Vim.!RunTxt" to choose the best size for you.  You probably need at least
 about 1400K.
 
 ==============================================================================
@@ -252,7 +252,7 @@ The system has changed from version 5.3.  The new sequence of events is:
 Some examples may make this clearer:
 
   Kind of file loaded  osfiletype      filetype ~
-  C code 'c.hellow'    Text (&fff)     C
+  C code "c.hellow"    Text (&fff)     C
   LaTeX document       LaTeX (&2a8)    TeX
   Draw document                DrawFile (&aff) (not changed)
 
@@ -263,7 +263,7 @@ Some examples may make this clearer:
 - Bangs (!s) are only replaced if they are followed by a space or end-of-line,
   since many pathnames contain them.
 
-- You can prefix the command with '~', which stops any output from being
+- You can prefix the command with "~", which stops any output from being
   displayed.  This also means that you don't have to press <Enter> afterwards,
   and stops the screen from being redrawn. {only in the GUI version}
 
@@ -275,7 +275,7 @@ Downloading everything you need:
 
 - Get the latest source distribution (see www.vim.org)
 - Get the runtime environment files (e.g. these help files)
-- Get the `extra' archive (contains the RISC OS specific bits)
+- Get the "extra" archive (contains the RISC OS specific bits)
 - Get the RISC OS binary distribution (if possible)
 
 
@@ -289,19 +289,19 @@ Unarchiving:
 Recompiling the sources:
 
 - Create c, s, and h directories.
-- Put all the header files in 'h'.          \
-- Put all the C files in `c'.               | And lose the extensions
-- Put the assembler file (`swis/s') in 's'.  /
-- Rename all the files in `proto' to `h', like this:
+- Put all the header files in "h".          \
+- Put all the C files in "c".               | And lose the extensions
+- Put the assembler file ("swis/s") in "s".  /
+- Rename all the files in "proto" to "h", like this:
     raFS::VimSrc.source.proto.file/pro
          becomes
     raFS::VimSrc.source.h.file_pro
-- In the files `h.proto' and `c.termlib', search and replace
+- In the files "h.proto" and "c.termlib", search and replace
     .pro"
        with
     _pro.h"
-- Create a simple Makefile if desired and do '*make -k'.
-  Use 'CC = gcc -DRISCOS -DUSE_GUI -O2 -x c' in the Makefile.
+- Create a simple Makefile if desired and do "*make -k".
+  Use "CC = gcc -DRISCOS -DUSE_GUI -O2 -x c" in the Makefile.
 - Save the binary as !Vim.Vim in the binary distribution.
 
 
@@ -309,15 +309,15 @@ Updating the run-time environment:
 
 - Replace old or missing files inside !Vim.Resources with the
   new files.
-- Remove files in `doc' not ending in `/txt', except for `tags'.
-- Lose the extensions from the files in `doc'.
-- Edit the `doc.tags' file.  Remove extensions from the second column: >
+- Remove files in "doc" not ending in "/txt", except for "tags".
+- Lose the extensions from the files in "doc".
+- Edit the "doc.tags" file.  Remove extensions from the second column: >
        :%s/^\(.[^\t]*\t.*\)\.txt\t/\1\t/
 - Remove extensions from the syntax files.  Split them into two directories
   to avoid the 77 entry limit on old ADFS filesystems.
-- Edit `Vim:FileType' to match `*.c.*' as well as `*/c' and so on.
+- Edit "Vim:FileType" to match "*.c.*" as well as "*/c" and so on.
   Add filetype checking too.
-- Edit `Vim:Menu' and remove all the keys from the menus: >
+- Edit "Vim:Menu" and remove all the keys from the menus: >
        :%s/<Tab>[^ \t]*//
 <
  vim:tw=78:ts=8:ft=help:norl:
index cf200f0c72f5ca10fe38b664b2f9f60aa349db9b..036f59707e632e9cfe2d8c99b1cd65626a1ab4e2 100644 (file)
@@ -1,4 +1,4 @@
-*os_unix.txt*   For Vim version 7.2a.  Last change: 2005 Mar 29
+*os_unix.txt*   For Vim version 7.2b.  Last change: 2005 Mar 29
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 6208d636c587396a4cd44c7bd41cf55c33539d19..8b9692943af423be0e143374cbf7f1cf41c366f7 100644 (file)
@@ -1,4 +1,4 @@
-*os_vms.txt*    For Vim version 7.2a.  Last change: 2006 Nov 18
+*os_vms.txt*    For Vim version 7.2b.  Last change: 2006 Nov 18
 
 
                  VIM REFERENCE MANUAL
index afc05ddeab539e118b37b05e5d6c1825cf0b8ac0..73d55e947f8b71d9c58bc5dcc26f74760f9a65cf 100644 (file)
@@ -1,4 +1,4 @@
-*os_win32.txt*  For Vim version 7.2a.  Last change: 2008 May 02
+*os_win32.txt*  For Vim version 7.2b.  Last change: 2008 May 02
 
 
                  VIM REFERENCE MANUAL    by George Reilly
index cb367d07bff1c45d8a9ea3420203979039ab4d5d..ae60b83ba839c95717f66b2d5fb26c71e05f67c5 100644 (file)
@@ -1,4 +1,4 @@
-*pattern.txt*   For Vim version 7.2a.  Last change: 2008 Jun 21
+*pattern.txt*   For Vim version 7.2b.  Last change: 2008 Jun 21
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 5f46de006a33330a852d71d261aa96367f11622f..2d7edb88151f774f1d256e3af803369d5b6cefad 100644 (file)
@@ -1,4 +1,4 @@
-*pi_getscript.txt*  For Vim version 7.2a.  Last change: 2008 Jan 07
+*pi_getscript.txt*  For Vim version 7.2b.  Last change: 2008 Jun 29
 >
                GETSCRIPT REFERENCE MANUAL  by Charles E. Campbell, Jr.
 <
@@ -335,6 +335,9 @@ The AutoInstall process will:
 ==============================================================================
 9. GetLatestVimScripts History         *getscript-history* *glvs-hist* {{{1
 
+v31 Jun 29, 2008 : * (Bill McCarthy) fixed having hls enabled with getscript
+v30 Jun 13, 2008 : * GLVS now checks for existence of fnameescape() and will
+                    issue an error message if its not supported
 v29 Jan 07, 2008 : * Bram M pointed out that cpo is a global option and that
                      getscriptPlugin.vim was setting it but not restoring it.
 v28 Jan 02, 2008 : * improved shell quoting character handling, cygwin
index 33343791617220e0567d9d91575251d6c9e65423..e9e224bea161bab23db1d37a9d8ff22dea5d61b1 100644 (file)
@@ -1,4 +1,4 @@
-*pi_gzip.txt*   For Vim version 7.2a.  Last change: 2002 Oct 29
+*pi_gzip.txt*   For Vim version 7.2b.  Last change: 2002 Oct 29
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 68a0299ce6e8c38a29bdb9fd22292dd559c11840..7e0c597cc137366db52b4520578e74973b062ab6 100644 (file)
@@ -1,4 +1,4 @@
-*pi_netrw.txt*  For Vim version 7.2a.  Last change: 2008 Jun 21
+*pi_netrw.txt*  For Vim version 7.2b.  Last change: 2008 Jul 13
 
            -----------------------------------------------------
            NETRW REFERENCE MANUAL    by Charles E. Campbell, Jr.
@@ -314,13 +314,6 @@ settings are described below, in |netrw-browser-options|, and in
                        Also affects the "previous window" (see |netrw-P|) in
                        the same way.
 
- *g:netrw_shq*         = "'" for Unix/Linux systems (ie. a single quote)
-                       = "'" for Windows + cygwin systems (ie. a single quote)
-                       = '"' for Windows systems, not using cygwin
-                             (ie. a double quote)
-                       Controls the quoting character used during scp and ftp
-                       commands.
-
  *g:netrw_scpport*      = "-P" : option to use to set port for scp
  *g:netrw_sshport*      = "-p" : option to use to set port for ssh
 
@@ -864,6 +857,7 @@ QUICK HELP                                          *netrw-quickhelp* {{{2
        Sorted by
          Select sorting style (name/time/size).........|netrw-s|
          Editing the sorting sequence..................|netrw-S|
+         Sorting options...............................|g:netrw_sort_options|
          Associated setting variable...................|g:netrw_sort_sequence|
          Reverse sorting order.........................|netrw-r|
 
@@ -921,6 +915,8 @@ QUICK REFERENCE: MAPS                               *netrw-browse-maps* {{{2
                browser window.  A vertical split is used.
           x    View file with an associated program                 |netrw-x|
 
+          %    Open a new file in netrw's current directory         |netrw-%|
+
        <leftmouse>     (gvim only) selects word under mouse as if a <cr>
                        had been pressed (ie. edit file, change directory)
        <middlemouse>   (gvim only) same as P selecting word under mouse;
@@ -1362,8 +1358,8 @@ will end up.  One may change the sorting sequence by modifying the
 g:netrw_sort_sequence variable (either manually or in your <.vimrc>) or by
 using the "S" map.
 
-Related topics:              |netrw-s|
-Associated setting variable: |g:netrw_sort_sequence|
+Related topics:               |netrw-s|               |netrw-S|
+Associated setting variables: |g:netrw_sort_sequence| |g:netrw_sort_options|
 
 
 GOING UP                                                       *netrw--* {{{2
@@ -1657,7 +1653,7 @@ MARKED FILES: TAGGING                                             *netrw-mT* {{{2
            (See |netrw-mf| and |netrw-mr| for how to mark files)
                      (uses the global marked file list)
 
-The "mt" mapping will apply the command in g:netrw_ctags (by default, its
+The "mt" mapping will apply the command in |g:netrw_ctags| (by default, its
 "ctags") to marked files.  For remote browsing, in order to create a tags file
 netrw will use ssh (see |g:netrw_ssh_cmd|), and so ssh must be available for
 this to work on remote systems.  For your local system, see |ctags| on how to
@@ -1676,7 +1672,7 @@ preceded by the netrw-compatible url used to obtain it.  When one subsequently
 uses one of the go to tag actions (|tags|), the url will be used by netrw to
 edit the desired file and go to the tag.
 
-Associated setting variables: |g:netrw_ssh_cmd|
+Associated setting variables: |g:netrw_ctags| |g:netrw_ssh_cmd|
 
 
 MARKED FILES: SETTING THE TARGET DIRECTORY                     *netrw-mt* {{{2
@@ -1738,14 +1734,13 @@ your browsing preferences.  (see also: |netrw-settings|)
                                a script/function to handle the given
                                extension.  (see |netrw_filehandler|).
 
-  *g:netrw_cd_escape*          ="[]#*$%'\" ?`!&();<>\\"
-                               This option is used to escape directory names
-                               before changing directory to them.
-
   *g:netrw_compress*           ="gzip"
                                    Will compress marked files with this
                                    command
 
+  *g:netrw_ctags*              ="ctags"
+                               The default external program used to create tags
+
   *g:netrw_decompress*         = { ".gz" : "gunzip" ,
                                    ".bz2" : "bunzip2" ,
                                    ".zip" : "unzip" ,
@@ -1888,6 +1883,14 @@ your browsing preferences.  (see also: |netrw-settings|)
   *g:netrw_sort_direction*     sorting direction: "normal" or "reverse"
                                 default: "normal"
 
+  *g:netrw_sort_options*       sorting is done using |:sort|; this
+                               variable's value is appended to the
+                               sort command.  Thus one may ignore case,
+                               for example, with the following in your
+                               .vimrc: >
+                                       let g:netrw_sort_options="i"
+<                               default: ""
+
   *g:netrw_sort_sequence*      when sorting by name, first sort by the
                                comma-separated pattern sequence
                                 default: '[\/]$,*,\.bak$,\.o$,\.h$,
@@ -2031,6 +2034,13 @@ Related topics:
    directory, see |g:netrw_keepdir|.
 
 
+OPEN A NEW FILE IN NETRW'S CURRENT DIRECTORY           *netrw-%*
+
+To open a file in netrw's current directory, press "%".  This map will
+query the user for a new filename; an empty file by that name will be
+placed in the netrw's current directory (ie. b:netrw_curdir).
+
+
 PREVIEW WINDOW                         *netrw-p* *netrw-preview* {{{2
 
 One may use a preview window by using the "p" key when the cursor is atop the
@@ -2377,6 +2387,23 @@ which is loaded automatically at startup (assuming :set nocp).
 ==============================================================================
 12. History                                            *netrw-history* {{{1
 
+       v126: Jun 30, 2008 * after having gone to a remote directory,
+                            <f1> was no longer taking one to the correct
+                            entry in the help (|netrw-quickhelp|).  Fixed.
+             Jul 01, 2008 * extracting the last filename from a wide listing
+                            missed the last letter when |'virtualedit'| not
+                            enabled.
+             Jul 01, 2008 * vim foo/bar  was creating [Scratch] buffers,
+                            where bar was also a directory
+             Jul 01, 2008 * numerous additional changes were made to netrw
+                            to use fnameescape() and shellescape() instead
+                            of escape().  Not all changes have been tested
+                            as yet...
+             Jul 01, 2008 * (James Vega reported) some problems with
+                            :NetrwSettings (due to no longer used setting
+                            variables).
+             Jul 07, 2008 * Additional numerous changes to support security;
+                            shellescape(arg,1), etc.
        v125: Apr 07, 2008 * (Cristian Rigamonti) CR provides a patch; he
                             noted that gx was failing since its call to
                             netrw#NetBrowseX() wasn't updated to
@@ -2570,7 +2597,7 @@ which is loaded automatically at startup (assuming :set nocp).
        v110: May 10, 2007 * added [ and ] maps to NetrwTreeListing
              May 25, 2007 * |g:netrw_preview| included
              May 29, 2007 * modifed netrw#NetBrowseX to consistently use
-                           |g:netrw_shq| instead of hardcoded quotes,
+                            g:netrw_shq instead of hardcoded quotes,
                             and modified the snippet that sets up redir
                             so Windows machines use "nul" instead of
                             "/dev/null".
index 810532797dca32c1e79d3aa9d8978a4199a30277..faa889bc1fe59d4d256f8696db9f187fbf3118a1 100644 (file)
@@ -1,4 +1,4 @@
-*pi_paren.txt*  For Vim version 7.2a.  Last change: 2008 Jun 16
+*pi_paren.txt*  For Vim version 7.2b.  Last change: 2008 Jun 16
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 900e768fcbbd3abcc0871e61cef8afdc641f5194..e5cb3daf3ea9e2fd0667f0d200497d011f1d690d 100644 (file)
@@ -1,4 +1,4 @@
-*pi_spec.txt*   For Vim version 7.2a.  Last change: 2006 Apr 24
+*pi_spec.txt*   For Vim version 7.2b.  Last change: 2006 Apr 24
 
 by Gustavo Niemeyer ~
 
index c50e0d13fa3053a1fa42a3a5c0ca53630d35d675..c6926cdd0eed36f2f69ada09c66bed55a23b7312 100644 (file)
@@ -1,4 +1,4 @@
-*pi_tar.txt*   For Vim version 7.2a.  Last change: 2008 Jun 12
+*pi_tar.txt*   For Vim version 7.2b.  Last change: 2008 Jul 13
 
                       +====================+
                       | Tar File Interface |
index e31f8a7c3bd0a1a955e4dee8cedb7d89646170c3..7220d0ed92e53add3bbc50e4521e86c0c34f0f94 100644 (file)
@@ -1,4 +1,4 @@
-*pi_vimball.txt*       For Vim version 7.2a.  Last change: 2008 Jun 05
+*pi_vimball.txt*       For Vim version 7.2b.  Last change: 2008 Jun 05
 
                               ----------------
                               Vimball Archiver
@@ -164,7 +164,7 @@ Copyright: (c) 2004-2008 by Charles E. Campbell, Jr.        *Vimball-copyright*
                            will extract plugin/somefile to the AsNeeded/
                            directory
        17 : Jun 28, 2006 * changes all \s to /s internally for Windows
-       16 : Jun 15, 2006 * A. Mechylynck's idea to allow users to specify
+       16 : Jun 15, 2006 * A. Mechelynck's idea to allow users to specify
                            installation root paths implemented for
                            UseVimball, MkVimball, and RmVimball.
                          * RmVimball implemented
index 830d5c6123279a0be6c0a89cdea2d9e768be4a73..d4e3f67a663e8142936b8fed85ed1dadc89d8e96 100644 (file)
@@ -1,4 +1,4 @@
-*pi_zip.txt*   For Vim version 7.2a.  Last change: 2008 Jun 12
+*pi_zip.txt*   For Vim version 7.2b.  Last change: 2008 Jun 29
 
                                +====================+
                                | Zip File Interface |
@@ -70,7 +70,7 @@ Copyright: Copyright (C) 2005-2008 Charles E Campbell, Jr *zip-copyright*
 
        au BufReadCmd *.jar,*.xpi call zip#Browse(expand("<amatch>"))
 <
-   One simply can extend this line to accomodate additional extensions that
+   One can simply extend this line to accommodate additional extensions that
    should be treated as zip files.
 
 ==============================================================================
index cb4de431843da30e3c45494a6971050b58babd11..af1e2c0aa7f921697f8887daeb2afee60adeecb3 100644 (file)
@@ -1,4 +1,4 @@
-*print.txt*     For Vim version 7.2a.  Last change: 2008 Apr 30
+*print.txt*     For Vim version 7.2b.  Last change: 2008 Apr 30
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 26e2e7e88108d71bd89f712ba4d5f6edcd952810..5c48e6716f2b74c6c87d2b133e4a8e3209c5e845 100644 (file)
@@ -1,4 +1,4 @@
-*quickfix.txt*  For Vim version 7.2a.  Last change: 2008 Mar 14
+*quickfix.txt*  For Vim version 7.2b.  Last change: 2008 Mar 14
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index fc49cfa8ebbd1d26b278aaa6c56835fecc9440b4..230a110f9cdece63ba77b981aa96385f7f06965f 100644 (file)
@@ -1,4 +1,4 @@
-*quickref.txt*  For Vim version 7.2a.  Last change: 2008 Jan 22
+*quickref.txt*  For Vim version 7.2b.  Last change: 2008 Jan 22
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 07b2126164461650ecb1a1445c1b392f875baf79..af874514d2ba4046aa6c7d97fd6b9662aae94f5b 100644 (file)
@@ -1,4 +1,4 @@
-*quotes.txt*    For Vim version 7.2a.  Last change: 2006 Apr 24
+*quotes.txt*    For Vim version 7.2b.  Last change: 2006 Apr 24
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 578c8011d6728079c26b44c7472c02513317c1b0..75f5d7e9647a0f2b79a65aefe7a054ce2dc47b1c 100644 (file)
@@ -1,4 +1,4 @@
-*recover.txt*   For Vim version 7.2a.  Last change: 2006 Apr 24
+*recover.txt*   For Vim version 7.2b.  Last change: 2006 Apr 24
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 85b050762023ca695571e7263dfccd56a7af93c0..bbf1c1277b43ec2204d683d229f87f520b4ea560 100644 (file)
@@ -1,4 +1,4 @@
-*remote.txt*    For Vim version 7.2a.  Last change: 2008 May 24
+*remote.txt*    For Vim version 7.2b.  Last change: 2008 May 24
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 38a485753db62c59e1cc59274b1ae9d4b6476aab..577c0de81e35f44fed85df062c91fd9042680396 100644 (file)
@@ -1,4 +1,4 @@
-*repeat.txt*    For Vim version 7.2a.  Last change: 2007 Aug 12
+*repeat.txt*    For Vim version 7.2b.  Last change: 2007 Aug 12
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index d270740e224504e2df52bd713e941cfad8ca9ce4..40f00bca7fccb9afe67af6dd394f556fa43fc82f 100644 (file)
@@ -1,4 +1,4 @@
-*rileft.txt*    For Vim version 7.2a.  Last change: 2006 Apr 24
+*rileft.txt*    For Vim version 7.2b.  Last change: 2006 Apr 24
 
 
                  VIM REFERENCE MANUAL    by Avner Lottem
index dabca4289fd88727b9a97f9ee4ff31697a7c9864..0ba9be7911d007f9df9396605bac8cb8bee68910 100644 (file)
@@ -1,4 +1,4 @@
-*russian.txt*   For Vim version 7.2a.  Last change: 2006 Apr 24
+*russian.txt*   For Vim version 7.2b.  Last change: 2006 Apr 24
 
 
                  VIM REFERENCE MANUAL    by Vassily Ragosin
index 91fc4c8fe78d3ad1c667bd881a618e5ed6d58239..141eee6e6ab68555e3e38bcb80aa4184bdb98b1a 100644 (file)
@@ -1,4 +1,4 @@
-*scroll.txt*    For Vim version 7.2a.  Last change: 2006 Aug 27
+*scroll.txt*    For Vim version 7.2b.  Last change: 2006 Aug 27
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 5434279ec8f25d0d1c4b78510e3baf91aa3ec982..7e2952038077a4c0fe4b83c7edfd939c3e55e360 100644 (file)
@@ -1,4 +1,4 @@
-*sign.txt*      For Vim version 7.2a.  Last change: 2006 Apr 24
+*sign.txt*      For Vim version 7.2b.  Last change: 2006 Apr 24
 
 
                  VIM REFERENCE MANUAL    by Gordon Prieur
index e6c40c83aa0fe4e9e670b4bd982160ce0910fba5..ea4da257deaf0983f0b592290a013d4a9283b377 100644 (file)
@@ -1,4 +1,4 @@
-*spell.txt*    For Vim version 7.2a.  Last change: 2008 Jun 21
+*spell.txt*    For Vim version 7.2b.  Last change: 2008 Jun 21
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index ac25f49f11cbb6320ab508efee504747beb0b6a0..9e67ec4695faf15b6fa630d07fc797d13449ccfa 100644 (file)
@@ -1,4 +1,4 @@
-*sponsor.txt*   For Vim version 7.2a.  Last change: 2008 Jun 21
+*sponsor.txt*   For Vim version 7.2b.  Last change: 2008 Jun 21
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index c017fb4b79977c7c28c61b9bb8b4f4f20c3b5c8a..dfb403bc8d9360ef28e87d45a864a5a3ac86a58c 100644 (file)
@@ -1,4 +1,4 @@
-*starting.txt*  For Vim version 7.2a.  Last change: 2008 Jun 21
+*starting.txt*  For Vim version 7.2b.  Last change: 2008 Jun 21
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 0a0c0a887dfbc033797d141e3162b36dcf8928bd..839ab3442e1fccb1af1f48147495c9f35610394b 100644 (file)
@@ -1,4 +1,4 @@
-*syntax.txt*   For Vim version 7.2a.  Last change: 2008 Jun 21
+*syntax.txt*   For Vim version 7.2b.  Last change: 2008 Jun 21
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 6410b117b8fdab3af2c167b0ce0dfbe431c0516c..518f9802cc2aa9e239ae104fcc7d82ea0a577277 100644 (file)
@@ -1,4 +1,4 @@
-*tabpage.txt*   For Vim version 7.2a.  Last change: 2007 Mar 11
+*tabpage.txt*   For Vim version 7.2b.  Last change: 2007 Mar 11
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 4f94fe53e98cd343c09a0572f41160d76b37f577..b955aaf066f33884ea804ed68f071d4f47919efc 100644 (file)
@@ -5460,6 +5460,7 @@ ft-papp-syntax    syntax.txt      /*ft-papp-syntax*
 ft-pascal-syntax       syntax.txt      /*ft-pascal-syntax*
 ft-pdf-plugin  filetype.txt    /*ft-pdf-plugin*
 ft-perl-syntax syntax.txt      /*ft-perl-syntax*
+ft-php-indent  indent.txt      /*ft-php-indent*
 ft-php-omni    insert.txt      /*ft-php-omni*
 ft-php-syntax  syntax.txt      /*ft-php-syntax*
 ft-php3-syntax syntax.txt      /*ft-php3-syntax*
@@ -5583,8 +5584,8 @@ g:netrw_alto      pi_netrw.txt    /*g:netrw_alto*
 g:netrw_altv   pi_netrw.txt    /*g:netrw_altv*
 g:netrw_browse_split   pi_netrw.txt    /*g:netrw_browse_split*
 g:netrw_browsex_viewer pi_netrw.txt    /*g:netrw_browsex_viewer*
-g:netrw_cd_escape      pi_netrw.txt    /*g:netrw_cd_escape*
 g:netrw_compress       pi_netrw.txt    /*g:netrw_compress*
+g:netrw_ctags  pi_netrw.txt    /*g:netrw_ctags*
 g:netrw_cygwin pi_netrw.txt    /*g:netrw_cygwin*
 g:netrw_dav_cmd        pi_netrw.txt    /*g:netrw_dav_cmd*
 g:netrw_decompress     pi_netrw.txt    /*g:netrw_decompress*
@@ -5625,10 +5626,10 @@ g:netrw_rsync_cmd       pi_netrw.txt    /*g:netrw_rsync_cmd*
 g:netrw_scp_cmd        pi_netrw.txt    /*g:netrw_scp_cmd*
 g:netrw_scpport        pi_netrw.txt    /*g:netrw_scpport*
 g:netrw_sftp_cmd       pi_netrw.txt    /*g:netrw_sftp_cmd*
-g:netrw_shq    pi_netrw.txt    /*g:netrw_shq*
 g:netrw_silent pi_netrw.txt    /*g:netrw_silent*
 g:netrw_sort_by        pi_netrw.txt    /*g:netrw_sort_by*
 g:netrw_sort_direction pi_netrw.txt    /*g:netrw_sort_direction*
+g:netrw_sort_options   pi_netrw.txt    /*g:netrw_sort_options*
 g:netrw_sort_sequence  pi_netrw.txt    /*g:netrw_sort_sequence*
 g:netrw_special_syntax pi_netrw.txt    /*g:netrw_special_syntax*
 g:netrw_ssh_browse_reject      pi_netrw.txt    /*g:netrw_ssh_browse_reject*
@@ -6475,6 +6476,7 @@ netbeans-support  netbeans.txt    /*netbeans-support*
 netbeans.txt   netbeans.txt    /*netbeans.txt*
 netreadfixup   pi_netrw.txt    /*netreadfixup*
 netrw  pi_netrw.txt    /*netrw*
+netrw-%        pi_netrw.txt    /*netrw-%*
 netrw--        pi_netrw.txt    /*netrw--*
 netrw-D        pi_netrw.txt    /*netrw-D*
 netrw-O        pi_netrw.txt    /*netrw-O*
@@ -6707,6 +6709,7 @@ nice      todo.txt        /*nice*
 no-eval-feature        eval.txt        /*no-eval-feature*
 no_buffers_menu        gui.txt /*no_buffers_menu*
 non-greedy     pattern.txt     /*non-greedy*
+non-zero-arg   eval.txt        /*non-zero-arg*
 normal-index   index.txt       /*normal-index*
 not-compatible usr_01.txt      /*not-compatible*
 not-edited     editing.txt     /*not-edited*
@@ -6812,6 +6815,9 @@ pfn-option        print.txt       /*pfn-option*
 pheader-option print.txt       /*pheader-option*
 photon-fonts   os_qnx.txt      /*photon-fonts*
 photon-gui     os_qnx.txt      /*photon-gui*
+php-comment    indent.txt      /*php-comment*
+php-indent     indent.txt      /*php-indent*
+php-indenting  indent.txt      /*php-indenting*
 php.vim        syntax.txt      /*php.vim*
 php3.vim       syntax.txt      /*php3.vim*
 phtml.vim      syntax.txt      /*phtml.vim*
index 46dc18e9138481175de63e560ead354585b19273..952bb96f0040ea65aac11f8fccc3047b795dafa0 100644 (file)
@@ -1,4 +1,4 @@
-*tagsrch.txt*   For Vim version 7.2a.  Last change: 2006 Apr 24
+*tagsrch.txt*   For Vim version 7.2b.  Last change: 2006 Apr 24
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 55a9ae100cbbc90fbbcf1a80b8a169d2b3424be8..cf960bd53909427e18d03df8b489864ba1744ee4 100644 (file)
@@ -1,4 +1,4 @@
-*term.txt*      For Vim version 7.2a.  Last change: 2008 Jun 21
+*term.txt*      For Vim version 7.2b.  Last change: 2008 Jun 21
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 0bdcfa077c2a7b3d8f4d4ec4a96b1514f4f97548..ffeea0fbfca8998b20f8ad47da3d348ec10773a7 100644 (file)
@@ -1,4 +1,4 @@
-*tips.txt*      For Vim version 7.2a.  Last change: 2006 Jul 24
+*tips.txt*      For Vim version 7.2b.  Last change: 2006 Jul 24
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index b606968978449d3a0c5178eb7197c4fcc0d856b1..03e49813dcaa74e5c4bf495a1521721843acdbf4 100644 (file)
@@ -1,4 +1,4 @@
-*todo.txt*      For Vim version 7.2a.  Last change: 2008 Jun 24
+*todo.txt*      For Vim version 7.2b.  Last change: 2008 Jul 13
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -30,10 +30,20 @@ be worked on, but only if you sponsor Vim development.  See |sponsor|.
                                                        *known-bugs*
 -------------------- Known bugs and current work -----------------------
 
+":pedit %" with a BufReadPre autocommand causes the cursor to move to the
+first line. (Ingo Karkat, 2008 Jul 1)
+
 Have a look at patch for utf-8 line breaking. (Yongwei Wu, 2008 Mar 1, Mar 23)
 
-Drawing popup menu isn't quite right when there are double-wide characters.
-Yukihiro Nakadaira is working on a solution (2008 Jun 22).  Use mb_fix_col().
+Runtime files for Clojure. (Toralf Wittner, 2008 Jun 25)
+
+Patch to add extra argument to glob() and globpath() to ignore 'wildignore'.
+(Ingo Karkat, 2008 Jun 25)
+
+Crash with dragn-n-drop of file combined with netrw (Marius Gedminas, 2008 Jun
+11)  I can't reproduce it.  It's probably caused by a handle_drop() call
+in combination with autocommands that invoke a ":redraw" command.
+Another valgrind output Jun 30.
 
 When reallocating cmdline xp_pattern becomes invalid.  Move expand_T xpc into
 ccline?  (Dominique Pelle)
@@ -44,14 +54,9 @@ Works OK with Vim in an xterm.
 
 Fix for matchparen HL doesn't work.  beep.
 
-Crash with dragn-n-drop of file combined with netrw (Marius Gedminas, 2008 Jun
-11)  I can't reproduce it.
-
 Win32: associating a type with Vim doesn't take care of space after a
 backslash? (Robert Vibrant, 2008 Jun 5)
 
-":let &g:tw = 44" sets the local option value. (Cyril Slobin, 2008 Apr 25)
-
 After using <Tab> for command line completion after ":ta blah" and getting E33
 (no tags file), further editing the command to e.g., ":echo 'blah'", the
 command is not executed.
@@ -69,10 +74,8 @@ Win32: remote editing fails when the current directory name contains "[".
 (Ivan Tishchenko, Liu Yubao)  Suggested patch by Chris Lubinski: Avoid
 escaping characters where the backslash is not removed later.  Asked Chris for
 an alternate solution, also for src/ex_getln.c.
-
-When adding path to 'tags' with a wildcard, it appears only a first match is
-used. (Erik Falor, 2008 April 18)  Or is it that a wildcard in the file name
-is not supported, only in the path?
+This also fails when the file or directory name contains "%". (Thoml, 2008
+July 7)
 
 The str2special() function doesn't handle multi-byte characters properly.
 Patch from Vladimir Vichniakov, 2007 Apr 24.
@@ -102,8 +105,6 @@ line doesn't fit. (Dasn, 2008 May 1)
 GUI: In Normal mode can't yank the modeless selection.  Make "gy" do this?
 Works like CTRL-Y in Command line mode.
 
-Mac: patch for mouse wheel scroll under Leopard. (Eckehard Berns, 2007 Dec 7)
-
 Mac: After a ":vsplit" the left scrollbar doesn't appear until 'columns' is
 changed or the window is resized.
 
@@ -167,9 +168,6 @@ Asked about latest version: 0.77.1 is on www.vim.org.
 
 More AmigaOS4 patches. (Peter Bengtsson, Nov 9)
 
-globpath() doesn't work as expected.  The example shows using 'path', but the
-"**8" form and upwards search are not supported.
-
 Error when cancelling completion menu and auto-formatting. (Tim Weber, 2008
 Apr 17)
 
@@ -205,6 +203,12 @@ isn't right?
 Completion: Scanning for tags doesn't check for typed key now and then?
 Hangs for about 5 seconds.  Appears to be caused by finding include files with
 "foo/**" in 'path'.  (Kalisiak, 2006 July 15)
+Additional info: When using the |wildcards| ** globing, vim hangs
+indefinitely on lots of directories. The |file-searching| globing, like in
+":set path=/**" does not hang as often as with globing with |wildcards|, like
+in ":1find /**/file".  This is for a files that unix "find" can find very
+quick. Merging the 2 kinds of globing might make this an easier fix. (Ian
+Kelling, 2008 July 4)
 
 When the file name has parenthesis, e.g., "foo (bar).txt", ":!ls '%'" has the
 parenthesis escaped but not the space.  That's inconsistent.  Either escape
@@ -309,7 +313,7 @@ C++ indenting wrong with "=". (James Kanze, 2007 Jan 26)
 ":lockvar" should use copyID to avoid endless loop.
 
 When using --remote-silent and the file name matches 'wildignore' get an E479
-error.  without --remoete-silent it works fine. (Ben Fritz, 2008 Jun 20)
+error.  without --remote-silent it works fine. (Ben Fritz, 2008 Jun 20)
 
 Gvim: dialog for closing Vim should check if Vim is busy writing a file.  Then
 use a different dialog: "busy saving, really quit? yes / no".
@@ -332,7 +336,7 @@ name literally, and esp. if there is only one name.
 Test 61 fails sometimes.  This is a timing problem: "sleep 2" sometimes takes
 longer than 2 seconds.
 
-Changing 'guifont' in the console causes an uneccessary redraw.
+Changing 'guifont' in the console causes an unnecessary redraw.
 
 "vim -C" often has 'nocompatible', because it's set in some startup script.
 Set 'compatible' after startup is done?  Patch by James Vega, 2008 Feb 7.
@@ -368,7 +372,7 @@ Windows installer could add a "open in new tab of existing Vim" menu entry.
 Gvimext: patch to add "Edit with single Vim &tabbed" menu entry.
 Just have two choices, always using one Vim and selecting between using an
 argument list or opening each file in a separate tab.
-(Erik Falor, 2008 May 21)
+(Erik Falor, 2008 May 21, 2008 Jun 26)
 
 GUI: When combining fg en bg make sure they are not equal.
 
@@ -581,6 +585,9 @@ In gvim the backspace key produces a backspace character, but on Linux the
 VERASE key is Delete.  Set VERASE to Backspace? (patch by Stephane Chazelas,
 2007 Oct 16)
 
+When entering a C /* comment, after typing <Enter> for 70 times the indent
+disappears. (Vincent Beffara, 2008 Jul 3)
+
 TermResponse autocommand isn't always triggered when using vimdiff. (Aron
 Griffis, 2007 Sep 19)
 
@@ -590,7 +597,7 @@ Create a gvimtutor.1 file and change Makefiles to install it.
 
 
 Vim 7.3:
--   Add patch for 'relativenumber' option?  Markus Heidelberg, 2008 Feb 21
+-   Add patch for 'relativenumber' option?  Markus Heidelberg, 2008 Jun 27.
 -   Add blowfish encryption.  Openssl has an implementation.  Also by Paul
     Kocher (LGPL), close to original.  Mohsin also has some ideas.
     Take four bytes and turn them into unsigned to avoid byte-order problems.
@@ -671,6 +678,8 @@ Awaiting updated patches:
                        Search in 'runtimepath'?
                        More docs needed about how to use this.
                        How to get the messages into the .po files?
+    charlen()          Like strlen() but counting characters instead of
+                       bytes.
     confirm()          add "flags" argument, with 'v' for vertical
                            layout and 'c' for console dialog. (Haegg)
                            Flemming Madsen has a patch for the 'c' flag
@@ -1189,7 +1198,8 @@ Macintosh:
 9   For Turkish vim_tolower() and vim_toupper() also need to use utf_
     functions for characters below 0x80. (Sertacyildiz)
 9   When the last edited file is a help file, using '0 in a new Vim doesn't
-    edit the file as a help file.
+    edit the file as a help file.  'filetype' is OK, but 'iskeyword' isn't,
+    file isn't readonly, etc.
 8   When an ":edit" is inside a try command and the ATTENTION prompt is used,
     the :catch commands are always executed, also when the file is edited
     normally.  Should reset did_emsg and undo side effects.  Also make sure
@@ -1198,6 +1208,7 @@ Macintosh:
     'fileencoding' set to "bar", then do_ecmd() uses that buffer, even though
     the fileencoding differs.  Reload the buffer in this situation?  Need to
     check for the buffer to be unmodified.
+    Unfinished patch by Ian Kelling, 2008 Jul 11.
 8   ":g//" gives "Pattern not found error" with E486.  Should not use the
     error number, it's not a regular error message.
 7   Vimtutor leaves escape sequence in terminal. This is the xterm response to
@@ -1296,15 +1307,13 @@ Macintosh:
 9   When editing a file with 'readonly' set, there is no check for an existing
     swap file.  Then using ":write" (without making any changes) doesn't give
     a warning either.  Should check for an existing swap file without creating
-    one.
+    one. Unfinished patch by Ian Kelling, 2008 July 7.
 7   When 'showbreak' is set, the amount of space a Tab occupies changes.
     Should work like 'showbreak' is inserted without changing the Tabs.
 7   When 'mousefocus' is set and switching to another window with a typed
     command, the mouse pointer may be moved to a part of the window that's
     covered by another window and we lose focus.  Only move in the y
     direction, not horizontally?
-8   When using CTRL-D after ":help", restrict the number of matches to a
-    thousand, otherwise using CTRL-D without an argument takes too long.
 8   ":hardcopy":
     - Using the cterm_color[] table is wrong when t_colors is > 16.
     - Need to handle unprintable characters.
@@ -1703,6 +1712,10 @@ Tab pages:
 
 
 Spell checking:
+-   have some way not to give spelling errors for a range of characters.
+    E.g. for Chinese and other languages with specific characters for which we
+    don't have a spell file.  Useful when there is also text in other
+    languages in the file.
 -   Support more regions? Caolan McNamara argues it's needed for es_XX.
     https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=219777    
 -   Unicode defines another quote character: 0x2019.  Use it as an equivalent
@@ -1727,7 +1740,7 @@ Spell checking:
     WFP_COMPPERMIT and WFP_COMPFORBID
 8   implement use of <compoptions> in .spl file:
     implement CHECKCOMPOUNDREP: when a compound word seems to be OK apply REP
-    items and theck if the result is a valid word.
+    items and check if the result is a valid word.
     implement CHECKCOMPOUNDDUP
     implement CHECKCOMPOUNDTRIPLE
     Add CHECKCOMPOUNDCASE: when compounding make leading capital lower case.
@@ -2251,8 +2264,12 @@ Robustness:
 
 
 Performance:
-7   For strings up to 3 bytes don't allocate memory, use v_list itself as a
-    character array.  Use VAR_SSTRING (short string).
+7   For string variables up to 3 bytes don't allocate memory, use v_list
+    itself as a character array.  Use VAR_SSTRING (short string).
+8   move_lines() copies every line into allocated memory, making reloading a
+    buffer a lot slower than re-editing the file.  Can the memline be locked
+    so that we don't need to make a copy?  Or avoid invoking ml_updatechunk(),
+    that is taking a lot of time.  (Ralf Wildenhues, 2008 Jul 7)
 8   Instead of loading rgb.txt every time a color wasn't recognized load it
     once and keep it in memory.  Move the code to a common place to avoid
     repeating it in various system files.
@@ -2471,6 +2488,11 @@ Tags:
     match.  Remove tag_fname from the match and combine it with the fname in
     the match (without expanding or other things that take time).  When
     'tagrelative' is off tag_fname isn't needed at all.
+8   For 'tags' wildcard in the file name is not supported, only in the path.
+    This is due to it using |file-searching|. Suboptimal solution would be to
+    make the filename or the whole option use |wildcards| globing, better
+    would be to merge the 2 kinds of globing. originall (Erik Falor, 2008
+    April 18), updated (Ian Kelling, 2008 July 4)
 8   Use a mechanism similar to omni completion to figure out the kind of tab
     for CTRL-] and jump to the appropriate matching tag (if there are
     several).
@@ -2724,6 +2746,8 @@ Autocommands:
 
 
 Omni completion:
+-   Add a flag to 'complete' to be able to do omni completion with CTRL-N (and
+    mix it with other kinds of completion).
 -   Ideas from the Vim 7 BOF at SANE:
        - For interpreted languages, use the interpreter to obtain information.
          Should work for Java (Eclipse does this), Python, Tcl, etc.
@@ -2755,6 +2779,9 @@ Insert mode completion/expansion:
 -   GUI implementation of the popup menu.
 7   When searching in other files the name flash by, too fast to read.  Only
     display a name every second or so, like with ":vimgrep".
+7   When expanding file names with an environment variable, add the match with
+    the unexpanded var.  So $HOME/tm expands to "/home/guy/tmp" and
+    "$HOME/tmp"
 8   When there is no word before the cursor but something like "sys." complete
     with "sys.".  Works well for C and similar languages.
 9   ^X^L completion doesn't repeat correctly.  It uses the first match with
@@ -2903,6 +2930,7 @@ Insert mode:
     same change, so that "." repeats the whole insert.
 7   Use CTRL-G <count> to repeat what follows.  Useful for inserting a
     character multiple times or repeating CTRL-Y.
+-   Make 'revins' work in Replace mode.
 7   Use 'matchpairs' for 'showmatch': When inserting a character check if it
     appears in the rhs of 'matchpairs'.
 -   In Insert mode (and command line editing?): Allow undo of the last typed
@@ -3558,6 +3586,8 @@ Multiple Windows:
 7   Use CTRL-W <Tab>, like alt-tab, to switch between buffers.  Repeat <Tab>
     to select another buffer (only loaded ones?), <BS> to go back, <Enter> to
     select buffer, <Esc> to go back to original buffer.
+7   Make it possible to edit a new buffer in the preview window.  A script can
+    then fill it with something.  ":popen"?
 7   Add a 'tool' window: behaves like a preview window but there can be
     several.  Don't count it in only_one_window(). (Alexei Alexandrov)
 6   Add an option to resize the shell when splitting and/or closing a window.
index 4842769d5b3b08b7541fbeb985f2bb42bcd96dd5..655725f41294440fe77cbfc9aa8ecb2a49463da0 100644 (file)
@@ -1,4 +1,4 @@
-*uganda.txt*    For Vim version 7.2a.  Last change: 2008 Jun 21
+*uganda.txt*    For Vim version 7.2b.  Last change: 2008 Jun 21
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 33d4e3178e89f8840e058d978b2c504292409101..6940102f43426f1d5078e9e2ae3a6828e769c6f3 100644 (file)
@@ -1,4 +1,4 @@
-*undo.txt*      For Vim version 7.2a.  Last change: 2006 Apr 30
+*undo.txt*      For Vim version 7.2b.  Last change: 2006 Apr 30
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 1e00a110c0f9e180076a04c770dd1326c7efa0e7..3a56abedce4299f63a300f14278ffbeec537b34f 100644 (file)
@@ -1,4 +1,4 @@
-*usr_01.txt*   For Vim version 7.2a.  Last change: 2008 May 07
+*usr_01.txt*   For Vim version 7.2b.  Last change: 2008 May 07
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index 44907b0e2d56f7cc3a34a58a4e2acfeda3dfdbbd..f47c63e21b7ed87074a00c177d5e57c527f9670e 100644 (file)
@@ -1,4 +1,4 @@
-*usr_02.txt*   For Vim version 7.2a.  Last change: 2007 Feb 28
+*usr_02.txt*   For Vim version 7.2b.  Last change: 2007 Feb 28
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index c5f114c9cea19b8ecc670983e70db9a5da5031c9..47d24d455b75425dcb7d1ab02d208d4f1cee4111 100644 (file)
@@ -1,4 +1,4 @@
-*usr_03.txt*   For Vim version 7.2a.  Last change: 2006 Jun 21
+*usr_03.txt*   For Vim version 7.2b.  Last change: 2006 Jun 21
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index b8f9c4ddbd213e308176fe019f3f38a8706e9e3b..dd6a84c0e02606a1abcd5c1bed16ae8645bfd5b6 100644 (file)
@@ -1,4 +1,4 @@
-*usr_04.txt*   For Vim version 7.2a.  Last change: 2006 Jun 21
+*usr_04.txt*   For Vim version 7.2b.  Last change: 2006 Jun 21
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index bfa3926dec89cca959ec8b4ed857c8925af9a0d9..93c34ded3608261cb012f0dfb3cfeabb809e44d1 100644 (file)
@@ -1,4 +1,4 @@
-*usr_05.txt*   For Vim version 7.2a.  Last change: 2007 May 11
+*usr_05.txt*   For Vim version 7.2b.  Last change: 2007 May 11
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index 626af3d009b1ad2b9077c9485a79cf5b1908d0de..8ee32c43d08e4674f36d3a48ab4dafc1d3b98837 100644 (file)
@@ -1,4 +1,4 @@
-*usr_06.txt*   For Vim version 7.2a.  Last change: 2006 Apr 24
+*usr_06.txt*   For Vim version 7.2b.  Last change: 2006 Apr 24
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index 86a46ecade01335640ae333fb76297acde24e29e..ac2164961aaf523bef81d546cadba6a684f4edb8 100644 (file)
@@ -1,4 +1,4 @@
-*usr_07.txt*   For Vim version 7.2a.  Last change: 2006 Apr 24
+*usr_07.txt*   For Vim version 7.2b.  Last change: 2006 Apr 24
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index 144f6cc8d368795c9714d86fe1d6635e93d32f4e..5c3a93e548a3e9d83578fc43f13e1ed7ae6ecd54 100644 (file)
@@ -1,4 +1,4 @@
-*usr_08.txt*   For Vim version 7.2a.  Last change: 2006 Jul 18
+*usr_08.txt*   For Vim version 7.2b.  Last change: 2006 Jul 18
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index 69a431c3cc11934ec89f61736abdb42fbc41ea64..d2c652e908b55d5857dead8d308c27313fabc785 100644 (file)
@@ -1,4 +1,4 @@
-*usr_09.txt*   For Vim version 7.2a.  Last change: 2006 Apr 24
+*usr_09.txt*   For Vim version 7.2b.  Last change: 2006 Apr 24
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index 168b089b3e70313304a2335f4e56b75b9a486932..b41976f50a5c277247d5ddcb0bc20e3d5fbe85c6 100644 (file)
@@ -1,4 +1,4 @@
-*usr_10.txt*   For Vim version 7.2a.  Last change: 2006 Nov 05
+*usr_10.txt*   For Vim version 7.2b.  Last change: 2006 Nov 05
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index edb45981f9aff46bfbe62dc4cdbc68d9ddd14435..d23743afeca0e9d845fb8e9c6d40502803dc7558 100644 (file)
@@ -1,4 +1,4 @@
-*usr_11.txt*   For Vim version 7.2a.  Last change: 2006 Apr 24
+*usr_11.txt*   For Vim version 7.2b.  Last change: 2006 Apr 24
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index 7e2f413d422cd45d89a2fa840d01491c5ae64e4d..3988de8f4a2e4f4a93e32c3445ea36f8ea158a63 100644 (file)
@@ -1,4 +1,4 @@
-*usr_12.txt*   For Vim version 7.2a.  Last change: 2007 May 11
+*usr_12.txt*   For Vim version 7.2b.  Last change: 2007 May 11
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index 84c58f7d0e598f02850834a7942543c790345d97..864559c5fbafbed8da20c59d2ede18794eb421de 100644 (file)
@@ -1,4 +1,4 @@
-*usr_20.txt*   For Vim version 7.2a.  Last change: 2006 Apr 24
+*usr_20.txt*   For Vim version 7.2b.  Last change: 2006 Apr 24
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index 3eabb6866310ba3a42548fa162204c0a05abeb51..b15e7f0118086c35faa7469720da86829421f03a 100644 (file)
@@ -1,4 +1,4 @@
-*usr_21.txt*   For Vim version 7.2a.  Last change: 2007 May 01
+*usr_21.txt*   For Vim version 7.2b.  Last change: 2007 May 01
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index 5a13b871e822dc868519838af32a806fd2698c05..a642c59b33d209c8de5950f2aca567003e34b9da 100644 (file)
@@ -1,4 +1,4 @@
-*usr_22.txt*   For Vim version 7.2a.  Last change: 2007 Aug 14
+*usr_22.txt*   For Vim version 7.2b.  Last change: 2007 Aug 14
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index e0aa05dcb07793be34d8dc3786afc73f51f693e7..ead8711c9bddd35be12f7a2c5699deb8dac57930 100644 (file)
@@ -1,4 +1,4 @@
-*usr_23.txt*   For Vim version 7.2a.  Last change: 2006 Apr 24
+*usr_23.txt*   For Vim version 7.2b.  Last change: 2006 Apr 24
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index 35911bde5485ba8c7aae646f04bb11f7d05c21ff..eab8a36dd8221aec19976dd9c1ba69378f60b76a 100644 (file)
@@ -1,4 +1,4 @@
-*usr_24.txt*   For Vim version 7.2a.  Last change: 2006 Jul 23
+*usr_24.txt*   For Vim version 7.2b.  Last change: 2006 Jul 23
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index 6337871496e720676fcd03feee454ab71e9a189e..22ddddf1a62f0c424f913c21016503f635430a9b 100644 (file)
@@ -1,4 +1,4 @@
-*usr_25.txt*   For Vim version 7.2a.  Last change: 2007 May 11
+*usr_25.txt*   For Vim version 7.2b.  Last change: 2007 May 11
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index 0c9f2c8cfb0d1d4afef6daa9bff46a39b6eaaac7..b8252dd4d1535f7fa54ae619680f1ee9aa0a491a 100644 (file)
@@ -1,4 +1,4 @@
-*usr_26.txt*   For Vim version 7.2a.  Last change: 2006 Apr 24
+*usr_26.txt*   For Vim version 7.2b.  Last change: 2006 Apr 24
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index 71bfdda98d06604f02a814bc6bbb2b2016b4666f..d2d0cc4ef6b8695a012535fd53f3d9df0f8476d6 100644 (file)
@@ -1,4 +1,4 @@
-*usr_27.txt*   For Vim version 7.2a.  Last change: 2007 Nov 10
+*usr_27.txt*   For Vim version 7.2b.  Last change: 2007 Nov 10
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index 76644bb674c1aaaec57782edeb81235eb0796004..045aef8fd8a24bba61e7adbfc339ac40a6697b1c 100644 (file)
@@ -1,4 +1,4 @@
-*usr_28.txt*   For Vim version 7.2a.  Last change: 2008 Jun 14
+*usr_28.txt*   For Vim version 7.2b.  Last change: 2008 Jun 14
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index a314256c19f06dd36b92ded697529dcdc6ce4800..20f72ea287f51cbdb7c65752a3e4c59c331e104c 100644 (file)
@@ -1,4 +1,4 @@
-*usr_29.txt*   For Vim version 7.2a.  Last change: 2007 Nov 10
+*usr_29.txt*   For Vim version 7.2b.  Last change: 2008 Jun 28
 
                     VIM USER MANUAL - by Bram Moolenaar
 
@@ -594,8 +594,8 @@ use this command: >
 
 This will go back to the start of the current function and find the first
 occurrence of the word under the cursor.  Actually, it searches backwards to
-an empty line above the a "{" in the first column.  From there it searches
-forward for the identifier.  Example (cursor on "idx"):
+an empty line above a "{" in the first column.  From there it searches forward
+for the identifier.  Example (cursor on "idx"):
 
                int find_entry(char *name)
                {
index 4998511359952ac3a673b6cfa6f7e154acd58566..51ffcdfae427af951e9cc69514db4bf644cafa69 100644 (file)
@@ -1,4 +1,4 @@
-*usr_30.txt*   For Vim version 7.2a.  Last change: 2007 Nov 10
+*usr_30.txt*   For Vim version 7.2b.  Last change: 2007 Nov 10
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index 941ab6895792d26123c4d427d994de4b6cc4b226..403086fb8156357e110777fe34f4813481ada57d 100644 (file)
@@ -1,4 +1,4 @@
-*usr_31.txt*   For Vim version 7.2a.  Last change: 2007 May 08
+*usr_31.txt*   For Vim version 7.2b.  Last change: 2007 May 08
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index ed95a0d158e6e5b6957c1864e1add2a3e31e310b..b049540bc30014134dbc8e584feebf6c38f4df30 100644 (file)
@@ -1,4 +1,4 @@
-*usr_32.txt*   For Vim version 7.2a.  Last change: 2006 Apr 30
+*usr_32.txt*   For Vim version 7.2b.  Last change: 2006 Apr 30
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index dd90ba925dbb78e010d5e11339d7298e26f9895b..cc8acc1840650e9df867b6b21b034e53a30742f2 100644 (file)
@@ -1,4 +1,4 @@
-*usr_40.txt*   For Vim version 7.2a.  Last change: 2006 Jun 21
+*usr_40.txt*   For Vim version 7.2b.  Last change: 2006 Jun 21
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index 38e511fa7c90cd42fdf0ea68365a05ef674bed78..25e911ac707c797923e06bdbba7ad76741a75dab 100644 (file)
@@ -1,4 +1,4 @@
-*usr_41.txt*   For Vim version 7.2a.  Last change: 2008 Jun 21
+*usr_41.txt*   For Vim version 7.2b.  Last change: 2008 Jun 21
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index a40bf3b778d8e6fc4535d3ac8af4ddcc508b1ec2..b8c4eea0e0c74da8a394166b376853192e67783e 100644 (file)
@@ -1,4 +1,4 @@
-*usr_42.txt*   For Vim version 7.2a.  Last change: 2008 May 05
+*usr_42.txt*   For Vim version 7.2b.  Last change: 2008 May 05
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index 65ac9b64b028a40cc9b60a0aeefec6b7bfb73d20..dbf3b86715b7e18d3fa95e6956ade5ecf989b8f6 100644 (file)
@@ -1,4 +1,4 @@
-*usr_43.txt*   For Vim version 7.2a.  Last change: 2006 Apr 24
+*usr_43.txt*   For Vim version 7.2b.  Last change: 2006 Apr 24
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index b9f29e3d2819e338955d174a1757d2bcdf39d580..19165d473b249c4f1659858ea390f0ef7a5c430e 100644 (file)
@@ -1,4 +1,4 @@
-*usr_44.txt*   For Vim version 7.2a.  Last change: 2006 Apr 24
+*usr_44.txt*   For Vim version 7.2b.  Last change: 2006 Apr 24
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index 5c83d1ce4105df3435fbf9de7f22b47df702e0e6..5f6a14f05e4d7768d3f3e459bada0df9f744871e 100644 (file)
@@ -1,4 +1,4 @@
-*usr_45.txt*   For Vim version 7.2a.  Last change: 2008 Apr 30
+*usr_45.txt*   For Vim version 7.2b.  Last change: 2008 Apr 30
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index f80c0af3271bd04c98d9bb738881240dabe0ce69..24efda2e3b855284c02edfbeac54416752e6e220 100644 (file)
@@ -1,4 +1,4 @@
-*usr_90.txt*   For Vim version 7.2a.  Last change: 2006 Apr 24
+*usr_90.txt*   For Vim version 7.2b.  Last change: 2006 Apr 24
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index d649aca99056ad0cbeef00d3975b0110a3a3a9d0..75f29ce6a3e89945fb722cb5eb5b23afec9766a8 100644 (file)
@@ -1,4 +1,4 @@
-*usr_toc.txt*  For Vim version 7.2a.  Last change: 2006 Apr 24
+*usr_toc.txt*  For Vim version 7.2b.  Last change: 2006 Apr 24
 
                     VIM USER MANUAL - by Bram Moolenaar
 
index 16b2d0d1ae2250a4968a53ba8e6e709944f431c6..e8f4de16f85dd7562a744482989cf1800c5d8945 100644 (file)
@@ -1,4 +1,4 @@
-*various.txt*   For Vim version 7.2a.  Last change: 2008 Jun 08
+*various.txt*   For Vim version 7.2b.  Last change: 2008 Jun 08
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -816,7 +816,7 @@ The second one finds the English user manual, even when 'helplang' is set to
 "it".
 
 When using command-line completion for the ":help" command, the "@en"
-extention is only shown when a tag exists for multiple languages.  When the
+extension is only shown when a tag exists for multiple languages.  When the
 tag only exists for English "@en" is omitted.
 
 When using |CTRL-]| or ":help!" in a non-English help file Vim will try to
index 8211a8d1ca4a1bab90b3d2d1e4be8123a24a6d96..5eb624124b39dc3eefe2dc1ba94b3c0af0d21106 100644 (file)
@@ -1,4 +1,4 @@
-*version4.txt*  For Vim version 7.2a.  Last change: 2006 Apr 24
+*version4.txt*  For Vim version 7.2b.  Last change: 2006 Apr 24
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 538c24572d9f679a350526a8357c0f4b4bb00a42..81205778d64ba07b57fc4a2370aef014d3aced16 100644 (file)
@@ -1,4 +1,4 @@
-*version5.txt*  For Vim version 7.2a.  Last change: 2007 May 11
+*version5.txt*  For Vim version 7.2b.  Last change: 2008 Jun 28
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -1992,7 +1992,7 @@ because the compare with other tags was wrong.  E.g., when "mnuFileSave" was
 already there, "mnuFile" would be skipped. (Negri)
 
 When scrolling up/down, a syntax item with "keepend" didn't work properly.
-Now the flags are also stored for the syntax state a the start of each line.
+Now the flags are also stored for the syntax state at the start of each line.
 
 When 'ic' was changed while 'hlsearch' is on, there was no redraw to show the
 effect.
@@ -3067,7 +3067,7 @@ character in the line, instead of just after it.
 
 5.2.7: Win32 GUI: scrollbar was one pixel too big.
 
-5.2.8: Completion of "PopUp" menu showed the derivates "PopUpc", "PopUPi",
+5.2.8: Completion of "PopUp" menu showed the derivatives "PopUpc", "PopUPi",
 etc.  ":menu" also showed these.
 
 5.2.9: When using two input() functions on a row, the prompt would not be
index 1f3699c1f844a597f6215ed8a6b7a28c8f0547ed..0ab4d1deb3bb7cb0250bd09365641ac146a841a4 100644 (file)
@@ -1,4 +1,4 @@
-*version6.txt*  For Vim version 7.2a.  Last change: 2007 May 11
+*version6.txt*  For Vim version 7.2b.  Last change: 2007 May 11
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -13235,7 +13235,7 @@ Files:      src/fileio.c
 
 Patch 6.2.499
 Problem:    When writing a file and halting the system, the file might be lost
-           when using a journalling file system.
+           when using a journaling file system.
 Solution:   Use fsync() to flush the file data to disk after writing a file.
            (Radim Kolar)
 Files:     src/fileio.c
index 786a0b325cdbca582d13606dd53d7f285a5b488d..7f450f4276e5fa49da7a68febb0b3bdae2c13c2c 100644 (file)
@@ -1,4 +1,4 @@
-*version7.txt*  For Vim version 7.2a.  Last change: 2008 Jun 24
+*version7.txt*  For Vim version 7.2b.  Last change: 2008 Jul 13
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -263,7 +263,7 @@ Currently supported languages:
        Ruby                                    |ft-ruby-omni|
        SQL                                     |ft-sql-omni|
        XML                                     |ft-xml-omni|
-       any language wih syntax highligting     |ft-syntax-omni|
+       any language with syntax highlighting   |ft-syntax-omni|
 
 You can add your own omni completion scripts.
 
@@ -3397,7 +3397,7 @@ Solution:   Include vim.h as before. (Mark S. Williams)
 Files:     src/if_ole.cpp
 
 Patch 7.0.058
-Problem:    The gbk and and gb18030 encodings are not recognized.
+Problem:    The gbk and gb18030 encodings are not recognized.
 Solution:   Add aliases to cp936. (Edward L. Fox)
 Files:     src/mbyte.c
 
@@ -4655,27 +4655,35 @@ Moved including fcntl.h to vim.h and removed it from all .c files.
 Introduce macro STRMOVE(d, s), like STRCPY() for overlapping strings.
 Use it instead of mch_memmove(p, p + x, STRLEN(p + x) + 1).
 
+Removed the bulgarian.vim keymap file, two more standard ones replace it.
+(Boyko Bantchev)
+
+Increased the maximum number of tag matches for command line completion from
+200 to 300.
+
 
 Added                                                  *added-7.2*
 -----
 
 New syntax files:
+       CUDA (Timothy B. Terriberry)
        Cdrdao config (Nikolai Weibull)
        Coco/R (Ashish Shukla)
-       CUDA (Timothy B. Terriberry)
-       denyhosts config (Nikolai Weibull)
        Dtrace script (Nicolas Weber)
        Git output, commit, config, rebase, send-email (Tim Pope)
-       HASTE (M. Tranchero)
+       HASTE and HastePreProc (M. Tranchero)
+       Haml (Tim Pope)
        Host conf (Nikolai Weibull)
        Linden script (Timo Frenay)
-       Symbian meta-makefile, MMP (Ron Aaron)
        MS messages (Kevin Locke)
        PDF (Tim Pope)
        ProMeLa (Maurizio Tranchero)
        Reva Foth (Ron Aaron)
+       Sass (Tim Pope)
+       Symbian meta-makefile, MMP (Ron Aaron)
        VOS CM macro (Andrew McGill)
        XBL (Doug Kearns)
+       denyhosts config (Nikolai Weibull)
 
 New tutor files:
        Made UTF-8 versions of all the tutor files.
@@ -4690,21 +4698,31 @@ New filetype plugins:
        Dos .ini file (Nikolai Weibull)
        Dtrace script (Nicolas Weber)
        Git, Git config, Git commit, Git rebase, Git send-email (Tim Pope)
+       Haml (Tim Pope)
        Host conf (Nikolai Weibull)
+       Logtalk (Paulo Moura)
        MS messages (Kevin Locke)
        PDF (Tim Pope)
        Reva Forth (Ron Aaron)
+       Sass (Tim Pope)
 
 New indent files:
        Dtrace script (Nicolas Weber)
        Erlang (Csaba Hoch)
        Git config (Tim Pope)
+       Haml (Tim Pope)
+       Logtalk (Paulo Moura)
+       Sass (Tim Pope)
        Tiny Fugue (Christian J. Robinson)
 
+New compiler plugins:
+       RSpec (Tim Pope)
+
 New keymap files:
        Croatian (Paul B. Mahol)
        Russian Dvorak (Serhiy Boiko)
        Ukrainian Dvorak (Serhiy Boiko)
+       Removed plain Bulgarian, "bds" and phonetic are sufficient.
 
 Other new runtime files:
        Esperanto menus and message translations. (Dominique Pelle)
@@ -5116,7 +5134,7 @@ Solution:   Adjust ind_len. (Chris Lubinski)
 Files:     src/misc1.c
 
 Patch 7.1.063 (after 7.1.040)
-Problem:    Warning for unitialized variable.
+Problem:    Warning for uninitialized variable.
 Solution:   Initialise it to NULL.
 Files:     src/ex_docmd.c
 
@@ -5184,7 +5202,7 @@ Solution:   Handle the situation that we start without indent. (Chris
 Files:     src/misc1.c
 
 Patch 7.1.074
-Problem:    Crash when calling string() on a recurively nested List.
+Problem:    Crash when calling string() on a recursively nested List.
 Solution:   Check result value for being NULL. (Yukihiro Nakadaira)
 Files:     src/eval.c
 
@@ -5487,7 +5505,7 @@ Patch 7.1.124 (extra)
 Problem:    Mac: When dropping a file on Vim.app that is already in the buffer
            list (from .viminfo) results in editing an empty, unnamed buffer.
            (Axel Kielhorn)  Also: warning for unused variable.
-Solution:   Move to the buffer of the first agument.  Delete unused variable.
+Solution:   Move to the buffer of the first argument.  Delete unused variable.
 Files:     src/gui_mac.c
 
 Patch 7.1.125
@@ -6098,7 +6116,7 @@ Solution:   use set_option_value() to set 'rightleft'.
 Files:     src/main.c
 
 Patch 7.1.225
-Problem:    Using unitialized value when XGetWMNormalHints() fails.
+Problem:    Using uninitialized value when XGetWMNormalHints() fails.
 Solution:   Check the return value. (Dominique Pelle)
 Files:     src/os_unix.c
 
@@ -6195,7 +6213,7 @@ Problem:    When "gUe" turns a German sharp s into SS the operation stops
            not changed to SS there.
 Solution:   Make sure all the characters are operated upon.  Detect the sharp
            s in latin2.  Also fixes that changing case of a multi-byte
-           character that changes the byte cound doesn't always work.
+           character that changes the byte count doesn't always work.
 Files:     src/ops.c
 
 Patch 7.1.241
@@ -6350,7 +6368,7 @@ Solution:   Assume the escape sequence ends in a letter.
 Files:     src/term.c
 
 Patch 7.1.267
-Problem:    When changing folds cursor may be posioned in the wrong place.
+Problem:    When changing folds cursor may be positioned in the wrong place.
 Solution:   Call changed_window_setting_win() instead of
            changed_window_setting().
 Files:     src/fold.c
@@ -6676,7 +6694,7 @@ Solution:   Add the 'v' argument to getpos().
 Files:     runtime/doc/eval.txt, src/eval.c
 
 Patch 7.1.323
-Problem:    Test 19 fails with some termcaps. (Dominque Pelle)
+Problem:    Test 19 fails with some termcaps. (Dominique Pelle)
 Solution:   Set the t_kb and t_kD termcap values.
 Files:     src/testdir/test19.in, src/testdir/test38.in
 
@@ -6771,5 +6789,152 @@ Setting 'pastetoggle' to "jj" didn't work.
 'ic' and 'smartcase' don't work properly when using \%V in a search pattern.
 (Kana Natsuno)
 
+Patch 7.2a.001
+Problem:    On some systems X11/Xlib.h exists (from X11-dev package) but
+           X11/Intrinsic.h does not (in Xt-dev package).  This breaks the
+           build.  Also, on Solaris 9 sys/ptem.h isn't found.
+Solution:   Have configure only accept X11 when X11/Intrinsic.h exists.
+           Check for sys/ptem.h while including sys/stream.h. (Vladimir
+           Marek)
+Files:     src/auto/configure, src/configure.in
+
+Patch 7.2a.002
+Problem:    getbufvar(N, "") gets the dictionary of the current buffer instead
+           of buffer N.
+Solution:   Set curbuf before calling find_var_in_ht(). (Kana Natsuno)
+Files:     src/eval.c
+
+Patch 7.2a.003
+Problem:    Leaking memory when using ":file name" and using access control
+           lists.
+Solution:   Invoke mch_free_acl() in vim_rename(). (Dominique Pelle)
+Files:     src/fileio.c
+
+Patch 7.2a.004
+Problem:    Some systems can't get spell files by ftp.
+Solution:   Use http when it looks like it's possible. (James Vega)
+Files:     runtime/autoload/spellfile.vim
+
+Patch 7.2a.005
+Problem:    A few error messages use confusing names.  Misspelling.
+Solution:   Change "dissallows" to "disallows". (Dominique Pelle)  Change
+           "number" to "Number".
+Files:     src/eval.c, src/fileio.c
+
+Patch 7.2a.006
+Problem:    Reading past NUL in a string.
+Solution:   Check for invalid utf-8 byte sequence. (Dominique Pelle)
+Files:     src/charset.c
+
+Patch 7.2a.007
+Problem:    ":let v = 1.2.3" was OK in Vim 7.1, now it gives an error.
+Solution:   Don't look for a floating point number after the "." operator.
+Files:     src/eval.c
+
+Patch 7.2a.008
+Problem:    printf("%g", 1) doesn't work.
+Solution:   Convert Number to Float when needed.
+Files:     src/message.c
+
+Patch 7.2a.009
+Problem:    cygwin_conv_to_posix_path() does not specify buffer size.
+Solution:   Use new Cygwin function: cygwin_conv_path(). (Corinna Vinschen)
+Files:     src/main.c, src/os_unix.c
+
+Patch 7.2a.010
+Problem:    When a file name has an illegal byte sequence Vim may read
+           uninitialised memory.
+Solution:   Don't use UTF_COMPOSINGLIKE() on an illegal byte.  In
+           msg_outtrans_len_attr() use char2cells() instead of ptr2cells().
+           In utf_ptr2char() don't check second byte when first byte is
+           illega.  (Dominique Pelle)
+Files:     src/mbyte.c, src/message.c
+
+Patch 7.2a.011
+Problem:    The Edit/Startup Settings menu doesn't work.
+Solution:   Expand environment variables. (Ben Schmidt)
+Files:     runtime/menu.vim
+
+Patch 7.2a.012
+Problem:    Compiler warnings for casting int to pointer.
+Solution:   Add cast to long in between. (Martin Toft)
+Files:     src/gui_gtk_x11.c
+
+Patch 7.2a.013
+Problem:    shellescape() does not escape "%" and "#" characters.
+Solution:   Add find_cmdline_var() and use it when the second argument to
+           shellescape() is non-zero.
+Files:     runtime/doc/eval.txt, src/eval.c, src/ex_docmd.c,
+           src/proto/ex_docmd.pro, src/proto/misc2.pro, src/misc2.c
+
+Patch 7.2a.014
+Problem:    Problem with % in message.
+Solution:   Put % in single quotes.
+Files:     src/eval.c
+
+Patch 7.2a.015 (after 7.2a.010)
+Problem:    Misaligned messages.
+Solution:   Compute length of unprintable chars correctly.
+Files:     src/message.c
+
+Patch 7.2a.016
+Problem:    Using CTRL-W v in the quickfix window results in two quickfix
+           windows, which is not allowed.  ":tab split" should be allowed to
+           open a new quickfix window in another tab.
+Solution:   For CTRL-W v instead of splitting the window open a new one.
+           When using ":tab" do allow splitting the quickfix window (was
+           already included in patch 7.2a.013).
+Files:     src/window.c
+
+Patch 7.2a.017
+Problem:    ":doautoall" executes autocommands for all buffers instead of just
+           for loaded buffers.
+Solution:   Change "curbuf" to "buf".
+Files:     src/fileio.c
+
+Patch 7.2a.018
+Problem:    Compiler warnings when compiling with Gnome. (Tony Mechelynck)
+Solution:   Add type casts.
+Files:     src/gui_gtk_x11.c
+
+Patch 7.2a.019
+Problem:    ":let &g:tw = 44" sets the local option value. (Cyril Slobin)
+Solution:   Use get_varp_scope() instead of get_varp(). (Ian Kelling)
+Files:     src/option.c
+
+There is no way to avoid adding /usr/local/{include|lib} to the build
+commands.  Add the --with-local-dir argument to configure. (Michael
+Haubenwallner)
+
+When using CTRL-D after ":help", the number of matches could be thousands.
+Restrict to TAG_MANY to avoid this taking too long. (Ian Kelling)
+
+The popup menu could be placed at a weird location.  Caused by w_wcol computed
+by curs_columns().  (Dominique Pelle)
+
+Overlapping STRCPY() arguments when using %r item in 'errorformat'.  Use
+STRMOVE() instead. (Ralf Wildenhues)
+
+Mac: On Leopard gvim, when using the mouse wheel nothing would happen until
+another event occures, such as moving the mouse.  Then the recorded scrolling
+would take place all at once. (Eckehard Berns)
+
+Solution for cursor color not reflecting IM status for GTK 2.  Add
+preedit_is_active flag. (SungHyun Nam)
+
+filereadable() can hang on a FIFO on Linux.  Use open() instead of fopen(),
+with O_NONBLOCK. (suggested by Lars Kotthoff)
+
+Included patch to support Perl 5.10. (Yasuhiro Matsumoto)
+
+When files are dropped on gvim while the screen is being updated, ignore the
+drop command to avoid freeing memory that is being used.
+
+In a terminal, when drawing the popup menu over double-wide characters, half
+characters may not be cleared properly. (Yukihiro Nakadaira)
+
+The #ifdef for including "vimio.h" was inconsistent.  In a few files it
+depended on MSWIN, which isn't defined until later.
+
 
  vim:tw=78:ts=8:ft=help:norl:
index df1452d2c3002c4dc070ffb828f1203dcfd09a2b..bd5df64dc4b145186c5f9a4f982b8497e8bcb937 100644 (file)
@@ -1,4 +1,4 @@
-*vi_diff.txt*   For Vim version 7.2a.  Last change: 2008 May 05
+*vi_diff.txt*   For Vim version 7.2b.  Last change: 2008 Jun 28
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -383,7 +383,7 @@ Improved indenting for programs.                    |'cindent'|
 Searching for words in included files.                 |include-search|
        The |[i| command can be used to search for a match of the word under
        the cursor in the current and included files.  The 'include' option
-       can be set the a pattern that describes a command to include a file
+       can be set to a pattern that describes a command to include a file
        (the default is for C programs).
        The |[I| command lists all matches, the |[_CTRL-I| command jumps to
        a match.
index 4858bb88b9e0eaa667b3dc3b149159e3cc36a777..fca71f3607439f2f135d3ae6dfa3bb4e9d2eb8da 100644 (file)
@@ -1,4 +1,4 @@
-*visual.txt*    For Vim version 7.2a.  Last change: 2006 Sep 26
+*visual.txt*    For Vim version 7.2b.  Last change: 2006 Sep 26
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index dc9c20ccb09e10a896d2fc5edd7704189d258553..40e98c441f671fa1e2a3750815073e5775808593 100644 (file)
@@ -1,4 +1,4 @@
-*windows.txt*   For Vim version 7.2a.  Last change: 2007 Oct 07
+*windows.txt*   For Vim version 7.2b.  Last change: 2008 Jul 05
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -190,8 +190,8 @@ CTRL-W CTRL_N                                               *CTRL-W_CTRL-N*
                Same as ":split", but set 'readonly' option for this buffer.
 
 :[N]sf[ind] [++opt] [+cmd] {file}              *:sf* *:sfind* *splitfind*
-               Same as ":split", but search for {file} in 'path'.  Doesn't
-               split if {file} is not found.
+               Same as ":split", but search for {file} in 'path' like in
+               |:find|.  Doesn't split if {file} is not found.
 
 CTRL-W CTRL-^                                  *CTRL-W_CTRL-^* *CTRL-W_^*
 CTRL-W ^       Does ":split #", split window in two and edit alternate file.
index c14bf718ae99c2f0cb07daeeb1f3e611aa488d51..e67685256c4b2c61a7403d146c6ec12ef9b9e7c8 100644 (file)
@@ -1,4 +1,4 @@
-*workshop.txt*  For Vim version 7.2a.  Last change: 2006 Apr 24
+*workshop.txt*  For Vim version 7.2b.  Last change: 2006 Apr 24
 
 
                  VIM REFERENCE MANUAL    by Gordon Prieur
index 89af04cce508bb259ba0ab3a8a482f5c2f2c8429..2ba2bfe69aeadf38dca19807c24449d900873c5e 100644 (file)
@@ -1,7 +1,7 @@
 " Vim support file to detect file types
 "
 " Maintainer:  Bram Moolenaar <Bram@vim.org>
-" Last Change: 2008 Jun 20
+" Last Change: 2008 Jul 08
 
 " Listen very carefully, I will say this only once
 if exists("did_load_filetypes")
@@ -17,7 +17,7 @@ augroup filetypedetect
 
 " Ignored extensions
 if exists("*fnameescape")
-au BufNewFile,BufRead ?\+.orig,?\+.bak,?\+.old,?\+.new,?\+.rpmsave,?\+.rpmnew
+au BufNewFile,BufRead ?\+.orig,?\+.bak,?\+.old,?\+.new,?\+.dpkg-dist,?\+.dpkg-old,?\+.rpmsave,?\+.rpmnew
        \ exe "doau filetypedetect BufRead " . fnameescape(expand("<afile>:r"))
 au BufNewFile,BufRead *~
        \ let s:name = expand("<afile>") |
@@ -633,7 +633,7 @@ func! s:FTe()
 endfunc
 
 " ERicsson LANGuage; Yaws is erlang too
-au BufNewFile,BufRead *.erl,*.yaws             setf erlang
+au BufNewFile,BufRead *.erl,*.hrl,*.yaws       setf erlang
 
 " Elm Filter Rules file
 au BufNewFile,BufRead filter-rules             setf elmfilt
@@ -739,11 +739,14 @@ au BufNewFile,BufRead *.groovy                    setf groovy
 au BufNewFile,BufRead *.gsp                    setf gsp
 
 " Group file
-au BufNewFile,BufRead /etc/group               setf group
+au BufNewFile,BufRead /etc/group,/etc/group-,/etc/group.edit,/etc/gshadow,/etc/gshadow-,/etc/gshadow.edit,/var/backups/group.bak,/var/backups/gshadow.bak              setf group
 
 " GTK RC
 au BufNewFile,BufRead .gtkrc,gtkrc             setf gtkrc
 
+" Haml
+au BufNewFile,BufRead *.haml                   setf haml
+
 " Hamster Classic | Playground files
 au BufNewFile,BufRead *.hsc,*.hsm              setf hamster
 
@@ -754,6 +757,7 @@ au BufNewFile,BufRead *.chs                 setf chaskell
 
 " Haste
 au BufNewFile,BufRead *.ht                     setf haste
+au BufNewFile,BufRead *.htpp                   setf hastepreproc
 
 " Hercules
 au BufNewFile,BufRead *.vc,*.ev,*.rs,*.sum,*.errsum    setf hercules
@@ -1016,6 +1020,9 @@ au BufNewFile,BufRead /etc/man.conf,man.config    setf manconf
 " Maple V
 au BufNewFile,BufRead *.mv,*.mpl,*.mws         setf maple
 
+" Map (UMN mapserver config file)
+au BufNewFile,BufRead *.map                    setf map
+
 " Mason
 au BufNewFile,BufRead *.mason,*.mhtml          setf mason
 
@@ -1226,7 +1233,7 @@ au BufNewFile,BufRead /etc/pam.conf               setf pamconf
 au BufNewFile,BufRead *.papp,*.pxml,*.pxsl     setf papp
 
 " Password file
-au BufNewFile,BufRead /etc/passwd,/etc/shadow,/etc/shadow- setf passwd
+au BufNewFile,BufRead /etc/passwd,/etc/passwd-,/etc/passwd.edit,/etc/shadow,/etc/shadow-,/var/backups/passwd.bak,/var/backups/shadow.bak setf passwd
 
 " Pascal (also *.p)
 au BufNewFile,BufRead *.pas                    setf pascal
@@ -1572,6 +1579,9 @@ au BufNewFile,BufRead smb.conf                    setf samba
 " SAS script
 au BufNewFile,BufRead *.sas                    setf sas
 
+" Sass
+au BufNewFile,BufRead *.sass                   setf sass
+
 " Sather
 au BufNewFile,BufRead *.sa                     setf sather
 
@@ -1796,7 +1806,7 @@ au BufNewFile,BufRead *.rules                     call s:FTRules()
 
 let s:ft_rules_udev_rules_pattern = '^\s*\cudev_rules\s*=\s*"\([^"]\{-1,}\)/*".*'
 func! s:FTRules()
-  if expand('<amatch>:p') =~ '^/etc/udev/rules\.d/.*\.rules$'
+  if expand('<amatch>:p') =~ '^/etc/udev/\%(rules\.d/\)\=.*\.rules$'
     setf udevrules
     return
   endif
@@ -2257,6 +2267,9 @@ au StdinReadPost * if !did_filetype() | runtime! scripts.vim | endif
 " Most of these should call s:StarSetf() to avoid names ending in .gz and the
 " like are used.
 
+" More Apache files.
+au BufNewFile,BufRead /etc/apache2/conf.*/*,/etc/apache2/sites-*/*,/etc/apache2/mods-*/*               call s:StarSetf('apache')
+
 " Asterisk config file
 au BufNewFile,BufRead *asterisk/*.conf*                call s:StarSetf('asterisk')
 au BufNewFile,BufRead *asterisk*/*voicemail.conf* call s:StarSetf('asteriskvm')
@@ -2276,7 +2289,7 @@ au BufNewFile,BufRead [cC]hange[lL]og*
        \|endif
 
 " Crontab
-au BufNewFile,BufRead crontab,crontab.*                call s:StarSetf('crontab')
+au BufNewFile,BufRead crontab,crontab.*,/etc/cron.d/*          call s:StarSetf('crontab')
 
 " Debian Sources.list
 au BufNewFile,BufRead /etc/apt/sources.list.d/*        call s:StarSetf('debsources')
index 688cf97f70ab9a01512952461fe9da432fdb13e3..045645ddaf21ba33662705faaf623bde4922d50e 100644 (file)
@@ -2,13 +2,14 @@
 "  Description: Perform Ada specific completion & tagging.
 "     Language: Ada (2005)
 "         $Id$
-"   Maintainer: Martin Krischik
+"   Maintainer: Martin Krischik <krischik@users.sourceforge.net>
+"              Taylor Venable <taylor@metasyntax.net>
 "              Neil Bird <neil@fnxweb.com>
 "      $Author$
 "       $Date$
-"      Version: 4.2
+"      Version: 4.6
 "    $Revision$
-"     $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/ftplugin/ada.vim $
+"     $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/ftplugin/ada.vim $
 "      History: 24.05.2006 MK Unified Headers
 "              26.05.2006 MK ' should not be in iskeyword.
 "              16.07.2006 MK Ada-Mode as vim-ball
@@ -17,6 +18,7 @@
 "               05.11.2006 MK Bram suggested not to use include protection for
 "                             autoload
 "              05.11.2006 MK Bram suggested to save on spaces
+"              08.07.2007 TV fix default compiler problems.
 "    Help Page: ft-ada-plugin
 "------------------------------------------------------------------------------
 " Provides mapping overrides for tag jumping that figure out the current
@@ -30,7 +32,7 @@ if exists ("b:did_ftplugin") || version < 700
 endif
 
 " Don't load another plugin for this buffer
-let b:did_ftplugin = 38
+let b:did_ftplugin = 45
 
 "
 " Temporarily set cpoptions to ensure the script loads OK
@@ -38,12 +40,21 @@ let b:did_ftplugin = 38
 let s:cpoptions = &cpoptions
 set cpoptions-=C
 
-" Section: Comments {{{1
+" Section: Comments  {{{1
 "
 setlocal comments=O:--,:--\ \
 setlocal commentstring=--\ \ %s
 setlocal complete=.,w,b,u,t,i
 
+" Section: case             {{{1
+"
+setlocal nosmartcase
+setlocal ignorecase
+
+" Section: formatoptions {{{1
+"
+setlocal formatoptions+=ron
+
 " Section: Tagging {{{1
 "
 if exists ("g:ada_extended_tagging")
@@ -104,8 +115,17 @@ if !exists ("b:match_words")  &&
       \ s:notend . '\<record\>:\<end\>\s\+\<record\>'
 endif
 
+
 " Section: Compiler {{{1
 "
+if ! exists("g:ada_default_compiler")
+   if has("vms")
+      let g:ada_default_compiler = 'decada'
+   else
+      let g:ada_default_compiler = 'gnat'
+   endif
+endif
+
 if ! exists("current_compiler")                        ||
    \ current_compiler != g:ada_default_compiler
    execute "compiler " . g:ada_default_compiler
index cd5b07162ef4a0815a501dba22524f317db913e8..00a025b47c3f2226a6a361c5d317991f61a5043d 100644 (file)
@@ -7,6 +7,9 @@
 " License:     GNU GPL, version 2.0 or later
 " URL:         http://git.debian.org/?p=pkg-vim/vim.git;a=blob_plain;f=runtime/ftplugin/debchangelog.vim;hb=debian
 
+" Bug completion requires apt-listbugs installed for Debian packages or
+" python-launchpad-bugs installed for Ubuntu packages
+
 if exists("b:did_ftplugin")
   finish
 endif
@@ -116,7 +119,9 @@ function NewVersion()
     normal h
     normal \ 1
     call setline(1, substitute(getline(1), '-\$\$', '-', ''))
-    normal zo
+    if exists("g:debchangelog_fold_enable")
+        foldopen
+    endif
     call AddEntry()
 endfunction
 
@@ -279,7 +284,9 @@ function! DebGetChangelogFold(lnum)
   return '='
 endfunction
 
-silent! foldopen!   " unfold the entry the cursor is on (usually the first one)
+if exists("g:debchangelog_fold_enable")
+  silent! foldopen!   " unfold the entry the cursor is on (usually the first one)
+endif
 
 " }}}
 
@@ -291,27 +298,65 @@ endif
 
 fun! DebCompleteBugs(findstart, base)
   if a:findstart
-    " it we are just after an '#', the completion should start at the '#',
-    " otherwise no completion is possible
     let line = getline('.')
-    let colidx = col('.')
-    if colidx > 1 && line[colidx - 2] =~ '#'
-      let colidx = colidx - 2
-    else
-      let colidx = -1
-    endif
+
+    " try to detect whether this is closes: or lp:
+    let g:debchangelog_complete_mode = 'debbugs'
+    let try_colidx = col('.') - 1
+    let colidx = -1 " default to no-completion-possible
+
+    while try_colidx > 0 && line[try_colidx - 1] =~ '\s\|\d\|#\|,\|:'
+      let try_colidx = try_colidx - 1
+      if line[try_colidx] == '#' && colidx == -1
+        " found hash, where we complete from:
+        let colidx = try_colidx
+      elseif line[try_colidx] == ':'
+        if try_colidx > 1 && strpart(line, try_colidx - 2, 3) =~ '\clp:'
+          let g:debchangelog_complete_mode = 'lp'
+        endif
+        break
+      endif
+    endwhile
     return colidx
-  else
-    if ! filereadable('/usr/sbin/apt-listbugs')
-      echoerr 'apt-listbugs not found, you should install it to use Closes bug completion'
-      return
+  else " return matches:
+    let bug_lines = []
+    if g:debchangelog_complete_mode == 'lp'
+      if ! has('python')
+        echoerr 'vim must be built with Python support to use LP bug completion'
+        return
+      endif
+      let pkgsrc = DebGetPkgSrcName(line('.'))
+      python << EOF
+import vim
+try:
+    from launchpadbugs import connector
+    buglist = connector.ConnectBugList()
+    bl = list(buglist('https://bugs.launchpad.net/ubuntu/+source/%s' % vim.eval('pkgsrc')))
+    bl.sort(None, int)
+    liststr = '['
+    for bug in bl:
+        liststr += "'#%d - %s'," % (int(bug), bug.summary.replace('\'', '\'\''))
+    liststr += ']'
+    vim.command('silent let bug_lines = %s' % liststr)
+except ImportError:
+    vim.command('echoerr \'python-launchpad-bugs needs to be installed to use Launchpad bug completion\'')
+EOF
+    else
+      if ! filereadable('/usr/sbin/apt-listbugs')
+        echoerr 'apt-listbugs not found, you should install it to use Closes bug completion'
+        return
+      endif
+      let pkgsrc = DebGetPkgSrcName(line('.'))
+      let listbugs_output = system('/usr/sbin/apt-listbugs -s ' . g:debchangelog_listbugs_severities . ' list ' . pkgsrc . ' | grep "^ #" 2> /dev/null')
+      let bug_lines = split(listbugs_output, '\n')
     endif
-    let pkgsrc = DebGetPkgSrcName(line('.'))
-    let listbugs_output = system('apt-listbugs -s ' . g:debchangelog_listbugs_severities . ' list ' . pkgsrc . ' | grep "^ #" 2> /dev/null')
-    let bug_lines = split(listbugs_output, '\n')
     let completions = []
     for line in bug_lines
       let parts = matchlist(line, '^\s*\(#\S\+\)\s*-\s*\(.*\)$')
+      " filter only those which match a:base:
+      if parts[1] !~ "^" . a:base
+        continue
+      endif
       let completion = {}
       let completion['word'] = parts[1]
       let completion['menu'] = parts[2]
index 8b189df521892e25a9b22a01213343fd6bdd895c..802f596e3d3a18dd808c0f7fc498d48a9b68ba3d 100644 (file)
@@ -27,7 +27,7 @@ if !exists("b:eruby_subtype")
   let s:lines = getline(1)."\n".getline(2)."\n".getline(3)."\n".getline(4)."\n".getline(5)."\n".getline("$")
   let b:eruby_subtype = matchstr(s:lines,'eruby_subtype=\zs\w\+')
   if b:eruby_subtype == ''
-    let b:eruby_subtype = matchstr(substitute(expand("%:t"),'\c\%(\.erb\)\+$','',''),'\.\zs\w\+$')
+    let b:eruby_subtype = matchstr(substitute(expand("%:t"),'\c\%(\.erb\|\.eruby\)\+$','',''),'\.\zs\w\+$')
   endif
   if b:eruby_subtype == 'rhtml'
     let b:eruby_subtype = 'html'
index 37888b15b4a8719bc2379ad934c31b293cfc0ec4..f8d331faf5758e62a047d0ed74a56297b860a139 100644 (file)
@@ -1,7 +1,7 @@
 " Vim filetype plugin
 " Language:    generic git output
 " Maintainer:  Tim Pope <vimNOSPAM@tpope.info>
-" Last Change: 2008 Feb 27
+" Last Change: 2008 Jun 20
 
 " Only do this when not done yet for this buffer
 if (exists("b:did_ftplugin"))
@@ -15,7 +15,7 @@ if !exists('b:git_dir')
     elseif $GIT_DIR != ''
         let b:git_dir = $GIT_DIR
     endif
-    if has('win32') || has('win64')
+    if (has('win32') || has('win64')) && exists('b:git_dir')
         let b:git_dir = substitute(b:git_dir,'\\','/','g')
     endif
 endif
diff --git a/runtime/ftplugin/haml.vim b/runtime/ftplugin/haml.vim
new file mode 100644 (file)
index 0000000..0a39d5e
--- /dev/null
@@ -0,0 +1,66 @@
+" Vim filetype plugin
+" Language:            Haml
+" Maintainer:          Tim Pope <vimNOSPAM@tpope.info>
+
+" Only do this when not done yet for this buffer
+if exists("b:did_ftplugin")
+  finish
+endif
+
+let s:save_cpo = &cpo
+set cpo-=C
+
+" Define some defaults in case the included ftplugins don't set them.
+let s:undo_ftplugin = ""
+let s:browsefilter = "All Files (*.*)\t*.*\n"
+let s:match_words = ""
+
+runtime! ftplugin/html.vim ftplugin/html_*.vim ftplugin/html/*.vim
+unlet! b:did_ftplugin
+
+" Override our defaults if these were set by an included ftplugin.
+if exists("b:undo_ftplugin")
+  let s:undo_ftplugin = b:undo_ftplugin
+  unlet b:undo_ftplugin
+endif
+if exists("b:browsefilter")
+  let s:browsefilter = b:browsefilter
+  unlet b:browsefilter
+endif
+if exists("b:match_words")
+  let s:match_words = b:match_words
+  unlet b:match_words
+endif
+
+runtime! ftplugin/ruby.vim ftplugin/ruby_*.vim ftplugin/ruby/*.vim
+let b:did_ftplugin = 1
+
+" Combine the new set of values with those previously included.
+if exists("b:undo_ftplugin")
+  let s:undo_ftplugin = b:undo_ftplugin . " | " . s:undo_ftplugin
+endif
+if exists ("b:browsefilter")
+  let s:browsefilter = substitute(b:browsefilter,'\cAll Files (\*\.\*)\t\*\.\*\n','','') . s:browsefilter
+endif
+if exists("b:match_words")
+  let s:match_words = b:match_words . ',' . s:match_words
+endif
+
+" Change the browse dialog on Win32 to show mainly Haml-related files
+if has("gui_win32")
+  let b:browsefilter="Haml Files (*.haml)\t*.haml\nSass Files (*.sass)\t*.sass\n" . s:browsefilter
+endif
+
+" Load the combined list of match_words for matchit.vim
+if exists("loaded_matchit")
+  let b:match_words = s:match_words
+endif
+
+setlocal commentstring=-#\ %s
+
+let b:undo_ftplugin = "setl cms< com< "
+      \ " | unlet! b:browsefilter b:match_words | " . s:undo_ftplugin
+
+let &cpo = s:save_cpo
+
+" vim:set sw=2:
diff --git a/runtime/ftplugin/logtalk.dict b/runtime/ftplugin/logtalk.dict
new file mode 100644 (file)
index 0000000..e3b9e6f
--- /dev/null
@@ -0,0 +1,164 @@
+encoding
+calls
+category
+dynamic
+end_category
+end_object
+end_protocol
+info
+initialization
+object
+protocol
+synchronized
+threaded
+uses
+alias
+discontiguous
+meta_predicate
+mode
+op
+private
+protected
+public
+current_object
+current_protocol
+current_category
+object_property
+protocol_property
+category_property
+create_object
+create_protocol
+create_category
+abolish_object
+abolish_protocol
+abolish_category
+complements
+complements_object
+extends
+extends_object
+extends_protocol
+extends_category
+implements
+implements_protocol
+imports
+imports_category
+instantiates
+instantiates_class
+specializes
+specializes_class
+abolish_events
+current_event
+define_events
+logtalk_load
+logtalk_compile
+logtalk_library_path
+current_logtalk_flag
+set_logtalk_flag
+threaded_call
+threaded_once
+threaded_ignore
+threaded_exit
+threaded_peek
+threaded_wait
+threaded_notify
+self
+this
+sender
+parameter
+before
+after
+phrase
+expand_term
+goal_expansion
+term_expansion
+true
+fail
+call
+catch
+throw
+unify_with_occurs_check
+var
+atom
+integer
+float
+atomic
+compound
+nonvar
+number
+arg
+copy_term
+functor
+current_predicate
+predicate_property
+abolish
+assertz
+asserta
+clause
+retract
+retractall
+bagof
+findall
+forall
+setof
+current_input
+current_output
+set_input
+set_output
+open
+close
+flush_output
+stream_property
+at_end_of_stream
+set_stream_position
+get_char
+get_code
+peek_char
+peek_code
+put_char
+put_code
+nl
+get_byte
+peek_byte
+put_byte
+read
+read_term
+write
+writeq
+write_canonical
+atom_chars
+atom_codes
+atom_concat
+number_chars
+number_codes
+current_op
+char_conversion
+current_char_conversion
+once
+repeat
+atom_length
+atom_concat
+sub_atom
+atom_chars
+atom_codes
+char_code
+number_chars
+number_codes
+set_prolog_flag
+current_prolog_flag
+halt
+abs
+atan
+ceiling
+cos
+exp
+float_fractional_part
+float_integer_part
+floor
+log
+mod
+rem
+round
+sign
+sin
+sqrt
+truncate
diff --git a/runtime/ftplugin/logtalk.vim b/runtime/ftplugin/logtalk.vim
new file mode 100644 (file)
index 0000000..e71307a
--- /dev/null
@@ -0,0 +1,18 @@
+" Logtalk filetype plugin file
+" Language:         Logtalk
+" Maintainer:       Paulo Moura <pmoura@logtalk.org>
+" Latest Revision:  2007-07-06
+
+if exists("b:did_ftplugin")
+  finish
+endif
+let b:did_ftplugin = 1
+
+let b:undo_ftplugin = "setl ts< sw< fdm< fdc< ai< dict<"
+
+"setlocal ts=4
+setlocal sw=4
+setlocal fdm=syntax
+setlocal fdc=2
+setlocal autoindent
+setlocal dict=$VIMRUNTIME/ftplugin/logtalk.dict
diff --git a/runtime/ftplugin/sass.vim b/runtime/ftplugin/sass.vim
new file mode 100644 (file)
index 0000000..ad03977
--- /dev/null
@@ -0,0 +1,18 @@
+" Vim filetype plugin
+" Language:            Sass
+" Maintainer:          Tim Pope <vimNOSPAM@tpope.info>
+
+" Only do this when not done yet for this buffer
+if exists("b:did_ftplugin")
+  finish
+endif
+let b:did_ftplugin = 1
+
+let b:undo_ftplugin = "setl cms< inc< ofu<"
+
+setlocal commentstring=//\ %s
+setlocal omnifunc=csscomplete#CompleteCSS
+
+let &l:include = '^\s*@import\s\+\%(url(\)\='
+
+" vim:set sw=2:
index f2fc1ab4b0dc4a1f4825ae4416717af94d9f3f20..e56aaffecfc66eeaae20998ec069c02416aba66c 100644 (file)
@@ -3,17 +3,19 @@
 "     Language: Ada (2005)
 "         $Id$
 "    Copyright: Copyright (C) 2006 Martin Krischik
-"   Maintainer: Martin Krischik
+"   Maintainer: Martin Krischik <krischik@users.sourceforge.net>
 "              Neil Bird <neil@fnxweb.com>
+"              Ned Okie <nokie@radford.edu>
 "      $Author$
 "       $Date$
-"      Version: 4.2
+"      Version: 4.6
 "    $Revision$
-"     $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/indent/ada.vim $
+"     $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/indent/ada.vim $
 "      History: 24.05.2006 MK Unified Headers
 "              16.07.2006 MK Ada-Mode as vim-ball
 "              15.10.2006 MK Bram's suggestion for runtime integration
 "              05.11.2006 MK Bram suggested to save on spaces
+"              19.09.2007 NO g: missing before ada#Comment
 "    Help Page: ft-vim-indent
 "------------------------------------------------------------------------------
 " ToDo:
@@ -27,7 +29,7 @@ if exists("b:did_indent") || version < 700
    finish
 endif
 
-let b:did_indent = 1
+let b:did_indent = 45
 
 setlocal indentexpr=GetAdaIndent()
 setlocal indentkeys-=0{,0}
@@ -58,7 +60,7 @@ endif
 " Seems to work OK as it 'starts' with the indent of the /previous/ line.
 function s:MainBlockIndent (prev_indent, prev_lnum, blockstart, stop_at)
    let lnum = a:prev_lnum
-   let line = substitute( getline(lnum), ada#Comment, '', '' )
+   let line = substitute( getline(lnum), g:ada#Comment, '', '' )
    while lnum > 1
       if a:stop_at != ''  &&  line =~ '^\s*' . a:stop_at  &&  indent(lnum) < a:prev_indent
         return a:prev_indent
@@ -72,7 +74,7 @@ function s:MainBlockIndent (prev_indent, prev_lnum, blockstart, stop_at)
       let lnum = prevnonblank(lnum - 1)
       " Get previous non-blank/non-comment-only line
       while 1
-        let line = substitute( getline(lnum), ada#Comment, '', '' )
+        let line = substitute( getline(lnum), g:ada#Comment, '', '' )
         if line !~ '^\s*$' && line !~ '^\s*#'
            break
         endif
@@ -116,7 +118,7 @@ function s:EndBlockIndent( prev_indent, prev_lnum, blockstart, blockend )
       " Get previous non-blank/non-comment-only line
       while 1
         let line = getline(lnum)
-        let line = substitute( line, ada#Comment, '', '' )
+        let line = substitute( line, g:ada#Comment, '', '' )
         if line !~ '^\s*$'
            break
         endif
@@ -143,7 +145,8 @@ function s:StatementIndent( current_indent, prev_lnum )
       let lnum = prevnonblank(lnum - 1)
       " Get previous non-blank/non-comment-only line
       while 1
-        let line = substitute( getline(lnum), ada#Comment, '', '' )
+        let line = substitute( getline(lnum), g:ada#Comment, '', '' )
+        
         if line !~ '^\s*$' && line !~ '^\s*#'
            break
         endif
@@ -222,7 +225,7 @@ function GetAdaIndent()
       exe lnum
       exe 'normal! $F)%'
       if getline('.') =~ '^\s*('
-        " Dire layout - use previous indent (could check for ada#Comment here)
+        " Dire layout - use previous indent (could check for g:ada#Comment here)
         let ind = indent( prevnonblank( line('.')-1 ) )
       else
         let ind = indent('.')
index 83d010ef6bc1d4b098e9745361c2ae775e6140fd..31cbb8b011c3e3ed1e6278156b9b8212e384d448 100644 (file)
@@ -12,7 +12,7 @@ endif
 
 runtime! indent/ruby.vim
 unlet! b:did_indent
-set indentexpr=
+setlocal indentexpr=
 
 if exists("b:eruby_subtype")
   exe "runtime! indent/".b:eruby_subtype.".vim"
@@ -40,12 +40,17 @@ if exists("*GetErubyIndent")
   finish
 endif
 
-function! GetErubyIndent()
+function! GetErubyIndent(...)
+  if a:0 && a:1 == '.'
+    let v:lnum = line('.')
+  elseif a:0 && a:1 =~ '^\d'
+    let v:lnum = a:1
+  endif
   let vcol = col('.')
   call cursor(v:lnum,1)
   let inruby = searchpair('<%','','%>','W')
   call cursor(v:lnum,vcol)
-  if inruby && getline(v:lnum) !~ '^<%'
+  if inruby && getline(v:lnum) !~ '^<%\|^\s*-\=%>'
     let ind = GetRubyIndent()
   else
     exe "let ind = ".b:eruby_subtype_indentexpr
@@ -53,15 +58,15 @@ function! GetErubyIndent()
   let lnum = prevnonblank(v:lnum-1)
   let line = getline(lnum)
   let cline = getline(v:lnum)
-  if cline =~# '<%\s*\%(end\|else\|\%(ensure\|rescue\|elsif\|when\).\{-\}\)\s*\%(-\=%>\|$\)'
+  if cline =~# '<%-\=\s*\%(}\|end\|else\|\%(ensure\|rescue\|elsif\|when\).\{-\}\)\s*\%(-\=%>\|$\)'
     let ind = ind - &sw
   endif
-  if line =~# '\<do\%(\s*|[^|]*|\)\=\s*-\=%>'
+  if line =~# '\%({\|\<do\)\%(\s*|[^|]*|\)\=\s*-\=%>'
     let ind = ind + &sw
-  elseif line =~# '<%\s*\%(module\|class\|def\|if\|for\|while\|until\|else\|elsif\|case\|when\|unless\|begin\|ensure\|rescue\)\>.*%>'
+  elseif line =~# '<%-\=\s*\%(module\|class\|def\|if\|for\|while\|until\|else\|elsif\|case\|when\|unless\|begin\|ensure\|rescue\)\>.*%>'
     let ind = ind + &sw
   endif
-  if line =~# '^\s*<%[=#]\=\s*$' && cline !~# '^\s*end\>'
+  if line =~# '^\s*<%[=#-]\=\s*$' && cline !~# '^\s*end\>'
     let ind = ind + &sw
   endif
   if cline =~# '^\s*-\=%>\s*$'
diff --git a/runtime/indent/haml.vim b/runtime/indent/haml.vim
new file mode 100644 (file)
index 0000000..c1feee0
--- /dev/null
@@ -0,0 +1,73 @@
+" Vim indent file
+" Language:    HAML
+" Maintainer:  Tim Pope <vimNOSPAM@tpope.info>
+" Last Change: 2007 Dec 16
+
+if exists("b:did_indent")
+  finish
+endif
+runtime! indent/ruby.vim
+unlet! b:did_indent
+let b:did_indent = 1
+
+setlocal autoindent sw=2 et
+setlocal indentexpr=GetHamlIndent()
+setlocal indentkeys=o,O,*<Return>,},],0),!^F,=end,=else,=elsif,=rescue,=ensure,=when
+
+" Only define the function once.
+if exists("*GetHamlIndent")
+  finish
+endif
+
+let s:attributes = '\%({.\{-\}}\|\[.\{-\}\]\)'
+let s:tag = '\%([%.#][[:alnum:]_-]\+\|'.s:attributes.'\)*[<>]*'
+
+if !exists('g:haml_self_closing_tags')
+  let g:haml_self_closing_tags = 'meta|link|img|hr|br'
+endif
+
+function! GetHamlIndent()
+  let lnum = prevnonblank(v:lnum-1)
+  if lnum == 0
+    return 0
+  endif
+  let line = substitute(getline(lnum),'\s\+$','','')
+  let cline = substitute(substitute(getline(v:lnum),'\s\+$','',''),'^\s\+','','')
+  let lastcol = strlen(line)
+  let line = substitute(line,'^\s\+','','')
+  let indent = indent(lnum)
+  let cindent = indent(v:lnum)
+  if cline =~# '\v^-\s*%(elsif|else|when)>'
+    let indent = cindent < indent ? cindent : indent - &sw
+  endif
+  let increase = indent + &sw
+  if indent == indent(lnum)
+    let indent = cindent <= indent ? -1 : increase
+  endif
+  "let indent = indent == indent(lnum) ? -1 : indent
+  "let indent = indent > indent(lnum) + &sw ? indent(lnum) + &sw : indent
+
+  let group = synIDattr(synID(lnum,lastcol,1),'name')
+
+  if line =~ '^!!!'
+    return indent
+  elseif line =~ '^/\%(\[[^]]*\]\)\=$'
+    return increase
+  elseif line =~ '^:'
+    return increase
+  elseif line =~ '^'.s:tag.'[=~-]\s*\%(\%(if\|else\|elsif\|unless\|case\|when\|while\|until\|for\|begin\|module\|class\|def\)\>\%(.*\<end\>\)\@!\|.*do |[^|]*|\s*$\)'
+    return increase
+  elseif line == '-#'
+    return increase
+  elseif group =~? '\v^(hamlSelfCloser)$' || line =~? '^%\v%('.g:haml_self_closing_tags.')>'
+    return indent
+  elseif group =~? '\v^%(hamlTag|hamlAttributesDelimiter|hamlObjectDelimiter|hamlClass|hamlId|htmlTagName|htmlSpecialTagName)$'
+    return increase
+  elseif synIDattr(synID(v:lnum,1,1),'name') ==? 'hamlRubyFilter'
+    return GetRubyIndent()
+  else
+    return indent
+  endif
+endfunction
+
+" vim:set sw=2:
diff --git a/runtime/indent/logtalk.vim b/runtime/indent/logtalk.vim
new file mode 100644 (file)
index 0000000..99e6ec8
--- /dev/null
@@ -0,0 +1,61 @@
+"  Maintainer: Paulo Moura <pmoura@logtalk.org>
+"  Revised on: 2008.06.02
+"  Language:   Logtalk
+
+" This Logtalk indent file is a modified version of the Prolog
+" indent file written by Gergely Kontra
+
+" Only load this indent file when no other was loaded.
+if exists("b:did_indent")
+       finish
+endif
+
+let b:did_indent = 1
+
+setlocal indentexpr=GetLogtalkIndent()
+setlocal indentkeys-=:,0#
+setlocal indentkeys+=0%,-,0;,>,0)
+
+" Only define the function once.
+if exists("*GetLogtalkIndent")
+       finish
+endif
+
+function! GetLogtalkIndent()
+       " Find a non-blank line above the current line.
+       let pnum = prevnonblank(v:lnum - 1)
+       " Hit the start of the file, use zero indent.
+       if pnum == 0
+               return 0
+       endif
+       let line = getline(v:lnum)
+       let pline = getline(pnum)
+
+       let ind = indent(pnum)
+       " Previous line was comment -> use previous line's indent
+       if pline =~ '^\s*%'
+               retu ind
+       endif
+       " Check for entity opening directive on previous line
+       if pline =~ '^\s*:-\s\(object\|protocol\|category\)\ze(.*,$'
+               let ind = ind + &sw
+       " Check for clause head on previous line
+       elseif pline =~ ':-\s*\(%.*\)\?$'
+               let ind = ind + &sw
+       " Check for entity closing directive on previous line
+       elseif pline =~ '^\s*:-\send_\(object\|protocol\|category\)\.\(%.*\)\?$'
+               let ind = ind - &sw
+       " Check for end of clause on previous line
+       elseif pline =~ '\.\s*\(%.*\)\?$'
+               let ind = ind - &sw
+       endif
+       " Check for opening conditional on previous line
+       if pline =~ '^\s*\([(;]\|->\)' && pline !~ '\.\s*\(%.*\)\?$' && pline !~ '^.*\([)][,]\s*\(%.*\)\?$\)'
+               let ind = ind + &sw
+       endif
+       " Check for closing an unclosed paren, or middle ; or ->
+       if line =~ '^\s*\([);]\|->\)'
+               let ind = ind - &sw
+       endif
+       return ind
+endfunction
index d73460d07dba8a797be4201d7cee39b28e90581d..6124eb2f6637d7886be4804b9640288b8c2c03e6 100644 (file)
@@ -2,11 +2,14 @@
 " Language:    PHP
 " Author:      John Wellesz <John.wellesz (AT) teaser (DOT) fr>
 " URL:         http://www.2072productions.com/vim/indent/php.vim
-" Last Change:  2007 Jun 24
+" Last Change:  2008 June 7th
 " Newsletter:   http://www.2072productions.com/?to=php-indent-for-vim-newsletter.php
-" Version:     1.24
+" Version:     1.28
 "
-"  The change log and all the comments have been removed from this file.
+"  If you find a bug, please e-mail me at John.wellesz (AT) teaser (DOT) fr
+"  with an example of code that breaks the algorithm.
+"
+"  ---> The change log and all the comments have been removed from this file.
 "
 "  For a complete change log and fully commented code, download the script on
 "  2072productions.com at the URI provided above.
 "
 "
 " NOTE: This script must be used with PHP syntax ON and with the php syntax
-"      script by Lutz Eymers ( http://www.isp.de/data/php.vim ) that's the script bundled with Vim.
+"      script by Lutz Eymers (http://www.isp.de/data/php.vim ) or with the
+"      script by Peter Hodge (http://www.vim.org/scripts/script.php?script_id=1571 )
+"      the later is bunbdled by default with vim 7.
 "
 "
-"      In the case you have syntax errors in your script such as end of HereDoc
-"      tags not at col 1 you'll have to indent your file 2 times (This script
-"      will automatically put HereDoc end tags at col 1).
+"      In the case you have syntax errors in your script such as HereDoc end
+"      identifiers not at col 1 you'll have to indent your file 2 times (This
+"      script will automatically put HereDoc end identifiers at col 1 if
+"      they are followed by a ';').
 "
 "
 " NOTE: If you are editing file in Unix file format and that (by accident)
@@ -37,8 +43,8 @@
 "
 " or simply 'let' the option PHP_removeCRwhenUnix to 1 and the script will
 " silently remove them when VIM load this script (at each bufread).
-
-
+"
+"
 " Options: PHP_autoformatcomment = 0 to not enable autoformating of comment by
 "                  default, if set to 0, this script will let the 'formatoptions' setting intact.
 "
@@ -48,7 +54,7 @@
 " Options: PHP_removeCRwhenUnix = 1 to make the script automatically remove CR
 "                 at end of lines (by default this option is unset), NOTE that you
 "                 MUST remove CR when the fileformat is UNIX else the indentation
-"                 won't be correct...
+"                 won't be correct!
 "
 " Options: PHP_BracesAtCodeLevel = 1 to indent the '{' and '}' at the same
 "                 level than the code they contain.
 "
 "                      NOTE: The script will be a bit slower if you use this option because
 "                      some optimizations won't be available.
+"
+" Options: PHP_vintage_case_default_indent = 1 (defaults to 0) to add a meaningless indent
+"                  befaore 'case:' and 'default":' statement in switch block
+"
 
 if exists("b:did_indent")
     finish
@@ -89,12 +99,21 @@ else
     let b:PHP_BracesAtCodeLevel = 0
 endif
 
+
 if exists("PHP_autoformatcomment")
     let b:PHP_autoformatcomment = PHP_autoformatcomment
 else
     let b:PHP_autoformatcomment = 1
 endif
 
+if exists("PHP_vintage_case_default_indent")
+    let b:PHP_vintage_case_default_indent = PHP_vintage_case_default_indent
+else
+    let b:PHP_vintage_case_default_indent = 0
+endif
+
+
+
 let b:PHP_lastindented = 0
 let b:PHP_indentbeforelast = 0
 let b:PHP_indentinghuge = 0
@@ -182,8 +201,8 @@ function! GetLastRealCodeLNum(startline) " {{{
            endif
 
 
-       elseif lastline =~? '^\a\w*;$' && lastline !~? s:notPhpHereDoc
-           let tofind=substitute( lastline, '\([^;]\+\);', '<<<\1$', '')
+       elseif lastline =~? '^\a\w*;\=$' && lastline !~? s:notPhpHereDoc " XXX 0607
+           let tofind=substitute( lastline, '\(\a\w*\);\=', '<<<''\\=\1''\\=$', '') " XXX 0607
            while getline(lnum) !~? tofind && lnum > 1
                let lnum = lnum - 1
            endwhile
@@ -209,7 +228,7 @@ function! Skippmatch2()
 
     let line = getline(".")
 
-   if line =~ '\%(".*\)\@<=/\*\%(.*"\)\@=' || line =~ '\%(//.*\)\@<=/\*'
+   if line =~ '\%(".*\)\@<=/\*\%(.*"\)\@=' || line =~ '\%(\%(//\|#\).*\)\@<=/\*'
        return 1
    else
        return 0
@@ -218,7 +237,7 @@ endfun
 
 function! Skippmatch()  " {{{
     let synname = synIDattr(synID(line("."), col("."), 0), "name")
-    if synname == "Delimiter" || synname == "phpRegionDelimiter" || synname =~# "^phpParent" || synname == "phpArrayParens" || synname =~# '^php\%(Block\|Brace\)' || synname == "javaScriptBraces" || synname == "phpComment" && b:UserIsTypingComment
+    if synname == "Delimiter" || synname == "phpRegionDelimiter" || synname =~# "^phpParent" || synname == "phpArrayParens" || synname =~# '^php\%(Block\|Brace\)' || synname == "javaScriptBraces" || synname =~# "^phpComment" && b:UserIsTypingComment
        return 0
     else
        return 1
@@ -295,8 +314,8 @@ function! IslinePHP (lnum, tofind) " {{{
     endif
 endfunction " }}}
 
-let s:notPhpHereDoc = '\%(break\|return\|continue\|exit\);'
-let s:blockstart = '\%(\%(\%(}\s*\)\=else\%(\s\+\)\=\)\=if\>\|else\>\|while\>\|switch\>\|for\%(each\)\=\>\|declare\>\|class\>\|interface\>\|abstract\>\|try\>\|catch\>\|[|&]\)'
+let s:notPhpHereDoc = '\%(break\|return\|continue\|exit\|else\)'
+let s:blockstart = '\%(\%(\%(}\s*\)\=else\%(\s\+\)\=\)\=if\>\|else\>\|while\>\|switch\>\|for\%(each\)\=\>\|declare\>\|class\>\|interface\>\|abstract\>\|try\>\|catch\>\)'
 
 let s:autorestoptions = 0
 if ! s:autorestoptions
@@ -310,11 +329,11 @@ function! ResetOptions()
 
            setlocal comments=s1:/*,mb:*,ex:*/,://,:#
 
-           setlocal formatoptions-=t
+           setlocal formatoptions-=t
            setlocal formatoptions+=q
            setlocal formatoptions+=r
            setlocal formatoptions+=o
-           setlocal formatoptions+=w
+           setlocal formatoptions+=w
            setlocal formatoptions+=c
            setlocal formatoptions+=b
        endif
@@ -341,7 +360,7 @@ function! GetPhpIndent()
     if !b:PHP_indentinghuge && b:PHP_lastindented > b:PHP_indentbeforelast
        if b:PHP_indentbeforelast
            let b:PHP_indentinghuge = 1
-           echom 'Large indenting detected, speed optimizations engaged'
+           echom 'Large indenting detected, speed optimizations engaged (v1.28)'
        endif
        let b:PHP_indentbeforelast = b:PHP_lastindented
     endif
@@ -381,7 +400,7 @@ function! GetPhpIndent()
                let b:InPHPcode = 1
                let b:InPHPcode_tofind = ""
 
-               if synname == "phpComment"
+               if synname =~# "^phpComment"
                    let b:UserIsTypingComment = 1
                else
                    let b:UserIsTypingComment = 0
@@ -396,11 +415,11 @@ function! GetPhpIndent()
                let b:UserIsTypingComment = 0
 
                let lnum = v:lnum - 1
-               while getline(lnum) !~? '<<<\a\w*$' && lnum > 1
+               while getline(lnum) !~? '<<<''\=\a\w*''\=$' && lnum > 1
                    let lnum = lnum - 1
                endwhile
 
-               let b:InPHPcode_tofind = substitute( getline(lnum), '^.*<<<\(\a\w*\)\c', '^\\s*\1;$', '')
+               let b:InPHPcode_tofind = substitute( getline(lnum), '^.*<<<''\=\(\a\w*\)''\=$', '^\\s*\1;\\=$', '') " XXX 0607
            endif
        else
            let b:InPHPcode = 0
@@ -453,9 +472,9 @@ function! GetPhpIndent()
                let b:InPHPcode_and_script = 1
            endif
 
-       elseif last_line =~? '<<<\a\w*$'
+       elseif last_line =~? '<<<''\=\a\w*''\=$' " XXX 0607
            let b:InPHPcode = 0
-           let b:InPHPcode_tofind = substitute( last_line, '^.*<<<\(\a\w*\)\c', '^\\s*\1;$', '')
+           let b:InPHPcode_tofind = substitute( last_line, '^.*<<<''\=\(\a\w*\)''\=$', '^\\s*\1;\\=$', '') " XXX 0607
 
        elseif !UserIsEditing && cline =~ '^\s*/\*\%(.*\*/\)\@!' && getline(v:lnum + 1) !~ '^\s*\*'
            let b:InPHPcode = 0
@@ -513,7 +532,7 @@ function! GetPhpIndent()
        return 0
     endif
 
-    if cline =~? '^\s*\a\w*;$' && cline !~? s:notPhpHereDoc
+    if cline =~? '^\s*\a\w*;$\|^\a\w*$' && cline !~? s:notPhpHereDoc " XXX 0607
        return 0
     endif " }}}
 
@@ -558,7 +577,7 @@ function! GetPhpIndent()
 
     let defaultORcase = '^\s*\%(default\|case\).*:'
 
-    if last_line =~ '[;}]'.endline && last_line !~# defaultORcase
+    if last_line =~ '[;}]'.endline && last_line !~ '^)' && last_line !~# defaultORcase " Added && last_line !~ '^)' on 2007-12-30
        if ind==b:PHP_default_indenting
            return b:PHP_default_indenting
        elseif b:PHP_indentinghuge && ind==b:PHP_CurrentIndentLevel && cline !~# '^\s*\%(else\|\%(case\|default\).*:\|[})];\=\)' && last_line !~# '^\s*\%(\%(}\s*\)\=else\)' && getline(GetLastRealCodeLNum(lnum - 1))=~';'.endline
@@ -568,20 +587,20 @@ function! GetPhpIndent()
 
     let LastLineClosed = 0
 
-    let terminated = '\%(;\%(\s*?>\)\=\|<<<\a\w*\|}\)'.endline
+    let terminated = '\%(;\%(\s*?>\)\=\|<<<''\=\a\w*''\=$\|^\s*}\)'.endline " XXX 0607
 
     let unstated   = '\%(^\s*'.s:blockstart.'.*)\|\%(//.*\)\@<!\<e'.'lse\>\)'.endline
 
     if ind != b:PHP_default_indenting && cline =~# '^\s*else\%(if\)\=\>'
        let b:PHP_CurrentIndentLevel = b:PHP_default_indenting
        return indent(FindTheIfOfAnElse(v:lnum, 1))
-    elseif cline =~ '^\s*{'
+    elseif cline =~ '^\s*)\=\s*{'
        let previous_line = last_line
        let last_line_num = lnum
 
        while last_line_num > 1
 
-           if previous_line =~ '^\s*\%(' . s:blockstart . '\|\%([a-zA-Z]\s*\)*function\)' && previous_line !~ '^\s*[|&]'
+           if previous_line =~ '^\s*\%(' . s:blockstart . '\|\%([a-zA-Z]\s*\)*function\)'
 
                let ind = indent(last_line_num)
 
@@ -596,11 +615,11 @@ function! GetPhpIndent()
            let previous_line = getline(last_line_num)
        endwhile
 
-    elseif last_line =~# unstated && cline !~ '^\s*{\|^\s*);\='.endline
-       let ind = ind + &sw
+    elseif last_line =~# unstated && cline !~ '^\s*);\='.endline
+       let ind = ind + &sw " we indent one level further when the preceding line is not stated
        return ind
 
-    elseif ind != b:PHP_default_indenting && last_line =~ terminated
+    elseif (ind != b:PHP_default_indenting || last_line =~ '^)' ) && last_line =~ terminated " Added || last_line =~ '^)' on 2007-12-30 (array indenting [rpblem broke other things)
        let previous_line = last_line
        let last_line_num = lnum
        let LastLineClosed = 1
@@ -642,7 +661,7 @@ function! GetPhpIndent()
                endif
 
                if one_ahead_indent == two_ahead_indent || last_line_num < 1
-                   if previous_line =~# '[;}]'.endline || last_line_num < 1
+                   if previous_line =~# '\%(;\|^\s*}\)'.endline || last_line_num < 1
                        break
                    endif
                endif
@@ -680,8 +699,9 @@ function! GetPhpIndent()
                let ind = ind + &sw
            endif
 
-           if b:PHP_BracesAtCodeLevel || cline !~# defaultORcase
+           if b:PHP_BracesAtCodeLevel || b:PHP_vintage_case_default_indent == 1 || cline !~# defaultORcase
                let b:PHP_CurrentIndentLevel = ind
+
                return ind
            endif
 
@@ -692,21 +712,23 @@ function! GetPhpIndent()
            if openedparent != lnum
                let ind = indent(openedparent)
            endif
+       elseif last_line =~ '^\s*'.s:blockstart
+           let ind = ind + &sw
 
+       elseif last_line =~# defaultORcase
+           let ind = ind + &sw
 
-       elseif cline !~ '^\s*{' && pline =~ '\%(;\%(\s*?>\)\=\|<<<\a\w*\|{\|^\s*'.s:blockstart.'\s*(.*)\)'.endline.'\|^\s*}\|'.defaultORcase
 
-           let ind = ind + &sw
+       elseif pline =~ '\%(;\%(\s*?>\)\=\|<<<''\=\a\w*''\=$\|^\s*}\|{\)'.endline . '\|' . defaultORcase
 
+           let ind = ind + &sw
        endif
 
-    elseif last_line =~# defaultORcase
-       let ind = ind + &sw
     endif
 
     if cline =~  '^\s*);\='
        let ind = ind - &sw
-    elseif cline =~# defaultORcase
+    elseif cline =~# defaultORcase && last_line !~# defaultORcase
        let ind = ind - &sw
 
     endif
index 0f2de567d4bf31ea8dc8c55b8991f08527c83a01..8a56e54c07c08de852187eb421fa15e8c57c9da9 100644 (file)
@@ -34,26 +34,26 @@ set cpo&vim
 " ============
 
 " Regex of syntax group names that are or delimit string or are comments.
-let s:syng_strcom = '\<ruby\%(String\|StringDelimiter\|ASCIICode' .
-      \ '\|Interpolation\|NoInterpolation\|Escape\|Comment\|Documentation\)\>'
+let s:syng_strcom = '\<ruby\%(String\|StringEscape\|ASCIICode' .
+      \ '\|Interpolation\|NoInterpolation\|Comment\|Documentation\)\>'
 
 " Regex of syntax group names that are strings.
 let s:syng_string =
-      \ '\<ruby\%(String\|StringDelimiter\|Interpolation\|NoInterpolation\|Escape\)\>'
+      \ '\<ruby\%(String\|Interpolation\|NoInterpolation\|StringEscape\)\>'
 
 " Regex of syntax group names that are strings or documentation.
 let s:syng_stringdoc =
-  \'\<ruby\%(String\|StringDelimiter\|Interpolation\|NoInterpolation\|Escape\|Documentation\)\>'
+  \'\<ruby\%(String\|Interpolation\|NoInterpolation\|StringEscape\|Documentation\)\>'
 
 " Expression used to check whether we should skip a match with searchpair().
 let s:skip_expr =
-      \ "synIDattr(synID(line('.'),col('.'),0),'name') =~ '".s:syng_strcom."'"
+      \ "synIDattr(synID(line('.'),col('.'),1),'name') =~ '".s:syng_strcom."'"
 
 " Regex used for words that, at the start of a line, add a level of indent.
 let s:ruby_indent_keywords = '^\s*\zs\<\%(module\|class\|def\|if\|for' .
       \ '\|while\|until\|else\|elsif\|case\|when\|unless\|begin\|ensure' .
       \ '\|rescue\)\>' .
-      \ '\|\%([*+/,=:-]\|<<\|>>\)\s*\zs' .
+      \ '\|\%([*+/,=-]\|<<\|>>\|:\s\)\s*\zs' .
       \    '\<\%(if\|for\|while\|until\|case\|unless\|begin\)\>'
 
 " Regex used for words that, at the start of a line, remove a level of indent.
@@ -65,7 +65,7 @@ let s:ruby_deindent_keywords =
 " TODO: the do here should be restricted somewhat (only at end of line)?
 let s:end_start_regex = '^\s*\zs\<\%(module\|class\|def\|if\|for' .
       \ '\|while\|until\|case\|unless\|begin\)\>' .
-      \ '\|\%([*+/,=:-]\|<<\|>>\)\s*\zs' .
+      \ '\|\%([*+/,=-]\|<<\|>>\|:\s\)\s*\zs' .
       \    '\<\%(if\|for\|while\|until\|case\|unless\|begin\)\>' .
       \ '\|\<do\>'
 
@@ -78,15 +78,15 @@ let s:end_end_regex = '\%(^\|[^.:@$]\)\@<=\<end\>'
 " Expression used for searchpair() call for finding match for 'end' keyword.
 let s:end_skip_expr = s:skip_expr .
       \ ' || (expand("<cword>") == "do"' .
-      \ ' && getline(".") =~ "^\\s*\\<while\\|until\\|for\\>")'
+      \ ' && getline(".") =~ "^\\s*\\<\\(while\\|until\\|for\\)\\>")'
 
 " Regex that defines continuation lines, not including (, {, or [.
-let s:continuation_regex = '\%([\\*+/.,=:-]\|\W[|&?]\|||\|&&\)\s*\%(#.*\)\=$'
+let s:continuation_regex = '\%([\\*+/.,:]\|\%(<%\)\@<![=-]\|\W[|&?]\|||\|&&\)\s*\%(#.*\)\=$'
 
 " Regex that defines continuation lines.
 " TODO: this needs to deal with if ...: and so on
 let s:continuation_regex2 =
-      \ '\%([\\*+/.,=:({[-]\|\W[|&?]\|||\|&&\)\s*\%(#.*\)\=$'
+      \ '\%([\\*+/.,:({[]\|\%(<%\)\@<![=-]\|\W[|&?]\|||\|&&\)\s*\%(#.*\)\=$'
 
 " Regex that defines blocks.
 let s:block_regex =
@@ -97,17 +97,17 @@ let s:block_regex =
 
 " Check if the character at lnum:col is inside a string, comment, or is ascii.
 function s:IsInStringOrComment(lnum, col)
-  return synIDattr(synID(a:lnum, a:col, 0), 'name') =~ s:syng_strcom
+  return synIDattr(synID(a:lnum, a:col, 1), 'name') =~ s:syng_strcom
 endfunction
 
 " Check if the character at lnum:col is inside a string.
 function s:IsInString(lnum, col)
-  return synIDattr(synID(a:lnum, a:col, 0), 'name') =~ s:syng_string
+  return synIDattr(synID(a:lnum, a:col, 1), 'name') =~ s:syng_string
 endfunction
 
 " Check if the character at lnum:col is inside a string or documentation.
 function s:IsInStringOrDocumentation(lnum, col)
-  return synIDattr(synID(a:lnum, a:col, 0), 'name') =~ s:syng_stringdoc
+  return synIDattr(synID(a:lnum, a:col, 1), 'name') =~ s:syng_stringdoc
 endfunction
 
 " Find line above 'lnum' that isn't empty, in a comment, or in a string.
@@ -259,6 +259,11 @@ function GetRubyIndent()
   " Find a non-blank, non-multi-line string line above the current line.
   let lnum = s:PrevNonBlankNonString(v:lnum - 1)
 
+  " If the line is empty and inside a string, use the previous line.
+  if line =~ '^\s*$' && lnum != prevnonblank(v:lnum - 1)
+    return indent(prevnonblank(v:lnum))
+  endif
+
   " At the start of the file use zero indent.
   if lnum == 0
     return 0
diff --git a/runtime/indent/sass.vim b/runtime/indent/sass.vim
new file mode 100644 (file)
index 0000000..45ca50f
--- /dev/null
@@ -0,0 +1,39 @@
+" Vim indent file
+" Language:    SASS
+" Maintainer:  Tim Pope <vimNOSPAM@tpope.info>
+" Last Change: 2007 Dec 16
+
+if exists("b:did_indent")
+  finish
+endif
+let b:did_indent = 1
+
+setlocal autoindent sw=2 et
+setlocal indentexpr=GetSassIndent()
+setlocal indentkeys=o,O,*<Return>,<:>,!^F
+
+" Only define the function once.
+if exists("*GetSassIndent")
+  finish
+endif
+
+let s:property = '^\s*:\|^\s*[[:alnum:]-]\+:'
+
+function! GetSassIndent()
+  let lnum = prevnonblank(v:lnum-1)
+  let line = substitute(getline(lnum),'\s\+$','','')
+  let cline = substitute(substitute(getline(v:lnum),'\s\+$','',''),'^\s\+','','')
+  let lastcol = strlen(line)
+  let line = substitute(line,'^\s\+','','')
+  let indent = indent(lnum)
+  let cindent = indent(v:lnum)
+  if line !~ s:property && cline =~ s:property
+    return indent + &sw
+  "elseif line =~ s:property && cline !~ s:property
+    "return indent - &sw
+  else
+    return -1
+  endif
+endfunction
+
+" vim:set sw=2:
index bb789a9af5f9680bc3b4f3c74cba97a44f9cc889..bf837c8645feeae627efbd05338f65a18053f599 100644 (file)
@@ -1,31 +1,39 @@
-" Vim keymap file for Bulgarian and Russian characters, `bds' layout.
-" Can be used with utf-8 or cp1251 file encodings.
-" This file itself is in utf-8
+" Vim keymap file for Bulgarian and Russian characters, "bds" layout.
+" Most of it can be used with both utf-8 and cp1251 file encodings, except
+" the accented vowels which can only be stored in utf-8.
+" This file itself is in utf-8.
 
 " Maintainer: Boyko Bantchev <boykobb@gmail.com>
-" URI: http://www.math.bas.bg/softeng/bantchev/misc/vim/bulgarian-bds.vim
-" Last Changed: 2006 Oct 18
+" URI: http://www.math.bas.bg/bantchev/vim/bulgarian-bds.vim
+" Last Changed: 2008 June 28
 
-" This keymap corresponds to what is called Bulgarian standard,
-" or BDS (БДС) typewriter keyboard layout.
-" In addition to the Bulgarian alphabet, BDS prescribes the presence
-" of the following characters:
-"     —  The Cyrillic letters Э (capital), and ы and э (small)
-"        (these are present in the Russian alphabet).
-"     —  The latin capital letters I and V (these are used to type
-"        Roman numerals without having to leave Cyrillic mode).
-"     —  „ and “ (Bulgarian quotation style), and « and » (Russian quotation
-"        style).
-"     —  §, №, —, •, ·, ±, ¬, ¤, and €
+" This keymap corresponds to what is called Bulgarian standard typewriter
+" keyboard layout (BDS, БДС).
 "
-" Some punctuation characters that are present in ascii are mapped in BDS
-" to keys different from the ones they occupy in the qwerty layout, because
-" the latter are used to type other characters.
+" Note that, in addition to the Bulgarian alphabet, the BDS layout prescribes
+" the presence of the following characters:
+"     —  The Russian letters ы (small), and Э and э (capital and small).
+"     —  The latin capital letters I and V – used to type Roman numerals
+"        without having to leave Cyrillic mode.
 "
-" In this keymap also defined (not in BDS) are the Russian letters Ё (capital)
-" and ё (small), as well as the Russian capital letter Ы (see above the small
-" counterpart).  This way, using the bulgarian-bds keymap, one can access both
-" the Bulgarian and the Russian alphabets.
+" Some punctuation characters present in ascii are mapped in BDS to keys
+" different from the ones they occupy in the qwerty layout, because the latter
+" keys are used to type other characters.
+"
+" In this keymap, also defined (besides BDS) are:
+"     —  The Russian letters Ё and ё (capital and small), as well as the
+"        Russian capital letter Ы (see above for the small counterpart).
+"        This way, using the bulgarian-bds keymap, one can access both
+"        the Bulgarian and the Russian alphabets.
+"     —  The quotation marks „ “ ” ‘ ’ (used in the Bulgarian and English
+"        quotation styles), as well as « » (Russian quotation style).
+"     —  The characters §, №, – (en-dash), — (em-dash), …, •, ·, ±, °, ¬,
+"        ¤, and €.
+"
+" The keymap also defines key combinations for accented vowels in Bulgarian.
+"
+" For details of what key or key combination maps to what character, please
+" see below the map table itself.
 
 scriptencoding utf-8
 
@@ -114,14 +122,38 @@ q       ,       COMMA
 @       ?       QUESTION MARK
 }       §       SECTION SIGN (PARAGRAPH SIGN)
 )       №       NUMERO SIGN
---      —       EM DASH
+--      –       EN DASH
+---     —       EM DASH
+..      …       HORIZONTAL ELLIPSIS
+``      “       LEFT DOUBLE QUOTATION MARK
+''      ”       RIGHT DOUBLE QUOTATION MARK
 ,,      „       DOUBLE LOW-9 QUOTATION MARK
-``      “       LEFT DOUBLE QUOTATION  MARK
+`.      ‘       LEFT SINGLE QUOTATION MARK
+'.      ’       RIGHT SINGLE QUOTATION MARK
 <<      «       LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
 >>      »       RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
-00      •       BULLET
-..      ·       MIDDLE DOT      
+**      •       BULLET
+,.      ·       MIDDLE DOT      
 +-      ±       PLUS-MINUS SIGN
+^o      °       DEGREE SIGN
 ~~      ¬       NOT SIGN
 @@      ¤       CURRENCY SIGN
 $$      €       EURO SIGN
+
+" accented vowels cannot map onto cp1251 – use utf-8 file encoding
+`D      А̀       CYRILLIC CAPITAL LETTER A + GRAVE ACCENT (COMPOSED)
+`d      а̀       CYRILLIC SMALL LETTER A + GRAVE ACCENT (COMPOSED)
+`E      Ѐ       CYRILLIC CAPITAL LETTER IE + GRAVE ACCENT (COMPOSED)
+`e      ѐ       CYRILLIC SMALL LETTER IE + GRAVE ACCENT (COMPOSED)
+`R      Ѝ       CYRILLIC CAPITAL LETTER I + GRAVE ACCENT (COMPOSED)
+`r      ѝ       CYRILLIC SMALL LETTER I + GRAVE ACCENT (COMPOSED)
+`F      О̀       CYRILLIC CAPITAL LETTER O + GRAVE ACCENT (COMPOSED)
+`f      о̀       CYRILLIC SMALL LETTER O + GRAVE ACCENT (COMPOSED)
+`W      У̀       CYRILLIC CAPITAL LETTER U + GRAVE ACCENT (COMPOSED)
+`w      у̀       CYRILLIC SMALL LETTER U + GRAVE ACCENT (COMPOSED)
+`C      Ъ̀       CYRILLIC CAPITAL LETTER HARD SIGN + GRAVE ACCENT (COMPOSED)
+`c      ъ̀       CYRILLIC SMALL LETTER HARD SIGN + GRAVE ACCENT (COMPOSED)
+`Z      Ю̀       CYRILLIC CAPITAL LETTER YU + GRAVE ACCENT (COMPOSED)
+`z      ю̀       CYRILLIC SMALL LETTER YU + GRAVE ACCENT (COMPOSED)
+`S      Я̀       CYRILLIC CAPITAL LETTER YA + GRAVE ACCENT (COMPOSED)
+`s      я̀       CYRILLIC SMALL LETTER YA + GRAVE ACCENT (COMPOSED)
index feec587b7cb1038277ba5ef5ee9468b4f40b213b..bac2e7ebee7e9f748fc3afbf6c7945822374f1bd 100644 (file)
@@ -1,26 +1,35 @@
-" Vim keymap file for Bulgarian and Russian characters, `phonetic' layout.
-" Can be used with utf-8 or cp1251 file encodings.
-" This file itself is in utf-8
+" Vim keymap file for Bulgarian and Russian characters, "phonetic" layout.
+" Most of it can be used with both utf-8 and cp1251 file encodings, except
+" the accented vowels which can only be stored in utf-8.
+" This file itself is in utf-8.
 
 " Maintainer:   Boyko Bantchev <boykobb@gmail.com>
-" URI: http://www.math.bas.bg/softeng/bantchev/misc/vim/bulgarian-phonetic.vim
-" Last Changed: 2006 Oct 18
+" URI: http://www.math.bas.bg/bantchev/vim/bulgarian-phonetic.vim
+" Last Changed: 2008 June 28
 
-" This keymap corresponds to what is called `phonetic layout' in Bulgaria:
-" Cyrillic letters homophonous with Latin letters tend to take the same
-" places as the latter ones.  Most of the keys corresponding to punctuation
-" characters are left unmapped, so they retain their usual (qwerty) meanings
-" while typing in Cyrillic.
+" For a rationale for the layout and additional info on typing in Bulgarian
+" using Unicode Cyrillic please see:
+
+" This keymap corresponds to what is called "phonetic layout" in Bulgaria:
+" Cyrillic letters tend to be mapped to their Latin homophones, if present.
+" Most keys corresponding to punctuation characters are left unmapped, so
+" they retain their usual (qwerty) meanings in Cyrillic typing.
+"
+" In addition to the Bulgarian alphabet, the keymap makes accessible the
+" following characters:
+"     —  The letters Ё and ё, Э and э, and Ы and ы (in pairs of capital and
+"        small).  These are the letters in the Russian alphabet that are not
+"        present in Bulgarian, so using the bulgarian-phonetic keymap one can
+"        type in Russian, too.
+"     —  The quotation marks „ “ ” ‘ ’ (used in the Bulgarian and English
+"        quotation styles), as well as « » (Russian quotation style).
+"     —  The characters §, №, – (en-dash), — (em-dash), …, •, ·, ±, °, ¬,
+"        ¤, and €.
+"
+" The keymap also defines key combinations for accented vowels in Bulgarian.
 "
-" In addition to the Bulgarian alphabet, the keymap defines the following
-" characters:
-"     —  The Cyrillic letters Ё and ё, Э and э, and Ы and ы (in pairs of
-"        capital and small).  These are the letters in the Russian alphabet
-"        that are not present in Bulgarian, so using the bulgarian-phonetic
-"        keymap one can type in Russian, too.
-"     —  „ and “ (Bulgarian quotation style), and « and » (Russian quotation
-"        style).
-"     —  §, №, —, •, ·, ±, ¬, ¤, and €
+" For details of what key or key combination maps to what character, please
+" see below the map table itself.
 
 scriptencoding utf-8
 
@@ -55,7 +64,7 @@ C       Ц       CYRILLIC CAPITAL LETTER TSE
 {       Ш       CYRILLIC CAPITAL LETTER SHA
 }       Щ       CYRILLIC CAPITAL LETTER SHCHA
 Y       Ъ       CYRILLIC CAPITAL LETTER HARD SIGN
-YJ      Ы       CYRILLIC CAPITAL LETTER YERU
+YI      Ы       CYRILLIC CAPITAL LETTER YERU
 X       Ь       CYRILLIC CAPITAL LETTER SOFT SIGN
 YE      Э       CYRILLIC CAPITAL LETTER REVERSED E
 |       Ю       CYRILLIC CAPITAL LETTER YU
@@ -88,21 +97,45 @@ c       ц       CYRILLIC SMALL LETTER TSE
 [       ш       CYRILLIC SMALL LETTER SHA
 ]       щ       CYRILLIC SMALL LETTER SHCHA
 y       ъ       CYRILLIC SMALL LETTER HARD SIGN
-yj      ы       CYRILLIC SMALL LETTER YERU
+yi      ы       CYRILLIC SMALL LETTER YERU
 x       ь       CYRILLIC SMALL LETTER SOFT SIGN
 ye      э       CYRILLIC SMALL LETTER REVERSED E
 \\      ю       CYRILLIC SMALL LETTER YU
 q       я       CYRILLIC SMALL LETTER YA
 !!      §       SECTION SIGN (PARAGRAPH SIGN)
 ##      №       NUMERO SIGN
---      —       EM DASH
-,,      „       DOUBLE LOW-9 QUOTATION MARK
+--      –       EN DASH
+---     —       EM DASH
+..      …       HORIZONTAL ELLIPSIS
 ``      “       LEFT DOUBLE QUOTATION  MARK
+''      ”       RIGHT DOUBLE QUOTATION MARK
+,,      „       DOUBLE LOW-9 QUOTATION MARK
+`.      ‘       LEFT SINGLE QUOTATION MARK
+'.      ’       RIGHT SINGLE QUOTATION MARK
 <<      «       LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
 >>      »       RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
-00      •       BULLET
-..      ·       MIDDLE DOT      
+**      •       BULLET
+,.      ·       MIDDLE DOT      
 +-      ±       PLUS-MINUS SIGN
+^o      °       DEGREE SIGN
 ~~      ¬       NOT SIGN
 @@      ¤       CURRENCY SIGN
 $$      €       EURO SIGN
+
+" accented vowels cannot map onto cp1251 – use utf-8 file encoding
+'A      А̀       CYRILLIC CAPITAL LETTER A + GRAVE ACCENT (COMPOSED)
+'a      а̀       CYRILLIC SMALL LETTER A + GRAVE ACCENT (COMPOSED)
+'E      Ѐ       CYRILLIC CAPITAL LETTER IE + GRAVE ACCENT (COMPOSED)
+'e      ѐ       CYRILLIC SMALL LETTER IE + GRAVE ACCENT (COMPOSED)
+'I      Ѝ       CYRILLIC CAPITAL LETTER I + GRAVE ACCENT (COMPOSED)
+'i      ѝ       CYRILLIC SMALL LETTER I + GRAVE ACCENT (COMPOSED)
+'O      О̀       CYRILLIC CAPITAL LETTER O + GRAVE ACCENT (COMPOSED)
+'o      о̀       CYRILLIC SMALL LETTER O + GRAVE ACCENT (COMPOSED)
+'U      У̀       CYRILLIC CAPITAL LETTER U + GRAVE ACCENT (COMPOSED)
+'u      у̀       CYRILLIC SMALL LETTER U + GRAVE ACCENT (COMPOSED)
+'Y      Ъ̀       CYRILLIC CAPITAL LETTER HARD SIGN + GRAVE ACCENT (COMPOSED)
+'y      ъ̀       CYRILLIC SMALL LETTER HARD SIGN + GRAVE ACCENT (COMPOSED)
+'|      Ю̀       CYRILLIC CAPITAL LETTER YU + GRAVE ACCENT (COMPOSED)
+'\\     ю̀       CYRILLIC SMALL LETTER YU + GRAVE ACCENT (COMPOSED)
+'Q      Я̀       CYRILLIC CAPITAL LETTER YA + GRAVE ACCENT (COMPOSED)
+'q      я̀       CYRILLIC SMALL LETTER YA + GRAVE ACCENT (COMPOSED)
diff --git a/runtime/keymap/bulgarian.vim b/runtime/keymap/bulgarian.vim
deleted file mode 100644 (file)
index 3c80c9f..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-" Vim Keymap file for russian characters, phonetic layout 'yawerty'
-" Useful mainly with utf-8 but may work with other encodings
-
-" Maintainer:   Alberto Mardegan <mardy@despammed.com>
-" Last Changed: 2004 Oct 17
-
-" All characters are given literally, conversion to another encoding (e.g.,
-" UTF-8) should work.
-scriptencoding utf-8
-
-let b:keymap_name = "bg"
-
-loadkeymap
-A      А      CYRILLIC CAPITAL LETTER A
-B      Б      CYRILLIC CAPITAL LETTER BE
-W      В      CYRILLIC CAPITAL LETTER VE
-V      В      CYRILLIC CAPITAL LETTER VE
-G      Г      CYRILLIC CAPITAL LETTER GHE
-D      Д      CYRILLIC CAPITAL LETTER DE
-E      Е      CYRILLIC CAPITAL LETTER IE
-Zh     Ж      CYRILLIC CAPITAL LETTER ZHE
-ZH     Ж      CYRILLIC CAPITAL LETTER ZHE
-Z      З      CYRILLIC CAPITAL LETTER ZE
-I      И      CYRILLIC CAPITAL LETTER I
-J      Й      CYRILLIC CAPITAL LETTER SHORT I
-K      К      CYRILLIC CAPITAL LETTER KA
-L      Л      CYRILLIC CAPITAL LETTER EL
-M      М      CYRILLIC CAPITAL LETTER EM
-N      Н      CYRILLIC CAPITAL LETTER EN
-O      О      CYRILLIC CAPITAL LETTER O
-P      П      CYRILLIC CAPITAL LETTER PE
-R      Р      CYRILLIC CAPITAL LETTER ER
-S      С      CYRILLIC CAPITAL LETTER ES
-T      Т      CYRILLIC CAPITAL LETTER TE
-U      У      CYRILLIC CAPITAL LETTER U
-F      Ф      CYRILLIC CAPITAL LETTER EF
-H      Х      CYRILLIC CAPITAL LETTER HA
-C      Ц      CYRILLIC CAPITAL LETTER TSE
-Ch     Ч      CYRILLIC CAPITAL LETTER CHE
-CH     Ч      CYRILLIC CAPITAL LETTER CHE
-Sh     Ш      CYRILLIC CAPITAL LETTER SHA
-SH     Ш      CYRILLIC CAPITAL LETTER SHA
-Sht    Щ      CYRILLIC CAPITAL LETTER SHCHA
-SHt    Щ      CYRILLIC CAPITAL LETTER SHCHA
-SHT    Щ      CYRILLIC CAPITAL LETTER SHCHA
-Sj     Щ      CYRILLIC CAPITAL LETTER SHCHA
-SJ     Щ      CYRILLIC CAPITAL LETTER SHCHA
-Y      Ъ      CYRILLIC CAPITAL LETTER HARD SIGN
-X      Ь      CYRILLIC CAPITAL LETTER SOFT SIGN
-~      Ю      CYRILLIC CAPITAL LETTER YU
-Ju     Ю      CYRILLIC CAPITAL LETTER YU
-JU     Ю      CYRILLIC CAPITAL LETTER YU
-Q      Я      CYRILLIC CAPITAL LETTER YA
-Ja     Я      CYRILLIC CAPITAL LETTER YA
-JA     Я      CYRILLIC CAPITAL LETTER YA
-a      а      CYRILLIC SMALL LETTER A
-b      б      CYRILLIC SMALL LETTER BE
-w      в      CYRILLIC SMALL LETTER VE
-v      в      CYRILLIC SMALL LETTER VE
-g      г      CYRILLIC SMALL LETTER GHE
-d      д      CYRILLIC SMALL LETTER DE
-e      е      CYRILLIC SMALL LETTER IE
-zh     ж      CYRILLIC SMALL LETTER ZHE
-w      ж      CYRILLIC SMALL LETTER ZHE
-z      з      CYRILLIC SMALL LETTER ZE
-i      и      CYRILLIC SMALL LETTER I
-j      й      CYRILLIC SMALL LETTER SHORT I
-k      к      CYRILLIC SMALL LETTER KA
-l      л      CYRILLIC SMALL LETTER EL
-m      м      CYRILLIC SMALL LETTER EM
-n      н      CYRILLIC SMALL LETTER EN
-o      о      CYRILLIC SMALL LETTER O
-p      п      CYRILLIC SMALL LETTER PE
-r      р      CYRILLIC SMALL LETTER ER
-s      с      CYRILLIC SMALL LETTER ES
-t      т      CYRILLIC SMALL LETTER TE
-u      у      CYRILLIC SMALL LETTER U
-f      ф      CYRILLIC SMALL LETTER EF
-h      х      CYRILLIC SMALL LETTER HA
-c      ц      CYRILLIC SMALL LETTER TSE
-ch     ч      CYRILLIC SMALL LETTER CHE
-sh     ш      CYRILLIC SMALL LETTER SHA
-sht    щ      CYRILLIC SMALL LETTER SHCHA
-sj     щ      CYRILLIC SMALL LETTER SHCHA
-y      ъ      CYRILLIC SMALL LETTER HARD SIGN
-x      ь      CYRILLIC SMALL LETTER SOFT SIGN
-`      ю      CYRILLIC SMALL LETTER YU
-ju     ю      CYRILLIC SMALL LETTER YU
-q      я      CYRILLIC SMALL LETTER YA
-ja     я      CYRILLIC SMALL LETTER YA
index 41d0591fe405070b933b35c4c5324ef7fd472bdd..aa4a9ca585beeea9c0397bc86bc6cbce4fcac8de 100644 (file)
@@ -256,17 +256,18 @@ function! Justify(...) range
        let str = substitute(str, '\s\+$', '', '')
        let str = substitute(str, '^\s\+', '', '')
        let str = substitute(str, '\s\+', ' ', 'g')
-       let str_n = strlen(str)
+       " Use substitute() hack to get strlen in characters instead of bytes
+       let str_n = strlen(substitute(str, '.', 'x', 'g'))
 
        " Possible addition of space after punctuation
        if exists("join_str")
            let str = substitute(str, join_str, '\1 ', 'g')
        endif
-       let join_n = strlen(str) - str_n
+       let join_n = strlen(substitute(str, '.', 'x', 'g')) - str_n
 
        " Can extraspaces be added?
        " Note that str_n may be less than strlen(str) [joinspaces above]
-       if strlen(str) < tw - indent_n && str_n > 0
+       if strlen(substitute(str, '.', 'x', 'g')) < tw - indent_n && str_n > 0
            " How many spaces should be added
            let s_add = tw - str_n - indent_n - join_n
            let s_nr  = strlen(substitute(str, '\S', '', 'g') ) - join_n
index 6fa34e5367ca0f1501ac541475f1cdda7b8fe2f5..5f7883c79aa834237ee50cde281df3f7730ff3e0 100644 (file)
@@ -1,6 +1,6 @@
 " Script to define the syntax menu in synmenu.vim
 " Maintainer:  Bram Moolenaar <Bram@vim.org>
-" Last Change: 2008 Jun 24
+" Last Change: 2008 Jul 13
 
 " This is used by "make menu" in the src directory.
 edit <sfile>:p:h/synmenu.vim
@@ -228,11 +228,13 @@ SynMenu FG.Groff:groff
 SynMenu FG.Groovy:groovy
 SynMenu FG.GTKrc:gtkrc
 
+SynMenu HIJK.Haml:haml
 SynMenu HIJK.Hamster:hamster
 SynMenu HIJK.Haskell.Haskell:haskell
 SynMenu HIJK.Haskell.Haskell-c2hs:chaskell
 SynMenu HIJK.Haskell.Haskell-literate:lhaskell
 SynMenu HIJK.HASTE:haste
+SynMenu HIJK.HASTE\ preproc:hastepreproc
 SynMenu HIJK.Hercules:hercules
 SynMenu HIJK.Hex\ dump.XXD:xxd
 SynMenu HIJK.Hex\ dump.Intel\ MCS51:hex
@@ -426,6 +428,7 @@ SynMenu R-Sg.Ruby:ruby
 SynMenu R-Sg.S-Lang:slang
 SynMenu R-Sg.Samba\ config:samba
 SynMenu R-Sg.SAS:sas
+SynMenu R-Sg.Sass:sass
 SynMenu R-Sg.Sather:sather
 SynMenu R-Sg.Scheme:scheme
 SynMenu R-Sg.Scilab:scilab
index 7fe103d61806292a1aa5afc97466daa05b21ece3..4fd36db5965a41c6243bed26f76d98be5e114924 100644 (file)
@@ -19,7 +19,7 @@ if &cp || exists("g:loaded_getscriptPlugin")
  endif
  finish
 endif
-let g:loaded_getscriptPlugin = "v30"
+let g:loaded_getscriptPlugin = "v31"
 let s:keepcpo                = &cpo
 set cpo&vim
 
index b0a29ad786c815cd07f4c9a460802daaa5080bd2..f84aadcf1f09dc276822b45138b863aeec42d19c 100644 (file)
@@ -22,7 +22,7 @@
 if &cp || exists("g:loaded_netrwPlugin")
  finish
 endif
-let g:loaded_netrwPlugin = "v125"
+let g:loaded_netrwPlugin = "v127"
 let s:keepcpo            = &cpo
 if v:version < 700
  echohl WarningMsg | echo "***netrw*** you need vim version 7.0 for this version of netrw" | echohl None
index 42fd96a319282663f1ec7f07f0b4a7c492fcf019..412ceed7bae1641508fc22ba406af9fd5c41b589 100644 (file)
@@ -14,7 +14,7 @@
 if &cp || exists("g:loaded_tarPlugin")
  finish
 endif
-let g:loaded_tarPlugin = "v16"
+let g:loaded_tarPlugin = "v19"
 let s:keepcpo          = &cpo
 set cpo&vim
 
index e98686bbd360c41cc7437b1c4894b725904ff4d7..e198c66e2f3c01ee52a4164f0d3958404b0c7dc6 100644 (file)
 if &cp || exists("g:loaded_zipPlugin")
  finish
 endif
-let g:loaded_zipPlugin = "v18"
+
+" Don't use the plugin if fnameescape() is not available
+if !exists("*fnameescape")
+  if &verbose > 1
+   echoerr "zipPlugin not loaded because fnameescape() is not available"
+ endif
+ finish
+endif
+
+let g:loaded_zipPlugin = "v21+b"
 let s:keepcpo          = &cpo
 set cpo&vim
 
index 936f508e79bd4b2e7674c732e283540de3c3b9b6..201c37569864bbe63780aa189fe46d2913d3e957 100644 (file)
@@ -1,7 +1,7 @@
 " Vim support file to detect file types in scripts
 "
 " Maintainer:  Bram Moolenaar <Bram@vim.org>
-" Last change: 2008 Apr 28
+" Last change: 2008 Jun 30
 
 " This file is called by an autocommand for every file that has just been
 " loaded into a buffer.  It checks if the type of file can be recognized by
@@ -168,7 +168,7 @@ else
     set ft=zsh
 
   " ELM Mail files
-  elseif s:line1 =~ '^From [a-zA-Z][a-zA-Z_0-9\.=-]*\(@[^ ]*\)\= .*[12][09]\d\d$'
+  elseif s:line1 =~ '^From \([a-zA-Z][a-zA-Z_0-9\.=-]*\(@[^ ]*\)\=\|-\) .* \(19\|20\)\d\d$'
     set ft=mail
 
     " Mason
index 68a841e25d0c4d1c1ce70d2fadc9993556c1fd41..c2159771e4f600f4ba88dee4ebd63beca4c76358 100644 (file)
@@ -208,50 +208,52 @@ an 50.40.400 &Syntax.FG.Gretl :cal SetSyn("gretl")<CR>
 an 50.40.410 &Syntax.FG.Groff :cal SetSyn("groff")<CR>
 an 50.40.420 &Syntax.FG.Groovy :cal SetSyn("groovy")<CR>
 an 50.40.430 &Syntax.FG.GTKrc :cal SetSyn("gtkrc")<CR>
-an 50.50.100 &Syntax.HIJK.Hamster :cal SetSyn("hamster")<CR>
-an 50.50.110 &Syntax.HIJK.Haskell.Haskell :cal SetSyn("haskell")<CR>
-an 50.50.120 &Syntax.HIJK.Haskell.Haskell-c2hs :cal SetSyn("chaskell")<CR>
-an 50.50.130 &Syntax.HIJK.Haskell.Haskell-literate :cal SetSyn("lhaskell")<CR>
-an 50.50.140 &Syntax.HIJK.HASTE :cal SetSyn("haste")<CR>
-an 50.50.150 &Syntax.HIJK.Hercules :cal SetSyn("hercules")<CR>
-an 50.50.160 &Syntax.HIJK.Hex\ dump.XXD :cal SetSyn("xxd")<CR>
-an 50.50.170 &Syntax.HIJK.Hex\ dump.Intel\ MCS51 :cal SetSyn("hex")<CR>
-an 50.50.180 &Syntax.HIJK.HTML.HTML :cal SetSyn("html")<CR>
-an 50.50.190 &Syntax.HIJK.HTML.HTML\ with\ M4 :cal SetSyn("htmlm4")<CR>
-an 50.50.200 &Syntax.HIJK.HTML.HTML\ with\ Ruby\ (eRuby) :cal SetSyn("eruby")<CR>
-an 50.50.210 &Syntax.HIJK.HTML.Cheetah\ HTML\ template :cal SetSyn("htmlcheetah")<CR>
-an 50.50.220 &Syntax.HIJK.HTML.Django\ HTML\ template :cal SetSyn("htmldjango")<CR>
-an 50.50.230 &Syntax.HIJK.HTML.HTML/OS :cal SetSyn("htmlos")<CR>
-an 50.50.240 &Syntax.HIJK.HTML.XHTML :cal SetSyn("xhtml")<CR>
-an 50.50.250 &Syntax.HIJK.Host\.conf :cal SetSyn("hostconf")<CR>
-an 50.50.260 &Syntax.HIJK.Hyper\ Builder :cal SetSyn("hb")<CR>
-an 50.50.280 &Syntax.HIJK.Icewm\ menu :cal SetSyn("icemenu")<CR>
-an 50.50.290 &Syntax.HIJK.Icon :cal SetSyn("icon")<CR>
-an 50.50.300 &Syntax.HIJK.IDL\Generic\ IDL :cal SetSyn("idl")<CR>
-an 50.50.310 &Syntax.HIJK.IDL\Microsoft\ IDL :cal SetSyn("msidl")<CR>
-an 50.50.320 &Syntax.HIJK.Indent\ profile :cal SetSyn("indent")<CR>
-an 50.50.330 &Syntax.HIJK.Inform :cal SetSyn("inform")<CR>
-an 50.50.340 &Syntax.HIJK.Informix\ 4GL :cal SetSyn("fgl")<CR>
-an 50.50.350 &Syntax.HIJK.Initng :cal SetSyn("initng")<CR>
-an 50.50.360 &Syntax.HIJK.Inittab :cal SetSyn("inittab")<CR>
-an 50.50.370 &Syntax.HIJK.Inno\ setup :cal SetSyn("iss")<CR>
-an 50.50.380 &Syntax.HIJK.InstallShield\ script :cal SetSyn("ishd")<CR>
-an 50.50.390 &Syntax.HIJK.Interactive\ Data\ Lang :cal SetSyn("idlang")<CR>
-an 50.50.400 &Syntax.HIJK.IPfilter :cal SetSyn("ipfilter")<CR>
-an 50.50.420 &Syntax.HIJK.JAL :cal SetSyn("jal")<CR>
-an 50.50.430 &Syntax.HIJK.JAM :cal SetSyn("jam")<CR>
-an 50.50.440 &Syntax.HIJK.Jargon :cal SetSyn("jargon")<CR>
-an 50.50.450 &Syntax.HIJK.Java.Java :cal SetSyn("java")<CR>
-an 50.50.460 &Syntax.HIJK.Java.JavaCC :cal SetSyn("javacc")<CR>
-an 50.50.470 &Syntax.HIJK.Java.Java\ Server\ Pages :cal SetSyn("jsp")<CR>
-an 50.50.480 &Syntax.HIJK.Java.Java\ Properties :cal SetSyn("jproperties")<CR>
-an 50.50.490 &Syntax.HIJK.JavaScript :cal SetSyn("javascript")<CR>
-an 50.50.500 &Syntax.HIJK.Jess :cal SetSyn("jess")<CR>
-an 50.50.510 &Syntax.HIJK.Jgraph :cal SetSyn("jgraph")<CR>
-an 50.50.530 &Syntax.HIJK.Kconfig :cal SetSyn("kconfig")<CR>
-an 50.50.540 &Syntax.HIJK.KDE\ script :cal SetSyn("kscript")<CR>
-an 50.50.550 &Syntax.HIJK.Kimwitu++ :cal SetSyn("kwt")<CR>
-an 50.50.560 &Syntax.HIJK.KixTart :cal SetSyn("kix")<CR>
+an 50.50.100 &Syntax.HIJK.Haml :cal SetSyn("haml")<CR>
+an 50.50.110 &Syntax.HIJK.Hamster :cal SetSyn("hamster")<CR>
+an 50.50.120 &Syntax.HIJK.Haskell.Haskell :cal SetSyn("haskell")<CR>
+an 50.50.130 &Syntax.HIJK.Haskell.Haskell-c2hs :cal SetSyn("chaskell")<CR>
+an 50.50.140 &Syntax.HIJK.Haskell.Haskell-literate :cal SetSyn("lhaskell")<CR>
+an 50.50.150 &Syntax.HIJK.HASTE :cal SetSyn("haste")<CR>
+an 50.50.160 &Syntax.HIJK.HASTE\ preproc :cal SetSyn("hastepreproc")<CR>
+an 50.50.170 &Syntax.HIJK.Hercules :cal SetSyn("hercules")<CR>
+an 50.50.180 &Syntax.HIJK.Hex\ dump.XXD :cal SetSyn("xxd")<CR>
+an 50.50.190 &Syntax.HIJK.Hex\ dump.Intel\ MCS51 :cal SetSyn("hex")<CR>
+an 50.50.200 &Syntax.HIJK.HTML.HTML :cal SetSyn("html")<CR>
+an 50.50.210 &Syntax.HIJK.HTML.HTML\ with\ M4 :cal SetSyn("htmlm4")<CR>
+an 50.50.220 &Syntax.HIJK.HTML.HTML\ with\ Ruby\ (eRuby) :cal SetSyn("eruby")<CR>
+an 50.50.230 &Syntax.HIJK.HTML.Cheetah\ HTML\ template :cal SetSyn("htmlcheetah")<CR>
+an 50.50.240 &Syntax.HIJK.HTML.Django\ HTML\ template :cal SetSyn("htmldjango")<CR>
+an 50.50.250 &Syntax.HIJK.HTML.HTML/OS :cal SetSyn("htmlos")<CR>
+an 50.50.260 &Syntax.HIJK.HTML.XHTML :cal SetSyn("xhtml")<CR>
+an 50.50.270 &Syntax.HIJK.Host\.conf :cal SetSyn("hostconf")<CR>
+an 50.50.280 &Syntax.HIJK.Hyper\ Builder :cal SetSyn("hb")<CR>
+an 50.50.300 &Syntax.HIJK.Icewm\ menu :cal SetSyn("icemenu")<CR>
+an 50.50.310 &Syntax.HIJK.Icon :cal SetSyn("icon")<CR>
+an 50.50.320 &Syntax.HIJK.IDL\Generic\ IDL :cal SetSyn("idl")<CR>
+an 50.50.330 &Syntax.HIJK.IDL\Microsoft\ IDL :cal SetSyn("msidl")<CR>
+an 50.50.340 &Syntax.HIJK.Indent\ profile :cal SetSyn("indent")<CR>
+an 50.50.350 &Syntax.HIJK.Inform :cal SetSyn("inform")<CR>
+an 50.50.360 &Syntax.HIJK.Informix\ 4GL :cal SetSyn("fgl")<CR>
+an 50.50.370 &Syntax.HIJK.Initng :cal SetSyn("initng")<CR>
+an 50.50.380 &Syntax.HIJK.Inittab :cal SetSyn("inittab")<CR>
+an 50.50.390 &Syntax.HIJK.Inno\ setup :cal SetSyn("iss")<CR>
+an 50.50.400 &Syntax.HIJK.InstallShield\ script :cal SetSyn("ishd")<CR>
+an 50.50.410 &Syntax.HIJK.Interactive\ Data\ Lang :cal SetSyn("idlang")<CR>
+an 50.50.420 &Syntax.HIJK.IPfilter :cal SetSyn("ipfilter")<CR>
+an 50.50.440 &Syntax.HIJK.JAL :cal SetSyn("jal")<CR>
+an 50.50.450 &Syntax.HIJK.JAM :cal SetSyn("jam")<CR>
+an 50.50.460 &Syntax.HIJK.Jargon :cal SetSyn("jargon")<CR>
+an 50.50.470 &Syntax.HIJK.Java.Java :cal SetSyn("java")<CR>
+an 50.50.480 &Syntax.HIJK.Java.JavaCC :cal SetSyn("javacc")<CR>
+an 50.50.490 &Syntax.HIJK.Java.Java\ Server\ Pages :cal SetSyn("jsp")<CR>
+an 50.50.500 &Syntax.HIJK.Java.Java\ Properties :cal SetSyn("jproperties")<CR>
+an 50.50.510 &Syntax.HIJK.JavaScript :cal SetSyn("javascript")<CR>
+an 50.50.520 &Syntax.HIJK.Jess :cal SetSyn("jess")<CR>
+an 50.50.530 &Syntax.HIJK.Jgraph :cal SetSyn("jgraph")<CR>
+an 50.50.550 &Syntax.HIJK.Kconfig :cal SetSyn("kconfig")<CR>
+an 50.50.560 &Syntax.HIJK.KDE\ script :cal SetSyn("kscript")<CR>
+an 50.50.570 &Syntax.HIJK.Kimwitu++ :cal SetSyn("kwt")<CR>
+an 50.50.580 &Syntax.HIJK.KixTart :cal SetSyn("kix")<CR>
 an 50.60.100 &Syntax.L-Ma.Lace :cal SetSyn("lace")<CR>
 an 50.60.110 &Syntax.L-Ma.LamdaProlog :cal SetSyn("lprolog")<CR>
 an 50.60.120 &Syntax.L-Ma.Latte :cal SetSyn("latte")<CR>
@@ -402,24 +404,25 @@ an 50.90.330 &Syntax.R-Sg.Ruby :cal SetSyn("ruby")<CR>
 an 50.90.350 &Syntax.R-Sg.S-Lang :cal SetSyn("slang")<CR>
 an 50.90.360 &Syntax.R-Sg.Samba\ config :cal SetSyn("samba")<CR>
 an 50.90.370 &Syntax.R-Sg.SAS :cal SetSyn("sas")<CR>
-an 50.90.380 &Syntax.R-Sg.Sather :cal SetSyn("sather")<CR>
-an 50.90.390 &Syntax.R-Sg.Scheme :cal SetSyn("scheme")<CR>
-an 50.90.400 &Syntax.R-Sg.Scilab :cal SetSyn("scilab")<CR>
-an 50.90.410 &Syntax.R-Sg.Screen\ RC :cal SetSyn("screen")<CR>
-an 50.90.420 &Syntax.R-Sg.SDL :cal SetSyn("sdl")<CR>
-an 50.90.430 &Syntax.R-Sg.Sed :cal SetSyn("sed")<CR>
-an 50.90.440 &Syntax.R-Sg.Sendmail\.cf :cal SetSyn("sm")<CR>
-an 50.90.450 &Syntax.R-Sg.Send-pr :cal SetSyn("sendpr")<CR>
-an 50.90.460 &Syntax.R-Sg.Sensors\.conf :cal SetSyn("sensors")<CR>
-an 50.90.470 &Syntax.R-Sg.Service\ Location\ config :cal SetSyn("slpconf")<CR>
-an 50.90.480 &Syntax.R-Sg.Service\ Location\ registration :cal SetSyn("slpreg")<CR>
-an 50.90.490 &Syntax.R-Sg.Service\ Location\ SPI :cal SetSyn("slpspi")<CR>
-an 50.90.500 &Syntax.R-Sg.Services :cal SetSyn("services")<CR>
-an 50.90.510 &Syntax.R-Sg.Setserial\ config :cal SetSyn("setserial")<CR>
-an 50.90.520 &Syntax.R-Sg.SGML.SGML\ catalog :cal SetSyn("catalog")<CR>
-an 50.90.530 &Syntax.R-Sg.SGML.SGML\ DTD :cal SetSyn("sgml")<CR>
-an 50.90.540 &Syntax.R-Sg.SGML.SGML\ Declaration :cal SetSyn("sgmldecl")<CR>
-an 50.90.550 &Syntax.R-Sg.SGML.SGML-linuxdoc :cal SetSyn("sgmllnx")<CR>
+an 50.90.380 &Syntax.R-Sg.Sass :cal SetSyn("sass")<CR>
+an 50.90.390 &Syntax.R-Sg.Sather :cal SetSyn("sather")<CR>
+an 50.90.400 &Syntax.R-Sg.Scheme :cal SetSyn("scheme")<CR>
+an 50.90.410 &Syntax.R-Sg.Scilab :cal SetSyn("scilab")<CR>
+an 50.90.420 &Syntax.R-Sg.Screen\ RC :cal SetSyn("screen")<CR>
+an 50.90.430 &Syntax.R-Sg.SDL :cal SetSyn("sdl")<CR>
+an 50.90.440 &Syntax.R-Sg.Sed :cal SetSyn("sed")<CR>
+an 50.90.450 &Syntax.R-Sg.Sendmail\.cf :cal SetSyn("sm")<CR>
+an 50.90.460 &Syntax.R-Sg.Send-pr :cal SetSyn("sendpr")<CR>
+an 50.90.470 &Syntax.R-Sg.Sensors\.conf :cal SetSyn("sensors")<CR>
+an 50.90.480 &Syntax.R-Sg.Service\ Location\ config :cal SetSyn("slpconf")<CR>
+an 50.90.490 &Syntax.R-Sg.Service\ Location\ registration :cal SetSyn("slpreg")<CR>
+an 50.90.500 &Syntax.R-Sg.Service\ Location\ SPI :cal SetSyn("slpspi")<CR>
+an 50.90.510 &Syntax.R-Sg.Services :cal SetSyn("services")<CR>
+an 50.90.520 &Syntax.R-Sg.Setserial\ config :cal SetSyn("setserial")<CR>
+an 50.90.530 &Syntax.R-Sg.SGML.SGML\ catalog :cal SetSyn("catalog")<CR>
+an 50.90.540 &Syntax.R-Sg.SGML.SGML\ DTD :cal SetSyn("sgml")<CR>
+an 50.90.550 &Syntax.R-Sg.SGML.SGML\ Declaration :cal SetSyn("sgmldecl")<CR>
+an 50.90.560 &Syntax.R-Sg.SGML.SGML-linuxdoc :cal SetSyn("sgmllnx")<CR>
 an 50.100.100 &Syntax.Sh-S.Shell\ script.sh\ and\ ksh :cal SetSyn("sh")<CR>
 an 50.100.110 &Syntax.Sh-S.Shell\ script.csh :cal SetSyn("csh")<CR>
 an 50.100.120 &Syntax.Sh-S.Shell\ script.tcsh :cal SetSyn("tcsh")<CR>
index f31770077506ea2897d2df8d1f7580aefd9fb944..8d76fb8f4f93f1471322d8f78df601c4cacf6299 100644 (file)
@@ -9,9 +9,9 @@
 " Contributors: Preben Randhol.
 "      $Author$
 "       $Date$
-"      Version: 4.2
+"      Version: 4.6
 "    $Revision$
-"     $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/syntax/ada.vim $
+"     $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/syntax/ada.vim $
 "              http://www.dwheeler.com/vim
 "      History: 24.05.2006 MK Unified Headers
 "              26.05.2006 MK ' should not be in iskeyword.
@@ -38,8 +38,6 @@ let b:current_syntax = "ada"
 " Section: Ada is entirely case-insensitive. {{{1
 "
 syntax   case ignore
-setlocal nosmartcase
-setlocal ignorecase
 
 " Section: Highlighting commands {{{1
 "
@@ -98,7 +96,8 @@ syntax keyword  adaSpecial        <>
 "
 if exists("g:ada_rainbow_color")
     syntax match       adaSpecial       "[:;.,]"
-    runtime plugin/Rainbow_Parenthsis.vim
+    call rainbow_parenthsis#LoadRound ()
+    call rainbow_parenthsis#Activate ()
 else
     syntax match       adaSpecial       "[:;().,]"
 endif
@@ -159,7 +158,7 @@ endif
 " Section: end {{{1
 " Unless special ("end loop", "end if", etc.), "end" marks the end of a
 " begin, package, task etc. Assiging it to adaEnd.
-syntax match    adaEnd "\<end\>"
+syntax match    adaEnd /\<end\>/
 
 syntax keyword  adaPreproc              pragma
 
@@ -346,9 +345,6 @@ else
 endif
 
 
-" Section: formatoptions {{{1
-"
-setlocal formatoptions+=ron
 
 " Section: sync {{{1
 "
index 28fe85472563b25ca8b68d93a007f70caaa47eb8..e751fbc7225c7d87856bd2880ae6e489eec307eb 100644 (file)
@@ -19,7 +19,7 @@ syn case ignore
 " Define some common expressions we can use later on
 syn match debchangelogName     contained "^[[:alpha:]][[:alnum:].+-]\+ "
 syn match debchangelogUrgency  contained "; urgency=\(low\|medium\|high\|critical\|emergency\)\( \S.*\)\="
-syn match debchangelogTarget   contained "\( \(old\)\=stable\| frozen\| unstable\| testing-proposed-updates\| experimental\| \%(sarge\|etch\|lenny\)-\%(backports\|-volatile\)\| \(old\)\=stable-security\| testing-security\| \(dapper\|edgy\|feisty\|gutsy\|hardy\)\(-\(security\|proposed\|updates\|backports\|commercial\|partner\)\)\?\)\+"
+syn match debchangelogTarget   contained "\v %(%(old)=stable|frozen|unstable|%(testing-|%(old)=stable-)=proposed-updates|experimental|%(sarge|etch|lenny)-%(backports|volatile)|%(testing|%(old)=stable)-security|%(dapper|feisty|gutsy|hardy|intrepid)%(-%(security|proposed|updates|backports|commercial|partner))=)+"
 syn match debchangelogVersion  contained "(.\{-})"
 syn match debchangelogCloses   contained "closes:\_s*\(bug\)\=#\=\_s\=\d\+\(,\_s*\(bug\)\=#\=\_s\=\d\+\)*"
 syn match debchangelogLP       contained "\clp:\s\+#\d\+\(,\s*#\d\+\)*"
index 3b01fb50ae453aa806aab8df6d7818fb40f4e05e..d56a342328c447e645083207e3f7ca7ae51ccbb6 100644 (file)
@@ -34,6 +34,7 @@ syn match debcontrolPriority contained "\(extra\|important\|optional\|required\|
 syn match debcontrolSection contained "\(\(contrib\|non-free\|non-US/main\|non-US/contrib\|non-US/non-free\|restricted\|universe\|multiverse\)/\)\=\(admin\|base\|comm\|devel\|doc\|editors\|electronics\|embedded\|games\|gnome\|graphics\|hamradio\|interpreters\|kde\|libs\|libdevel\|mail\|math\|misc\|net\|news\|oldlibs\|otherosfs\|perl\|python\|science\|shells\|sound\|text\|tex\|utils\|web\|x11\|debian-installer\)"
 syn match debcontrolPackageType contained "u\?deb"
 syn match debcontrolVariable contained "\${.\{-}}"
+syn match debcontrolDmUpload contained "\cyes"
 
 " A URL (using the domain name definitions from RFC 1034 and 1738), right now
 " only enforce protocol and some sanity on the server/path part;
@@ -52,7 +53,7 @@ syn match debcontrolComment "^#.*$"
 syn case ignore
 
 " List of all legal keys
-syn match debcontrolKey contained "^\(Source\|Package\|Section\|Priority\|Maintainer\|Uploaders\|Build-Depends\|Build-Conflicts\|Build-Depends-Indep\|Build-Conflicts-Indep\|Standards-Version\|Pre-Depends\|Depends\|Recommends\|Suggests\|Provides\|Replaces\|Conflicts\|Essential\|Architecture\|Description\|Bugs\|Origin\|Enhances\|Homepage\|\(XS-\)\=Vcs-\(Browser\|Arch\|Bzr\|Cvs\|Darcs\|Git\|Hg\|Mtn\|Svn\)\|XC-Package-Type\): *"
+syn match debcontrolKey contained "^\(Source\|Package\|Section\|Priority\|Maintainer\|Uploaders\|Build-Depends\|Build-Conflicts\|Build-Depends-Indep\|Build-Conflicts-Indep\|Standards-Version\|Pre-Depends\|Depends\|Recommends\|Suggests\|Provides\|Replaces\|Conflicts\|Essential\|Architecture\|Description\|Bugs\|Origin\|Enhances\|Homepage\|\(XS-\)\=Vcs-\(Browser\|Arch\|Bzr\|Cvs\|Darcs\|Git\|Hg\|Mtn\|Svn\)\|XC-Package-Type\|\%(XS-\)\=DM-Upload-Allowed\): *"
 
 " Fields for which we do strict syntax checking
 syn region debcontrolStrictField start="^Architecture" end="$" contains=debcontrolKey,debcontrolArchitecture,debcontrolSpace oneline
@@ -65,6 +66,7 @@ syn region debcontrolStrictField start="^\%(XS-\)\?Vcs-\%(Browser\|Arch\|Bzr\|Da
 syn region debcontrolStrictField start="^\%(XS-\)\?Vcs-Svn" end="$" contains=debcontrolKey,debcontrolVcsSvn,debcontrolHTTPUrl oneline keepend
 syn region debcontrolStrictField start="^\%(XS-\)\?Vcs-Cvs" end="$" contains=debcontrolKey,debcontrolVcsCvs oneline keepend
 syn region debcontrolStrictField start="^\%(XS-\)\?Vcs-Git" end="$" contains=debcontrolKey,debcontrolVcsGit oneline keepend
+syn region debcontrolStrictField start="^\%(XS-\)\?DM-Upload-Allowed" end="$" contains=debcontrolKey,debcontrolDmUpload oneline
 
 " Catch-all for the other legal fields
 syn region debcontrolField start="^\(Maintainer\|Standards-Version\|Essential\|Bugs\|Origin\|X\(S\|B\)-Python-Version\|XSBC-Original-Maintainer\|\(XS-\)\?Vcs-Mtn\):" end="$" contains=debcontrolKey,debcontrolVariable,debcontrolEmail oneline
@@ -94,6 +96,7 @@ if version >= 508 || !exists("did_debcontrol_syn_inits")
   HiLink debcontrolVcsCvs      Identifier
   HiLink debcontrolVcsGit      Identifier
   HiLink debcontrolHTTPUrl     Identifier
+  HiLink debcontrolDmUpload    Identifier
   HiLink debcontrolComment     Comment
   HiLink debcontrolElse                Special
 
index c952ed82c653866e17870862946e0b5c6c70b65d..0ae05abd680d9d70ce7d898c57dff7e836e08faa 100644 (file)
@@ -1,12 +1,9 @@
 " Vim syntax file
-" Language:    Debian sources.list
-" Maintainer:  Matthijs Mohlmann <matthijs@cacholong.nl>
-" Last Change: $Date$
-" URL: http://www.cacholong.nl/~matthijs/vim/syntax/debsources.vim
-" $Revision$
-
-" this is a very simple syntax file - I will be improving it
-" add entire DEFINE syntax
+" Language:     Debian sources.list
+" Maintainer:   Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
+" Former Maintainer: Matthijs Mohlmann <matthijs@cacholong.nl>
+" Last Change: 2008-04-25
+" URL: http://git.debian.org/?p=pkg-vim/vim.git;a=blob_plain;f=runtime/syntax/debsources.vim;hb=debian
 
 " Standard syntax initialization
 if version < 600
@@ -19,14 +16,14 @@ endif
 syn case match
 
 " A bunch of useful keywords
-syn match debsourcesKeyword        /\(deb-src\|deb\|main\|contrib\|non-free\)/
+syn match debsourcesKeyword        /\(deb-src\|deb\|main\|contrib\|non-free\|restricted\|universe\|multiverse\)/
 
 " Match comments
 syn match debsourcesComment        /#.*/
 
 " Match uri's
-syn match debsourcesUri            +\(http://\|ftp://\|file:///\)[^'   <>"]\++
-syn match debsourcesDistrKeyword   +\([[:alnum:]_./]*\)\(woody\|sarge\|etch\|old-stable\|stable\|testing\|unstable\|sid\|experimental\|warty\|hoary\|breezy\)\([[:alnum:]_./]*\)+
+syn match debsourcesUri            +\(http://\|ftp://\|[rs]sh://\|debtorrent://\|\(cdrom\|copy\|file\):\)[^'   <>"]\++
+syn match debsourcesDistrKeyword   +\([[:alnum:]_./]*\)\(sarge\|etch\|lenny\|\(old\)\=stable\|testing\|unstable\|sid\|experimental\|dapper\|feisty\|gutsy\|hardy\|intrepid\)\([-[:alnum:]_./]*\)+
 
 " Associate our matches and regions with pretty colours
 hi def link debsourcesLine            Error
index 22a84537c811b84cf1471dccbd5bf42d3815ba16..46e5704053f79eb7cf3c6d967158527ad7f4144c 100644 (file)
@@ -22,7 +22,7 @@ if !exists("b:eruby_subtype") && main_syntax == 'eruby'
   let s:lines = getline(1)."\n".getline(2)."\n".getline(3)."\n".getline(4)."\n".getline(5)."\n".getline("$")
   let b:eruby_subtype = matchstr(s:lines,'eruby_subtype=\zs\w\+')
   if b:eruby_subtype == ''
-    let b:eruby_subtype = matchstr(substitute(expand("%:t"),'\c\%(\.erb\)\+$','',''),'\.\zs\w\+$')
+    let b:eruby_subtype = matchstr(substitute(expand("%:t"),'\c\%(\.erb\|\.eruby\)\+$','',''),'\.\zs\w\+$')
   endif
   if b:eruby_subtype == 'rhtml'
     let b:eruby_subtype = 'html'
@@ -55,31 +55,20 @@ syn include @rubyTop syntax/ruby.vim
 
 syn cluster erubyRegions contains=erubyOneLiner,erubyBlock,erubyExpression,erubyComment
 
-exe 'syn region  erubyOneLiner   matchgroup=erubyDelimiter start="^%\{1,'.b:eruby_nest_level.'\}%\@!"    end="$"     contains=@rubyTop      containedin=ALLBUT,@erbRegions keepend oneline'
-exe 'syn region  erubyBlock      matchgroup=erubyDelimiter start="<%\{1,'.b:eruby_nest_level.'\}%\@!-\=" end="-\=%>" contains=@rubyTop      containedin=ALLBUT,@erbRegions'
-exe 'syn region  erubyExpression matchgroup=erubyDelimiter start="<%\{1,'.b:eruby_nest_level.'\}="       end="-\=%>" contains=@rubyTop      containedin=ALLBUT,@erbRegions'
-exe 'syn region  erubyComment    matchgroup=erubyDelimiter start="<%\{1,'.b:eruby_nest_level.'\}#"       end="-\=%>" contains=rubyTodo,@Spell containedin=ALLBUT,@erbRegions keepend'
+exe 'syn region  erubyOneLiner   matchgroup=erubyDelimiter start="^%\{1,'.b:eruby_nest_level.'\}%\@!"    end="$"     contains=@rubyTop      containedin=ALLBUT,@erubyRegions keepend oneline'
+exe 'syn region  erubyBlock      matchgroup=erubyDelimiter start="<%\{1,'.b:eruby_nest_level.'\}%\@!-\=" end="-\=%\@<!%\{1,'.b:eruby_nest_level.'\}>" contains=@rubyTop        containedin=ALLBUT,@erubyRegions keepend'
+exe 'syn region  erubyExpression matchgroup=erubyDelimiter start="<%\{1,'.b:eruby_nest_level.'\}="       end="-\=%\@<!%\{1,'.b:eruby_nest_level.'\}>" contains=@rubyTop        containedin=ALLBUT,@erubyRegions keepend'
+exe 'syn region  erubyComment    matchgroup=erubyDelimiter start="<%\{1,'.b:eruby_nest_level.'\}#"       end="-\=%\@<!%\{1,'.b:eruby_nest_level.'\}>" contains=rubyTodo,@Spell containedin=ALLBUT,@erubyRegions keepend'
 
 " Define the default highlighting.
-" For version 5.7 and earlier: only when not done already
-" For version 5.8 and later: only when an item doesn't have highlighting yet
-if version >= 508 || !exists("did_eruby_syntax_inits")
-  if version < 508
-    let did_ruby_syntax_inits = 1
-    command -nargs=+ HiLink hi link <args>
-  else
-    command -nargs=+ HiLink hi def link <args>
-  endif
 
-  HiLink erubyDelimiter                Delimiter
-  HiLink erubyComment          Comment
+hi def link erubyDelimiter             Delimiter
+hi def link erubyComment               Comment
 
-  delcommand HiLink
-endif
 let b:current_syntax = 'eruby'
 
 if main_syntax == 'eruby'
   unlet main_syntax
 endif
 
-" vim: nowrap sw=2 sts=2 ts=8 :
+" vim: nowrap sw=2 sts=2 ts=8:
diff --git a/runtime/syntax/haml.vim b/runtime/syntax/haml.vim
new file mode 100644 (file)
index 0000000..8b22d8c
--- /dev/null
@@ -0,0 +1,85 @@
+" Vim syntax file
+" Language:     Haml
+" Maintainer:   Tim Pope <vimNOSPAM@tpope.info>
+" Filenames:    *.haml
+
+if exists("b:current_syntax")
+  finish
+endif
+
+if !exists("main_syntax")
+  let main_syntax = 'haml'
+endif
+let b:ruby_no_expensive = 1
+
+runtime! syntax/html.vim
+unlet! b:current_syntax
+silent! syn include @hamlSassTop syntax/sass.vim
+unlet! b:current_syntax
+syn include @hamlRubyTop syntax/ruby.vim
+
+syn case match
+
+syn cluster hamlComponent    contains=hamlAttributes,hamlClassChar,hamlIdChar,hamlObject,hamlDespacer,hamlSelfCloser,hamlRuby,hamlPlainChar,hamlInterpolatable
+syn cluster hamlEmbeddedRuby contains=hamlAttributes,hamlObject,hamlRuby,hamlRubyFilter
+syn cluster hamlTop          contains=hamlBegin,hamlPlainFilter,hamlRubyFilter,hamlSassFilter,hamlComment,hamlHtmlComment
+
+syn match   hamlBegin "^\s*[<>&]\@!" nextgroup=hamlTag,hamlAttributes,hamlClassChar,hamlIdChar,hamlObject,hamlRuby,hamlPlainChar,hamlInterpolatable
+
+syn match   hamlTag        "%\w\+" contained contains=htmlTagName,htmlSpecialTagName nextgroup=@hamlComponent
+syn region  hamlAttributes matchgroup=hamlAttributesDelimiter start="{" end="}" contained contains=@hamlRubyTop nextgroup=@hamlComponent
+syn region  hamlObject     matchgroup=hamlObjectDelimiter   start="\[" end="\]" contained contains=@hamlRubyTop nextgroup=@hamlComponent
+syn match   hamlDespacer "[<>]" contained nextgroup=hamlDespacer,hamlSelfCloser,hamlRuby,hamlPlainChar,hamlInterpolatable
+syn match   hamlSelfCloser "/" contained
+syn match   hamlClassChar "\." contained nextgroup=hamlClass
+syn match   hamlIdChar    "#"  contained nextgroup=hamlId
+syn match   hamlClass "\%(\w\|-\)\+" contained nextgroup=@hamlComponent
+syn match   hamlId    "\%(\w\|-\)\+" contained nextgroup=@hamlComponent
+syn region  hamlDocType start="^\s*!!!" end="$"
+
+syn region  hamlRuby   matchgroup=hamlRubyOutputChar start="[=~]" end="$" contained contains=@hamlRubyTop keepend
+syn region  hamlRuby   matchgroup=hamlRubyChar       start="-"    end="$" contained contains=@hamlRubyTop keepend
+syn match   hamlPlainChar "\\" contained
+syn region hamlInterpolatable matchgroup=hamlInterpolatableChar start="==" end="$" keepend contained contains=hamlInterpolation
+syn region hamlInterpolation matchgroup=hamlInterpolationDelimiter start="#{" end="}" contained contains=@hamlRubyTop
+
+syn match   hamlHelper  "\<action_view?\|\.\@<!\<\%(flatten\|open\|puts\)" contained containedin=@hamlEmbeddedRuby,@hamlRubyTop,rubyInterpolation
+syn keyword hamlHelper   capture_haml find_and_preserve  html_attrs init_haml_helpers list_of preced preserve succeed surround tab_down tab_up page_class contained containedin=@hamlEmbeddedRuby,@hamlRubyTop,rubyInterpolation
+
+syn region  hamlPlainFilter matchgroup=hamlFilter start="^\z(\s*\):\%(plain\|preserve\|erb\|redcloth\|textile\|markdown\)\s*$" end="^\%(\z1 \)\@!" contains=htmlTag,htmlEndTag,htmlSpecialChar,htmlComment,@htmlTop
+syn region  hamlRubyFilter  matchgroup=hamlFilter start="^\z(\s*\):ruby\s*$" end="^\%(\z1 \)\@!" contains=@hamlRubyTop
+syn region  hamlSassFilter  matchgroup=hamlFilter start="^\z(\s*\):sass\s*$" end="^\%(\z1 \)\@!" contains=@hamlSassTop
+
+syn region  hamlJavascriptBlock start="^\z(\s*\)%script" nextgroup=@hamlComponent,hamlError end="^\%(\z1 \)\@!" contains=@hamlTop,@htmlJavaScript keepend
+syn region  hamlCssBlock        start="^\z(\s*\)%style" nextgroup=@hamlComponent,hamlError end="^\%(\z1 \)\@!" contains=@hamlTop,@htmlCss keepend
+syn match   hamlError "\$" contained
+
+syn region  hamlComment     start="^\z(\s*\)-#" end="^\%(\z1 \)\@!" contains=rubyTodo
+syn region  hamlHtmlComment start="^\z(\s*\)/" end="^\%(\z1 \)\@!" contains=@hamlTop,rubyTodo
+syn match   hamlIEConditional "\%(^\s*/\)\@<=\[if\>[^]]*]" contained containedin=hamlHtmlComment
+
+hi def link hamlSelfCloser             Special
+hi def link hamlDespacer               Special
+hi def link hamlClassChar              Special
+hi def link hamlIdChar                 Special
+hi def link hamlTag                    Special
+hi def link hamlClass                  Type
+hi def link hamlId                     Identifier
+hi def link hamlPlainChar              Special
+hi def link hamlInterpolatableChar     hamlRubyChar
+hi def link hamlRubyOutputChar         hamlRubyChar
+hi def link hamlRubyChar               Special
+hi def link hamlInterpolationDelimiter Delimiter
+hi def link hamlDocType                PreProc
+hi def link hamlFilter                 PreProc
+hi def link hamlAttributesDelimiter    Delimiter
+hi def link hamlObjectDelimiter        Delimiter
+hi def link hamlHelper                 Function
+hi def link hamlHtmlComment            hamlComment
+hi def link hamlComment                Comment
+hi def link hamlIEConditional          SpecialComment
+hi def link hamlError                  Error
+
+let b:current_syntax = "haml"
+
+" vim:set sw=2:
index cf943f10856ea18149fe0bd4ae6da957dc8a3be2..b889c5c594cd291f8da60e4ad25a7f1c10b492be 100644 (file)
@@ -1,9 +1,12 @@
 " Vim syntax file
-" Language:    HASTE
+" Language:    HASTE - a language for VLSI IC programming
 " Maintainer:  M. Tranchero - maurizio.tranchero?gmail.com
 " Credits:     some parts have been taken from vhdl, verilog, and C syntax
 "              files
-" version: 0.5
+" Version:     0.9
+" Last Change: 0.9 improvement of haste numbers detection
+" Change:      0.8 error matching for wrong hierarchical connections 
+" Change:      0.7 added more rules to highlight pre-processor directives
 
 " HASTE
 if exists("b:current_syntax")
@@ -50,6 +53,7 @@ syn match   hasteStatement    "\<\(for\|do\|od\)\>"
 syn match   hasteStatement     "\<\(do\|or\|od\)\>"
 syn match   hasteStatement     "\<\(sel\|les\)\>"
 syn match   hasteError         "\<\d\+[_a-zA-Z]\+\>"
+syn match   hasteError         "\(\([[:alnum:]]\+\s*(\s\+\|)\s*,\)\)\s*\([[:alnum:]]\+\s*(\)"
 
 " Predifined Haste types
 syn keyword hasteType bool
@@ -60,39 +64,28 @@ syn keyword hasteType bool
 syn match  hasteVector "0b\"[01_]\+\""
 syn match  hasteVector "0x\"[0-9a-f_]\+\""
 syn match  hasteCharacter "'.'"
-syn region hasteString start=+"+  end=+"+
-" C pre-processor directives
-"syn region hasteIncluded      display contained start=+"+ skip=+\\\\\|\\"+ end=+"+
+" syn region hasteString start=+"+  end=+"+
 syn match  hasteIncluded       display contained "<[^>]*>"
 syn match  hasteIncluded       display contained "<[^"]*>"
-syn match  hasteInclude                display "^\s*#include\>\s*["<]" contains=hasteIncluded
-syn region hasteDefine start="^\s*\(%:\|#\)\s*\(define\|undef\)\>" skip="\\$" end="$" end="//"me=s-1 contains=ALLBUT,@hastePreProcGroup,@Spell
-syn region hasteDefine start="^\s*\(%:\|#\)\s*\(ifndef\|ifdef\|endif\)\>" skip="\\$" end="$" end="//"me=s-1 contains=@Spell
-syn region hastePreCondit      start="^\s*\(%:\|#\)\s*\(if\|ifdef\|ifndef\|elif\)\>" skip="\\$" end="$" end="//"me=s-1 contains=hasteComment,hasteCppString,hasteCharacter,hasteCppParen,hasteParenError,hasteNumbers,hasteCommentError,hasteSpaceError
-syn region hastePreProc        start="^\s*\(%:\|#\)\s*\(pragma\>\|line\>\|warning\>\|warn\>\|error\>\)" skip="\\$" end="$" keepend contains=ALLBUT,@hastePreProcGroup,@Spell
-syn cluster hastePreProcGroup  contains=hasteIncluded,hasteInclude,hasteDefine
-syn region hasteCppSkip        contained start="^\s*\(%:\|#\)\s*\(if\>\|ifdef\>\|ifndef\>\)" skip="\\$" end="^\s*\(%:\|#\)\s*endif\>" contains=hasteSpaceError,hasteCppSkip
+syn region hasteInclude        start="^\s*#include\>\s*" end="$" contains=hasteIncluded,hasteString
 
-" floating numbers
-syn match hasteNumber "-\=\<\d\+\.\d\+\(E[+\-]\=\d\+\)\>"
-syn match hasteNumber "-\=\<\d\+\.\d\+\>"
-syn match hasteNumber "0*2#[01_]\+\.[01_]\+#\(E[+\-]\=\d\+\)\="
-syn match hasteNumber "0*16#[0-9a-f_]\+\.[0-9a-f_]\+#\(E[+\-]\=\d\+\)\="
 " integer numbers
-syn match hasteNumber "-\=\<\d\+\(E[+\-]\=\d\+\)\>"
+syn match hasteNumber "\d\+\^[[:alnum:]]*[-+]\{0,1\}[[:alnum:]]*"
+syn match hasteNumber "-\=\<\d\+\(\^[+\-]\=\d\+\)\>"
 syn match hasteNumber "-\=\<\d\+\>"
-syn match hasteNumber "0*2#[01_]\+#\(E[+\-]\=\d\+\)\="
-syn match hasteNumber "0*16#[0-9a-f_]\+#\(E[+\-]\=\d\+\)\="
+" syn match hasteNumber "0*2#[01_]\+#\(\^[+\-]\=\d\+\)\="
+" syn match hasteNumber "0*16#[0-9a-f_]\+#\(\^[+\-]\=\d\+\)\="
 " operators
-syn keyword hasteSeparators    & , . \| 
+syn keyword hasteSeparators    & , . \| 
 syn keyword hasteExecution     \|\| ; @
-syn keyword hasteOperator      := ? !
+syn keyword hasteOperator      := ? ! :
 syn keyword hasteTypeConstr    "[" << >> .. "]" ~
 syn keyword hasteExprOp                < <= >= > = # <> + - * == ##
 syn keyword hasteMisc          ( ) 0x 0b
 "
 syn match   hasteSeparators    "[&:\|,.]"
 syn match   hasteOperator      ":="
+syn match   hasteOperator      ":"
 syn match   hasteOperator      "?"
 syn match   hasteOperator      "!"
 syn match   hasteExecution     "||"
@@ -110,7 +103,7 @@ syn match   hasteExprOp             "<>"
 syn match   hasteExprOp                "="
 syn match   hasteExprOp                "=="
 syn match   hasteExprOp                "##"
-syn match   hasteExprOp                "#"
+" syn match   hasteExprOp              "#"
 syn match   hasteExprOp                "*"
 syn match   hasteExprOp                "+"
 
@@ -133,6 +126,7 @@ hi def link hasteType               Type
 hi def link hasteGlobal                Error
 hi def link hasteError         Error
 hi def link hasteAttribute     Type
+"
 hi def link hasteSeparators    Special
 hi def link hasteExecution     Special
 hi def link hasteTypeConstr    Special
@@ -143,7 +137,8 @@ hi def link hasteFutureExt  Error
 hi def link hasteVerilog       Error
 hi def link hasteDefine                Macro
 hi def link hasteInclude       Include
-hi def link hastePreProc       PreProc
+" hi def link hastePreProc     Preproc
+" hi def link hastePreProcVar  Special
 
 let b:current_syntax = "haste"
 
diff --git a/runtime/syntax/hastepreproc.vim b/runtime/syntax/hastepreproc.vim
new file mode 100644 (file)
index 0000000..3fcb8dd
--- /dev/null
@@ -0,0 +1,49 @@
+" Vim syntax file
+" Language:    Haste preprocessor files 
+" Maintainer:  M. Tranchero - maurizio.tranchero@gmail.com
+" Credits:     some parts have been taken from vhdl, verilog, and C syntax
+"              files
+" Version:     0.5
+
+" HASTE
+if exists("b:current_syntax")
+    finish
+endif
+" For version 5.x: Clear all syntax items
+" For version 6.x: Quit when a syntax file was already loaded
+if version < 600
+  syntax clear
+elseif exists("b:current_syntax")
+  finish
+endif
+" Read the C syntax to start with
+if version < 600
+    so <sfile>:p:h/haste.vim
+else
+    runtime! syntax/haste.vim
+    unlet b:current_syntax
+endif
+
+" case is significant
+syn case match
+
+" C pre-processor directives
+syn match  hastepreprocVar     display "\$[[:alnum:]_]*"
+syn region hastepreprocVar     start="\${" end="}" contains=hastepreprocVar
+"
+"syn region hastepreproc               start="#\[\s*tg[:alnum:]*" end="]#" contains=hastepreprocVar,hastepreproc,hastepreprocError,@Spell
+syn region hastepreproc                start="#\[\s*\(\|tgfor\|tgif\)" end="$" contains=hastepreprocVar,hastepreproc,@Spell
+syn region hastepreproc                start="}\s\(else\)\s{" end="$" contains=hastepreprocVar,hastepreproc,@Spell
+syn region hastepreproc                start="^\s*#\s*\(ifndef\|ifdef\|else\|endif\)\>" end="$" contains=@hastepreprocGroup,@Spell
+syn region hastepreproc                start="\s*##\s*\(define\|undef\)\>" end="$" contains=@hastepreprocGroup,@Spell
+syn match hastepreproc         "}\{0,1}\s*]#"
+
+" Define the default highlighting.
+" Only when an item doesn't have highlighting yet
+hi def link hastepreproc       Preproc
+hi def link hastepreprocVar    Special
+hi def link hastepreprocError  Error
+
+let b:current_syntax = "hastepreproc"
+
+" vim: ts=8
index d6f21ae7cd25203f6b9feb7301cab489c6a9652f..7ff09e7b3b523826e85d1f6201bbc104d3a44359 100644 (file)
@@ -4,8 +4,8 @@
 "                      \begin{code} \end{code} blocks
 " Maintainer:          Haskell Cafe mailinglist <haskell-cafe@haskell.org>
 " Original Author:     Arthur van Leeuwen <arthurvl@cs.uu.nl>
-" Last Change:         2004 Aug 31
-" Version:             1.01
+" Last Change:         2008 Jul 01
+" Version:             1.02
 "
 " Thanks to Ian Lynagh for thoughtful comments on initial versions and
 " for the inspiration for writing this in the first place.
@@ -29,6 +29,8 @@
 " 2004 February 20: Cleaned up the guessing and overriding a bit
 " 2004 February 23: Cleaned up syntax highlighting for \begin{code} and
 "                  \end{code}, added some clarification to the attributions
+" 2008 July 1:      Removed % from guess list, as it totally breaks  plain
+"                  text markup guessing
 "
 
 
@@ -71,14 +73,14 @@ call cursor(1,1)
 "   - \begin{env}       (for env != code)
 "   - \part, \chapter, \section, \subsection, \subsubsection, etc
 if b:lhs_markup == "unknown"
-    if search('%\|\\documentclass\|\\begin{\(code}\)\@!\|\\\(sub\)*section\|\\chapter|\\part','W') != 0
+    if search('\\documentclass\|\\begin{\(code}\)\@!\|\\\(sub \)*section\|\\chapter|\\part','W') != 0
        let b:lhs_markup = "tex"
     else
        let b:lhs_markup = "plain"
     endif
 endif
 
-" If user wants us to highlight TeX syntax, read it.
+" If user wants us to highlight TeX syntax or guess thinks it's TeX,  read it.
 if b:lhs_markup == "tex"
     if version < 600
        source <sfile>:p:h/tex.vim
index 6faf5960eb5e8533ba847735ac9940d2c2b84030..5fcbb09742106db5f3923ddb30376a4d7b677bd7 100644 (file)
@@ -2,7 +2,7 @@
 "
 " Language:    Logtalk
 " Maintainer:  Paulo Moura <pmoura@logtalk.org>
-" Last Change: February 24, 2006
+" Last Change: June 16, 2008
 
 
 " Quit when a syntax file was already loaded:
@@ -32,12 +32,15 @@ syn match   logtalkOperator         ":-"
 " Logtalk quoted atoms and strings
 
 syn region     logtalkString           start=+"+       skip=+\\"+      end=+"+
-syn region     logtalkAtom             start=+'+       skip=+\\'+      end=+'+
+syn region     logtalkAtom             start=+'+       skip=+\\'+      end=+'+         contains=logtalkEscapeSequence
+
+syn match      logtalkEscapeSequence   contained       "\\\([\\abfnrtv\"\']\|\(x[a-fA-F0-9]\+\|[0-7]\+\)\\\)"
 
 
 " Logtalk message sending operators
 
 syn match      logtalkOperator         "::"
+syn match      logtalkOperator         ":"
 syn match      logtalkOperator         "\^\^"
 
 
@@ -48,7 +51,7 @@ syn region    logtalkExtCall          matchgroup=logtalkExtCallTag            start="{"               matchgroup=l
 
 " Logtalk opening entity directives
 
-syn region     logtalkOpenEntityDir    matchgroup=logtalkOpenEntityDirTag      start=":- object("      matchgroup=logtalkOpenEntityDirTag      end=")\."       contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator,logtalkEntityRel
+syn region     logtalkOpenEntityDir    matchgroup=logtalkOpenEntityDirTag      start=":- object("      matchgroup=logtalkOpenEntityDirTag      end=")\."       contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator,logtalkString,logtalkAtom,logtalkEntityRel
 syn region     logtalkOpenEntityDir    matchgroup=logtalkOpenEntityDirTag      start=":- protocol("    matchgroup=logtalkOpenEntityDirTag      end=")\."       contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator,logtalkEntityRel
 syn region     logtalkOpenEntityDir    matchgroup=logtalkOpenEntityDirTag      start=":- category("    matchgroup=logtalkOpenEntityDirTag      end=")\."       contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator,logtalkEntityRel
 
@@ -62,17 +65,19 @@ syn match   logtalkCloseEntityDir   ":- end_category\."
 
 " Logtalk entity relations
 
-syn region     logtalkEntityRel        matchgroup=logtalkEntityRelTag  start="instantiates("   matchgroup=logtalkEntityRelTag  end=")"         contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator    contained
-syn region     logtalkEntityRel        matchgroup=logtalkEntityRelTag  start="specializes("    matchgroup=logtalkEntityRelTag  end=")"         contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator    contained
-syn region     logtalkEntityRel        matchgroup=logtalkEntityRelTag  start="extends("        matchgroup=logtalkEntityRelTag  end=")"         contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator    contained
-syn region     logtalkEntityRel        matchgroup=logtalkEntityRelTag  start="imports("        matchgroup=logtalkEntityRelTag  end=")"         contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator    contained
-syn region     logtalkEntityRel        matchgroup=logtalkEntityRelTag  start="implements("     matchgroup=logtalkEntityRelTag  end=")"         contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator    contained
+syn region     logtalkEntityRel        matchgroup=logtalkEntityRelTag  start="instantiates("   matchgroup=logtalkEntityRelTag  end=")"         contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator,logtalkString,logtalkAtom  contained
+syn region     logtalkEntityRel        matchgroup=logtalkEntityRelTag  start="specializes("    matchgroup=logtalkEntityRelTag  end=")"         contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator,logtalkString,logtalkAtom  contained
+syn region     logtalkEntityRel        matchgroup=logtalkEntityRelTag  start="extends("        matchgroup=logtalkEntityRelTag  end=")"         contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator,logtalkString,logtalkAtom  contained
+syn region     logtalkEntityRel        matchgroup=logtalkEntityRelTag  start="imports("        matchgroup=logtalkEntityRelTag  end=")"         contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator,logtalkString,logtalkAtom  contained
+syn region     logtalkEntityRel        matchgroup=logtalkEntityRelTag  start="implements("     matchgroup=logtalkEntityRelTag  end=")"         contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator,logtalkString,logtalkAtom  contained
+syn region     logtalkEntityRel        matchgroup=logtalkEntityRelTag  start="complements("    matchgroup=logtalkEntityRelTag  end=")"         contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator,logtalkString,logtalkAtom  contained
 
 
 " Logtalk directives
 
 syn region     logtalkDir              matchgroup=logtalkDirTag        start=":- alias("               matchgroup=logtalkDirTag        end=")\."       contains=ALL
-syn region     logtalkDir              matchgroup=logtalkDirTag        start=":- encoding("    matchgroup=logtalkDirTag        end=")\."       contains=ALL
+syn region     logtalkDir              matchgroup=logtalkDirTag        start=":- calls("               matchgroup=logtalkDirTag        end=")\."       contains=ALL
+syn region     logtalkDir              matchgroup=logtalkDirTag        start=":- encoding("            matchgroup=logtalkDirTag        end=")\."       contains=ALL
 syn region     logtalkDir              matchgroup=logtalkDirTag        start=":- initialization("      matchgroup=logtalkDirTag        end=")\."       contains=ALL
 syn region     logtalkDir              matchgroup=logtalkDirTag        start=":- info("                matchgroup=logtalkDirTag        end=")\."       contains=ALL
 syn region     logtalkDir              matchgroup=logtalkDirTag        start=":- mode("                matchgroup=logtalkDirTag        end=")\."       contains=logtalkOperator, logtalkAtom
@@ -83,17 +88,18 @@ syn region  logtalkDir              matchgroup=logtalkDirTag        start=":- multifile("           matchgrou
 syn region     logtalkDir              matchgroup=logtalkDirTag        start=":- public("              matchgroup=logtalkDirTag        end=")\."       contains=ALL
 syn region     logtalkDir              matchgroup=logtalkDirTag        start=":- protected("           matchgroup=logtalkDirTag        end=")\."       contains=ALL
 syn region     logtalkDir              matchgroup=logtalkDirTag        start=":- private("             matchgroup=logtalkDirTag        end=")\."       contains=ALL
-syn region     logtalkDir              matchgroup=logtalkDirTag        start=":- metapredicate("       matchgroup=logtalkDirTag        end=")\."       contains=ALL
+syn region     logtalkDir              matchgroup=logtalkDirTag        start=":- meta_predicate("      matchgroup=logtalkDirTag        end=")\."       contains=ALL
 syn region     logtalkDir              matchgroup=logtalkDirTag        start=":- op("                  matchgroup=logtalkDirTag        end=")\."       contains=ALL
-syn region     logtalkDir              matchgroup=logtalkDirTag        start=":- calls("               matchgroup=logtalkDirTag        end=")\."       contains=ALL
+syn region     logtalkDir              matchgroup=logtalkDirTag        start=":- synchronized("        matchgroup=logtalkDirTag        end=")\."       contains=ALL
+syn match      logtalkDirTag           ":- synchronized\."
 syn region     logtalkDir              matchgroup=logtalkDirTag        start=":- uses("                matchgroup=logtalkDirTag        end=")\."       contains=ALL
+syn match      logtalkDirTag           ":- threaded\."
 
 
 " Module directives
 
 syn region     logtalkDir              matchgroup=logtalkDirTag        start=":- module("              matchgroup=logtalkDirTag        end=")\."       contains=ALL
 syn region     logtalkDir              matchgroup=logtalkDirTag        start=":- export("              matchgroup=logtalkDirTag        end=")\."       contains=ALL
-syn region     logtalkDir              matchgroup=logtalkDirTag        start=":- meta_predicate("              matchgroup=logtalkDirTag        end=")\."       contains=ALL
 syn region     logtalkDir              matchgroup=logtalkDirTag        start=":- use_module("          matchgroup=logtalkDirTag        end=")\."       contains=ALL
 
 
@@ -103,19 +109,22 @@ syn match logtalkBuiltIn          "\<\(abolish\|c\(reate\|urrent\)\)_\(object\|protocol\
 
 syn match      logtalkBuiltIn          "\<\(object\|protocol\|category\)_property\ze("
 
-syn match      logtalkBuiltIn          "\<extends_\(object\|protocol\)\ze("
+syn match      logtalkBuiltIn          "\<complements_object\ze("
+syn match      logtalkBuiltIn          "\<extends_\(object\|protocol\|category\)\ze("
 syn match      logtalkBuiltIn          "\<imp\(orts_category\|lements_protocol\)\ze("
-syn match      logtalkBuiltIn          "\<\(instantiates\|specializes\)_class\ze("
+syn match      logtalkBuiltIn          "\<\(instantiat\|specializ\)es_class\ze("
 
 syn match      logtalkBuiltIn          "\<\(abolish\|define\)_events\ze("
 syn match      logtalkBuiltIn          "\<current_event\ze("
 
-syn match      logtalkBuiltIn          "\<\(current\|set\)_logtalk_flag\ze("
+syn match      logtalkBuiltIn          "\<\(curren\|se\)t_logtalk_flag\ze("
 
 syn match      logtalkBuiltIn          "\<logtalk_\(compile\|l\(ibrary_path\|oad\)\)\ze("
 
 syn match      logtalkBuiltIn          "\<\(for\|retract\)all\ze("
 
+syn match      logtalkBuiltIn          "\<threaded\(_\(call\|once\|ignore\|exit\|peek\|wait\|notify\)\)\?\ze("
+
 
 " Logtalk built-in methods
 
@@ -137,7 +146,7 @@ syn match   logtalkBuiltInMethod    "\<before\ze("
 syn match      logtalkBuiltInMethod    "\<after\ze("
 
 syn match      logtalkBuiltInMethod    "\<expand_term\ze("
-syn match      logtalkBuiltInMethod    "\<term_expansion\ze("
+syn match      logtalkBuiltInMethod    "\<\(goal\|term\)_expansion\ze("
 syn match      logtalkBuiltInMethod    "\<phrase\ze("
 
 
@@ -212,7 +221,7 @@ syn match   logtalkOperator         ">="
 
 " Stream selection and control
 
-syn match      logtalkKeyword          "\<\(current\|set\)_\(in\|out\)put\ze("
+syn match      logtalkKeyword          "\<\(curren\|se\)t_\(in\|out\)put\ze("
 syn match      logtalkKeyword          "\<open\ze("
 syn match      logtalkKeyword          "\<close\ze("
 syn match      logtalkKeyword          "\<flush_output\ze("
@@ -235,7 +244,7 @@ syn match   logtalkKeyword          "\<nl\>"
 syn match      logtalkKeyword          "\<read\(_term\)\?\ze("
 syn match      logtalkKeyword          "\<write\(q\|_\(canonical\|term\)\)\?\ze("
 syn match      logtalkKeyword          "\<\(current_\)\?op\ze("
-syn match      logtalkKeyword          "\<\(current\)\?char_conversion\ze("
+syn match      logtalkKeyword          "\<\(current_\)\?char_conversion\ze("
 
 
 " Logic and control
@@ -250,12 +259,12 @@ syn match logtalkKeyword          "\<repeat\>"
 syn match      logtalkKeyword          "\<atom_\(length\|c\(hars\|o\(ncat\|des\)\)\)\ze("
 syn match      logtalkKeyword          "\<sub_atom\ze("
 syn match      logtalkKeyword          "\<char_code\ze("
-syn match      logtalkKeyword          "\<number_\(c\(hars\|odes\)\)\ze("
+syn match      logtalkKeyword          "\<number_c\(har\|ode\)s\ze("
 
 
 " Implementation defined hooks functions
 
-syn match      logtalkKeyword          "\<\(current\|set\)_prolog_flag\ze("
+syn match      logtalkKeyword          "\<\(curren\|se\)t_prolog_flag\ze("
 syn match      logtalkKeyword          "\<halt\ze("
 syn match      logtalkKeyword          "\<halt\>"
 
@@ -302,13 +311,13 @@ syn match logtalkOperator         "\\"
 syn match      logtalkOperator         "|"
 
 
-" Logtalk numbers 
+" Logtalk numbers
 
 syn match      logtalkNumber           "\<\d\+\>"
 syn match      logtalkNumber           "\<\d\+\.\d\+\>"
 syn match      logtalkNumber           "\<\d\+[eE][-+]\=\d\+\>"
 syn match      logtalkNumber           "\<\d\+\.\d\+[eE][-+]\=\d\+\>"
-syn match      logtalkNumber           "\<0'.\>"
+syn match      logtalkNumber           "\<0'.\|0''\|0'\"\>"
 syn match      logtalkNumber           "\<0b[0-1]\+\>"
 syn match      logtalkNumber           "\<0o\o\+\>"
 syn match      logtalkNumber           "\<0x\x\+\>"
@@ -346,7 +355,7 @@ if version >= 508 || !exists("did_logtalk_syn_inits")
        else
                command -nargs=+ HiLink hi def link <args>
        endif
-       
+
        HiLink  logtalkBlockComment     Comment
        HiLink  logtalkLineComment      Comment
 
@@ -365,6 +374,7 @@ if version >= 508 || !exists("did_logtalk_syn_inits")
 
        HiLink  logtalkAtom             String
        HiLink  logtalkString           String
+       HiLink  logtalkEscapeSequence   SpecialChar
 
        HiLink  logtalkNumber           Number
 
@@ -386,7 +396,3 @@ endif
 
 
 let b:current_syntax = "logtalk"
-
-setlocal ts=4
-setlocal fdm=syntax
-setlocal fdc=2
index 2dbaa5ac3dfde7bd542a2159bcefc63d7d31bc02..4648e94c13544eb0206695e2084dfbdb93b8501d 100644 (file)
@@ -1,7 +1,8 @@
 " Vim syntax file
 " Language:         /var/log/messages file
 " Maintainer:       Yakov Lerner <iler.ml@gmail.com>
-" Latest Revision:  2006-06-19
+" Latest Revision:  2008-06-29
+" Changes:          2008-06-29 support for RFC3339 tuimestamps James Vega
 
 if exists("b:current_syntax")
   finish
@@ -10,7 +11,7 @@ endif
 let s:cpo_save = &cpo
 set cpo&vim
 
-syn match   messagesBegin       display '^' nextgroup=messagesDate
+syn match   messagesBegin       display '^' nextgroup=messagesDate,messagesDateRFC3339
 
 syn match   messagesDate        contained display '\a\a\a [ 0-9]\d *'
                                 \ nextgroup=messagesHour
@@ -18,6 +19,15 @@ syn match   messagesDate        contained display '\a\a\a [ 0-9]\d *'
 syn match   messagesHour        contained display '\d\d:\d\d:\d\d\s*'
                                 \ nextgroup=messagesHost
 
+syn match   messagesDateRFC3339 contained display '\d\{4}-\d\d-\d\d'
+                                \ nextgroup=messagesRFC3339T
+
+syn match   messagesRFC3339T    contained display '\cT'
+                                \ nextgroup=messagesHourRFC3339
+
+syn match   messagesHourRFC3339 contained display '\c\d\d:\d\d:\d\d\(\.\d\+\)\=\([+-]\d\d:\d\d\|Z\)'
+                                \ nextgroup=messagesHost
+
 syn match   messagesHost        contained display '\S*\s*'
                                 \ nextgroup=messagesLabel
 
@@ -43,6 +53,9 @@ syn match   messagesError       contained '\c.*\<\(FATAL\|ERROR\|ERRORS\|FAILED\
 
 hi def link messagesDate        Constant
 hi def link messagesHour        Type
+hi def link messagesDateRFC3339 Constant
+hi def link messagesHourRFC3339 Type
+hi def link messagesRFC3339T    Normal
 hi def link messagesHost        Identifier
 hi def link messagesLabel       Operator
 hi def link messagesPID         Constant
index 0b1d16164e95daf24835b781a8ab77617d125626..068609c9a59e537714d374008a965ba9c08d4ebb 100644 (file)
@@ -2,9 +2,9 @@
 " Language:    Mutt setup files
 " Original:    Preben 'Peppe' Guldberg <peppe-vim@wielders.org>
 " Maintainer:  Kyle Wheeler <kyle-muttrc.vim@memoryhole.net>
-" Last Change: 15 Aug 2007
+" Last Change: 12 Jun 2008
 
-" This file covers mutt version 1.5.16 (and most of CVS HEAD)
+" This file covers mutt version 1.5.18 (and most of the mercurial tip)
 " Included are also a few features from 1.4.2.1
 
 " For version 5.x: Clear all syntax items
@@ -76,6 +76,7 @@ syn region  muttrcKey         contained start=+'+ skip=+\\\\\|\\'+ end=+'+    contains=mut
 syn match   muttrcKeyName      contained "\<f\%(\d\|10\)\>"
 syn match   muttrcKeyName      contained "\\[trne]"
 syn match   muttrcKeyName      contained "\c<\%(BackSpace\|Delete\|Down\|End\|Enter\|Esc\|Home\|Insert\|Left\|PageDown\|PageUp\|Return\|Right\|Space\|Tab\|Up\)>"
+syn match   muttrcKeyName      contained "<F[0-9]\+>"
 
 syn keyword muttrcVarBool      contained allow_8bit allow_ansi arrow_cursor ascii_chars askbcc
 syn keyword muttrcVarBool      contained askcc attach_split auto_tag autoedit beep beep_new
@@ -217,6 +218,7 @@ syn match muttrcFormatErrors contained /%./
 
 syn region muttrcIndexFormatStr        contained keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcIndexFormatEscapes,muttrcIndexFormatConditionals,muttrcFormatErrors,muttrcTimeEscapes
 syn region muttrcIndexFormatStr        contained keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcIndexFormatEscapes,muttrcIndexFormatConditionals,muttrcFormatErrors,muttrcTimeEscapes
+syn region muttrcQueryFormatStr contained keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcQueryFormatEscapes,muttrcQueryFormatConditionals,muttrcFormatErrors
 syn region muttrcAliasFormatStr        contained keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcAliasFormatEscapes,muttrcFormatErrors
 syn region muttrcAliasFormatStr        contained keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcAliasFormatEscapes,muttrcFormatErrors
 syn region muttrcAttachFormatStr       contained keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcAttachFormatEscapes,muttrcAttachFormatConditionals,muttrcFormatErrors
@@ -243,6 +245,9 @@ syn match muttrcIndexFormatEscapes contained /%\%(\%(-\?[0-9]\+\)\?\%(\.[0-9]\+\
 syn match muttrcIndexFormatConditionals contained /%?[EFHlLMNOXyY]?/ nextgroup=muttrcFormatConditionals2
 " The following info was pulled from alias_format_str in addrbook.c
 syn match muttrcAliasFormatEscapes contained /%\%(\%(-\?[0-9]\+\)\?\%(\.[0-9]\+\)\?\)\?[:_]\?[afnrt%]/
+" The following info was pulled from query_format_str in query.c
+syn match muttrcQueryFormatEscapes contained /%\%(\%(-\?[0-9]\+\)\?\%(\.[0-9]\+\)\?\)\?[:_]\?[acent%]/
+syn match muttrcQueryFormatConditionals contained /%?[e]?/ nextgroup=muttrcFormatConditionals2
 " The following info was pulled from mutt_attach_fmt in recvattach.c
 syn match muttrcAttachFormatEscapes contained /%\%(\%(-\?[0-9]\+\)\?\%(\.[0-9]\+\)\?\)\?[:_]\?[CcDdefImMnQstTuX%]/
 syn match muttrcAttachFormatEscapes contained /%[>|*]./
@@ -287,27 +292,29 @@ syn region muttrcTimeEscapes contained start=+%<+ end=+>+ contains=muttrcStrftim
 syn region muttrcPGPTimeEscapes contained start=+%\[+ end=+\]+ contains=muttrcStrftimeEscapes
 
 syn keyword muttrcVarStr       contained attribution index_format message_format pager_format nextgroup=muttrcVarEqualsIdxFmt
-syn match muttrcVarEqualsIdxFmt contained "=" nextgroup=muttrcIndexFormatStr
+syn match muttrcVarEqualsIdxFmt contained " *= *" nextgroup=muttrcIndexFormatStr
 syn keyword muttrcVarStr       contained alias_format nextgroup=muttrcVarEqualsAliasFmt
-syn match muttrcVarEqualsAliasFmt contained "=" nextgroup=muttrcAliasFormatStr
+syn match muttrcVarEqualsAliasFmt contained " *= *" nextgroup=muttrcAliasFormatStr
 syn keyword muttrcVarStr       contained attach_format nextgroup=muttrcVarEqualsAttachFmt
-syn match muttrcVarEqualsAttachFmt contained "=" nextgroup=muttrcAttachFormatStr
+syn match muttrcVarEqualsAttachFmt contained " *= *" nextgroup=muttrcAttachFormatStr
 syn keyword muttrcVarStr       contained compose_format nextgroup=muttrcVarEqualsComposeFmt
-syn match muttrcVarEqualsComposeFmt contained "=" nextgroup=muttrcComposeFormatStr
+syn match muttrcVarEqualsComposeFmt contained " *= *" nextgroup=muttrcComposeFormatStr
 syn keyword muttrcVarStr       contained folder_format nextgroup=muttrcVarEqualsFolderFmt
-syn match muttrcVarEqualsFolderFmt contained "=" nextgroup=muttrcFolderFormatStr
+syn match muttrcVarEqualsFolderFmt contained " *= *" nextgroup=muttrcFolderFormatStr
 syn keyword muttrcVarStr       contained mix_entry_format nextgroup=muttrcVarEqualsMixFmt
-syn match muttrcVarEqualsMixFmt contained "=" nextgroup=muttrcMixFormatStr
+syn match muttrcVarEqualsMixFmt contained " *= *" nextgroup=muttrcMixFormatStr
 syn keyword muttrcVarStr       contained pgp_entry_format nextgroup=muttrcVarEqualsPGPFmt
-syn match muttrcVarEqualsPGPFmt contained "=" nextgroup=muttrcPGPFormatStr
+syn match muttrcVarEqualsPGPFmt contained " *= *" nextgroup=muttrcPGPFormatStr
+syn keyword muttrcVarStr       contained query_format nextgroup=muttrcVarEqualsQueryFmt
+syn match muttrcVarEqualsQueryFmt contained " *= *" nextgroup=muttrcQueryFormatStr
 syn keyword muttrcVarStr       contained pgp_decode_command pgp_verify_command pgp_decrypt_command pgp_clearsign_command pgp_sign_command pgp_encrypt_sign_command pgp_encrypt_only_command pgp_import_command pgp_export_command pgp_verify_key_command pgp_list_secring_command pgp_list_pubring_command nextgroup=muttrcVarEqualsPGPCmdFmt
-syn match muttrcVarEqualsPGPCmdFmt contained "=" nextgroup=muttrcPGPCmdFormatStr
+syn match muttrcVarEqualsPGPCmdFmt contained " *= *" nextgroup=muttrcPGPCmdFormatStr
 syn keyword muttrcVarStr       contained status_format nextgroup=muttrcVarEqualsStatusFmt
-syn match muttrcVarEqualsStatusFmt contained "=" nextgroup=muttrcStatusFormatStr
+syn match muttrcVarEqualsStatusFmt contained " *= *" nextgroup=muttrcStatusFormatStr
 syn keyword muttrcVarStr       contained pgp_getkeys_command nextgroup=muttrcVarEqualsPGPGetKeysFmt
-syn match muttrcVarEqualsPGPGetKeysFmt contained "=" nextgroup=muttrcPGPGetKeysFormatStr
+syn match muttrcVarEqualsPGPGetKeysFmt contained " *= *" nextgroup=muttrcPGPGetKeysFormatStr
 syn keyword muttrcVarStr       contained smime_decrypt_command smime_verify_command smime_verify_opaque_command smime_sign_command smime_sign_opaque_command smime_encrypt_command smime_pk7out_command smime_get_cert_command smime_get_signer_cert_command smime_import_cert_command smime_get_cert_email_command nextgroup=muttrcVarEqualsSmimeFmt
-syn match muttrcVarEqualsSmimeFmt contained "=" nextgroup=muttrcSmimeFormatStr
+syn match muttrcVarEqualsSmimeFmt contained " *= *" nextgroup=muttrcSmimeFormatStr
 
 syn match muttrcVarStr         contained 'my_[a-zA-Z0-9_]\+'
 syn keyword muttrcVarStr       contained alias_file assumed_charset attach_charset attach_sep
@@ -373,7 +380,7 @@ syn region muttrcAlternatesLine keepend start=+^\s*\%(un\)\?alternates\s+ skip=+
 syn match muttrcVariable       "\$[a-zA-Z_-]\+"
 
 syn match muttrcBadAction      contained "[^<>]\+" contains=muttrcEmail
-syn match muttrcFunction       contained "\<\%(attach\|bounce\|copy\|delete\|display\|flag\|forward\|parent\|pipe\|postpone\|print\|recall\|resent\|save\|send\|tag\|undelete\)-message\>"
+syn match muttrcFunction       contained "\<\%(attach\|bounce\|copy\|delete\|display\|flag\|forward\|parent\|pipe\|postpone\|print\|recall\|resend\|save\|send\|tag\|undelete\)-message\>"
 syn match muttrcFunction       contained "\<\%(delete\|next\|previous\|read\|tag\|undelete\)-thread\>"
 syn match muttrcFunction       contained "\<\%(backward\|capitalize\|downcase\|forward\|kill\|upcase\)-word\>"
 syn match muttrcFunction       contained "\<\%(delete\|filter\|first\|last\|next\|pipe\|previous\|print\|save\|select\|tag\|undelete\)-entry\>"
@@ -389,7 +396,7 @@ syn match muttrcFunction    contained "\<enter-\%(command\|mask\)\>"
 syn match muttrcFunction       contained "\<half-\%(up\|down\)\>"
 syn match muttrcFunction       contained "\<history-\%(up\|down\)\>"
 syn match muttrcFunction       contained "\<kill-\%(eol\|eow\|line\)\>"
-syn match muttrcFunction       contained "\<next-\%(line\|new\|page\|subthread\|undeleted\|unread\)\>"
+syn match muttrcFunction       contained "\<next-\%(line\|new\|page\|subthread\|undeleted\|unread\|unread-mailbox\)\>"
 syn match muttrcFunction       contained "\<previous-\%(line\|new\|page\|subthread\|undeleted\|unread\)\>"
 syn match muttrcFunction       contained "\<search\%(-\%(next\|opposite\|reverse\|toggle\)\)\?\>"
 syn match muttrcFunction       contained "\<show-\%(limit\|version\)\>"
@@ -428,8 +435,8 @@ syn region muttrcMacroDescr contained keepend skipwhite start=+'+ms=e skip=+\\'+
 syn region muttrcMacroDescr    contained keepend skipwhite start=+"+ms=e skip=+\\"+ end=+"+me=s
 syn match muttrcMacroDescrNL   contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcMacroDescr,muttrcMacroDescrNL
 syn region muttrcMacroBody     contained skipwhite start="\S" skip='\\ \|\\$' end=' \|$' contains=muttrcEscape,muttrcSet,muttrcUnset,muttrcReset,muttrcToggle,muttrcCommand,muttrcAction nextgroup=muttrcMacroDescr,muttrcMacroDescrNL
-syn region muttrcMacroBody matchgroup=Type contained skipwhite start=+'+ms=e skip=+\\'+ end=+'+me=s contains=muttrcEscape,muttrcSet,muttrcUnset,muttrcReset,muttrcToggle,muttrcCommand,muttrcAction nextgroup=muttrcMacroDescr,muttrcMacroDescrNL
-syn region muttrcMacroBody matchgroup=Type contained skipwhite start=+"+ms=e skip=+\\"+ end=+"+me=s contains=muttrcEscape,muttrcSet,muttrcUnset,muttrcReset,muttrcToggle,muttrcCommand,muttrcAction nextgroup=muttrcMacroDescr,muttrcMacroDescrNL
+syn region muttrcMacroBody matchgroup=Type contained skipwhite start=+'+ms=e skip=+\\'\|\\$+ end=+'\|$+me=s contains=muttrcEscape,muttrcSet,muttrcUnset,muttrcReset,muttrcToggle,muttrcCommand,muttrcAction nextgroup=muttrcMacroDescr,muttrcMacroDescrNL
+syn region muttrcMacroBody matchgroup=Type contained skipwhite start=+"+ms=e skip=+\\"\|\\$+ end=+"\|$+me=s contains=muttrcEscape,muttrcSet,muttrcUnset,muttrcReset,muttrcToggle,muttrcCommand,muttrcAction nextgroup=muttrcMacroDescr,muttrcMacroDescrNL
 syn match muttrcMacroBodyNL    contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcMacroBody,muttrcMacroBodyNL
 syn match muttrcMacroKey       contained /\S\+/ skipwhite contains=muttrcKey nextgroup=muttrcMacroBody,muttrcMacroBodyNL
 syn match muttrcMacroKeyNL     contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcMacroKey,muttrcMacroKeyNL
index f68d7f4dac115e70d4ba5cda0f3f291afee01903..a5a118e4d3199551e542da6a99098137ddd5cc05 100644 (file)
@@ -19,6 +19,8 @@ if has("folding") && exists("ruby_fold")
   setlocal foldmethod=syntax
 endif
 
+syn cluster rubyNotTop                 contains=@rubyExtendedStringSpecial,@rubyRegexpSpecial,@rubyDeclaration,rubyConditional,rubyTodo
+
 if exists("ruby_space_errors")
   if !exists("ruby_no_trail_space_error")
     syn match rubySpaceError display excludenl "\s\+$"
@@ -32,14 +34,14 @@ endif
 if exists("ruby_operators")
   syn match  rubyOperator       "\%([~!^&|*/%+-]\|\%(class\s*\)\@<!<<\|<=>\|<=\|\%(<\|\<class\s\+\u\w*\s*\)\@<!<[^<]\@=\|===\|==\|=\~\|>>\|>=\|=\@<!>\|\*\*\|\.\.\.\|\.\.\|::\)"
   syn match  rubyPseudoOperator  "\%(-=\|/=\|\*\*=\|\*=\|&&=\|&=\|&&\|||=\||=\|||\|%=\|+=\|!\~\|!=\)"
-  syn region rubyBracketOperator matchgroup=rubyOperator start="\%([_[:lower:]]\w*[?!=]\=\|[})]\)\@<=\[\s*" end="\s*]" contains=TOP
+  syn region rubyBracketOperator matchgroup=rubyOperator start="\%(\w[?!]\=\|[]})]\)\@<=\[\s*" end="\s*]" contains=ALLBUT,@rubyNotTop
 endif
 
 " Expression Substitution and Backslash Notation
-syn match rubyEscape   "\\\\\|\\[abefnrstv]\|\\\o\{1,3}\|\\x\x\{1,2}"                                                   contained display
-syn match rubyEscape   "\%(\\M-\\C-\|\\C-\\M-\|\\M-\\c\|\\c\\M-\|\\c\|\\C-\|\\M-\)\%(\\\o\{1,3}\|\\x\x\{1,2}\|\\\=\S\)" contained display
+syn match rubyStringEscape     "\\\\\|\\[abefnrstv]\|\\\o\{1,3}\|\\x\x\{1,2}"                                                   contained display
+syn match rubyStringEscape     "\%(\\M-\\C-\|\\C-\\M-\|\\M-\\c\|\\c\\M-\|\\c\|\\C-\|\\M-\)\%(\\\o\{1,3}\|\\x\x\{1,2}\|\\\=\S\)" contained display
 
-syn region rubyInterpolation         matchgroup=rubyInterpolationDelimiter start="#{" end="}" contained contains=TOP
+syn region rubyInterpolation         matchgroup=rubyInterpolationDelimiter start="#{" end="}" contained contains=ALLBUT,@rubyNotTop
 syn match  rubyInterpolation         "#\%(\$\|@@\=\)\w\+"    display contained  contains=rubyInterpolationDelimiter,rubyInstanceVariable,rubyClassVariable,rubyGlobalVariable,rubyPredefinedVariable
 syn match  rubyInterpolationDelimiter "#\ze\%(\$\|@@\=\)\w\+" display contained
 syn match  rubyInterpolation         "#\$\%(-\w\|\W\)"       display contained  contains=rubyInterpolationDelimiter,rubyPredefinedVariable,rubyInvalidVariable
@@ -51,17 +53,32 @@ syn match  rubyNoInterpolation            "\\#\$\W"               display contained
 
 syn match rubyDelimEscape      "\\[(<{\[)>}\]]" transparent display contained contains=NONE
 
-syn region rubyNestedParentheses       start="("       end=")"         skip="\\\\\|\\)"        transparent contained contains=@rubyStringSpecial,rubyNestedParentheses,rubyDelimEscape
-syn region rubyNestedCurlyBraces       start="{"       end="}"         skip="\\\\\|\\}"        transparent contained contains=@rubyStringSpecial,rubyNestedCurlyBraces,rubyDelimEscape
-syn region rubyNestedAngleBrackets     start="<"       end=">"         skip="\\\\\|\\>"        transparent contained contains=@rubyStringSpecial,rubyNestedAngleBrackets,rubyDelimEscape
-if exists("ruby_operators")
-  syn region rubyNestedSquareBrackets  start="\["      end="\]"        skip="\\\\\|\\\]"       transparent contained contains=@rubyStringSpecial,rubyNestedSquareBrackets,rubyDelimEscape
-else
-  syn region rubyNestedSquareBrackets  start="\["      end="\]"        skip="\\\\\|\\\]"       transparent containedin=rubyArrayLiteral contained contains=@rubyStringSpecial,rubyNestedSquareBrackets,rubyDelimEscape
-endif
-
-syn cluster rubyStringSpecial          contains=rubyInterpolation,rubyNoInterpolation,rubyEscape
+syn region rubyNestedParentheses       start="("       skip="\\\\\|\\)"        matchgroup=rubyString end=")"   transparent contained
+syn region rubyNestedCurlyBraces       start="{"       skip="\\\\\|\\}"        matchgroup=rubyString end="}"   transparent contained
+syn region rubyNestedAngleBrackets     start="<"       skip="\\\\\|\\>"        matchgroup=rubyString end=">"   transparent contained
+syn region rubyNestedSquareBrackets    start="\["      skip="\\\\\|\\\]"       matchgroup=rubyString end="\]"  transparent contained
+
+" These are mostly Oniguruma ready
+syn region rubyRegexpComment   matchgroup=rubyRegexpSpecial   start="(?#"                                                                      skip="\\)"  end=")"  contained
+syn region rubyRegexpParens    matchgroup=rubyRegexpSpecial   start="(\(?:\|?<\=[=!]\|?>\|?<[a-z_]\w*>\|?[imx]*-[imx]*:\=\|\%(?#\)\@!\)"       skip="\\)"  end=")"  contained transparent contains=@rubyRegexpSpecial
+syn region rubyRegexpBrackets  matchgroup=rubyRegexpCharClass start="\[\^\="                                                                   skip="\\\]" end="\]" contained transparent contains=rubyStringEscape,rubyRegexpEscape,rubyRegexpCharClass oneline
+syn match  rubyRegexpCharClass "\\[DdHhSsWw]"          contained display
+syn match  rubyRegexpCharClass "\[:\^\=\%(alnum\|alpha\|ascii\|blank\|cntrl\|digit\|graph\|lower\|print\|punct\|space\|upper\|xdigit\):\]"             contained
+syn match  rubyRegexpEscape    "\\[].*?+^$|\\/(){}[]"  contained display
+syn match  rubyRegexpQuantifier        "[*?+][?+]\="           contained display
+syn match  rubyRegexpQuantifier        "{\d\+\%(,\d*\)\=}?\="  contained display
+syn match  rubyRegexpAnchor    "[$^]\|\\[ABbGZz]"      contained display
+syn match  rubyRegexpDot       "\."                    contained display
+syn match  rubyRegexpSpecial   "|"                     contained display
+syn match  rubyRegexpSpecial   "\\[1-9]\d\=\d\@!"      contained display
+syn match  rubyRegexpSpecial   "\\k<\%([a-z_]\w*\|-\=\d\+\)\%([+-]\d\+\)\=>" contained display
+syn match  rubyRegexpSpecial   "\\k'\%([a-z_]\w*\|-\=\d\+\)\%([+-]\d\+\)\='" contained display
+syn match  rubyRegexpSpecial   "\\g<\%([a-z_]\w*\|-\=\d\+\)>" contained display
+syn match  rubyRegexpSpecial   "\\g'\%([a-z_]\w*\|-\=\d\+\)'" contained display
+
+syn cluster rubyStringSpecial          contains=rubyInterpolation,rubyNoInterpolation,rubyStringEscape
 syn cluster rubyExtendedStringSpecial  contains=@rubyStringSpecial,rubyNestedParentheses,rubyNestedCurlyBraces,rubyNestedAngleBrackets,rubyNestedSquareBrackets
+syn cluster rubyRegexpSpecial          contains=rubyInterpolation,rubyNoInterpolation,rubyStringEscape,rubyRegexpSpecial,rubyRegexpEscape,rubyRegexpBrackets,rubyRegexpCharClass,rubyRegexpDot,rubyRegexpQuantifier,rubyRegexpAnchor,rubyRegexpParens,rubyRegexpComment
 
 " Numbers and ASCII Codes
 syn match rubyASCIICode        "\%(\w\|[]})\"'/]\)\@<!\%(?\%(\\M-\\C-\|\\C-\\M-\|\\M-\\c\|\\c\\M-\|\\c\|\\C-\|\\M-\)\=\%(\\\o\{1,3}\|\\x\x\{1,2}\|\\\=\S\)\)"
@@ -83,14 +100,14 @@ syn match  rubyGlobalVariable              "$\%(\h\w*\|-.\)"
 syn match  rubySymbol                  "[]})\"':]\@<!:\%(\^\|\~\|<<\|<=>\|<=\|<\|===\|==\|=\~\|>>\|>=\|>\||\|-@\|-\|/\|\[]=\|\[]\|\*\*\|\*\|&\|%\|+@\|+\|`\)"
 syn match  rubySymbol                  "[]})\"':]\@<!:\$\%(-.\|[`~<=>_,;:!?/.'"@$*\&+0]\)"
 syn match  rubySymbol                  "[]})\"':]\@<!:\%(\$\|@@\=\)\=\h\w*"
-syn match  rubySymbol                  "[]})\"':]\@<!:\h\w*[?!=]\="
+syn match  rubySymbol                  "[]})\"':]\@<!:\h\w*\%([?!=]>\@!\)\="
 syn region rubySymbol                  start="[]})\"':]\@<!:\"" end="\"" skip="\\\\\|\\\""
 syn region rubySymbol                  start="[]})\"':]\@<!:\"" end="\"" skip="\\\\\|\\\"" contains=@rubyStringSpecial fold
 
 syn match  rubyBlockParameter          "\h\w*" contained
 syn region rubyBlockParameterList      start="\%(\%(\<do\>\|{\)\s*\)\@<=|" end="|" oneline display contains=rubyBlockParameter
 
-syn match rubyInvalidVariable    "$[^ A-Za-z-]"
+syn match rubyInvalidVariable    "$[^ A-Za-z_-]"
 syn match rubyPredefinedVariable #$[!$&"'*+,./0:;<=>?@\`~1-9]#
 syn match rubyPredefinedVariable "$_\>"                                                                                           display
 syn match rubyPredefinedVariable "$-[0FIKadilpvw]\>"                                                                      display
@@ -104,32 +121,32 @@ syn match rubyPredefinedConstant "\%(\%(\.\@<!\.\)\@<!\|::\)\_s*\zs\%(RUBY_VERSI
 "syn match rubyPredefinedConstant "\%(::\)\=\zs\%(NotImplementError\)\>"
 
 " Normal Regular Expression
-syn region rubyRegexp matchgroup=rubyRegexpDelimiter start="\%(\%(^\|\<\%(and\|or\|while\|until\|unless\|if\|elsif\|when\|not\|then\|else\)\|[;\~=!|&(,[>]\)\s*\)\@<=/" end="/[iomxneus]*" skip="\\\\\|\\/" contains=@rubyStringSpecial fold
-syn region rubyRegexp matchgroup=rubyRegexpDelimiter start="\%(\<\%(split\|scan\|gsub\|sub\)\s*\)\@<=/" end="/[iomxneus]*" skip="\\\\\|\\/" contains=@rubyStringSpecial fold
+syn region rubyRegexp matchgroup=rubyRegexpDelimiter start="\%(\%(^\|\<\%(and\|or\|while\|until\|unless\|if\|elsif\|when\|not\|then\|else\)\|[;\~=!|&(,[>]\)\s*\)\@<=/" end="/[iomxneus]*" skip="\\\\\|\\/" contains=@rubyRegexpSpecial keepend fold
+syn region rubyRegexp matchgroup=rubyRegexpDelimiter start="\%(\h\k*\s\+\)\@<=/[ \t=]\@!" end="/[iomxneus]*" skip="\\\\\|\\/" contains=@rubyRegexpSpecial fold
+
+" Generalized Regular Expression
+syn region rubyRegexp matchgroup=rubyRegexpDelimiter start="%r\z([~`!@#$%^&*_\-+=|\:;"',.?/]\)"        end="\z1[iomxneus]*"     skip="\\\\\|\\\z1" contains=@rubyRegexpSpecial fold
+syn region rubyRegexp matchgroup=rubyRegexpDelimiter start="%r{"                               end="}[iomxneus]*"       skip="\\\\\|\\}"   contains=@rubyRegexpSpecial fold
+syn region rubyRegexp matchgroup=rubyRegexpDelimiter start="%r<"                               end=">[iomxneus]*"       skip="\\\\\|\\>"   contains=@rubyRegexpSpecial,rubyNestedAngleBrackets,rubyDelimEscape fold
+syn region rubyRegexp matchgroup=rubyRegexpDelimiter start="%r\["                              end="\][iomxneus]*"      skip="\\\\\|\\\]"  contains=@rubyRegexpSpecial fold
+syn region rubyRegexp matchgroup=rubyRegexpDelimiter start="%r("                               end=")[iomxneus]*"       skip="\\\\\|\\)"   contains=@rubyRegexpSpecial fold
 
 " Normal String and Shell Command Output
 syn region rubyString matchgroup=rubyStringDelimiter start="\"" end="\"" skip="\\\\\|\\\"" contains=@rubyStringSpecial fold
 syn region rubyString matchgroup=rubyStringDelimiter start="'" end="'"  skip="\\\\\|\\'"                              fold
 syn region rubyString matchgroup=rubyStringDelimiter start="`" end="`"  skip="\\\\\|\\`"  contains=@rubyStringSpecial fold
 
-" Generalized Regular Expression
-syn region rubyRegexp matchgroup=rubyRegexpDelimiter start="%r\z([~`!@#$%^&*_\-+=|\:;"',.?/]\)"        end="\z1[iomxneus]*" skip="\\\\\|\\\z1" contains=@rubyStringSpecial fold
-syn region rubyRegexp matchgroup=rubyRegexpDelimiter start="%r{"                               end="}[iomxneus]*"       skip="\\\\\|\\}"   contains=@rubyStringSpecial,rubyNestedCurlyBraces,rubyDelimEscape fold
-syn region rubyRegexp matchgroup=rubyRegexpDelimiter start="%r<"                               end=">[iomxneus]*"       skip="\\\\\|\\>"   contains=@rubyStringSpecial,rubyNestedAngleBrackets,rubyDelimEscape fold
-syn region rubyRegexp matchgroup=rubyRegexpDelimiter start="%r\["                              end="\][iomxneus]*"      skip="\\\\\|\\\]"  contains=@rubyStringSpecial,rubyNestedSquareBrackets,rubyDelimEscape fold
-syn region rubyRegexp matchgroup=rubyRegexpDelimiter start="%r("                               end=")[iomxneus]*"       skip="\\\\\|\\)"   contains=@rubyStringSpecial,rubyNestedParentheses,rubyDelimEscape fold
-
 " Generalized Single Quoted String, Symbol and Array of Strings
 syn region rubyString matchgroup=rubyStringDelimiter start="%[qw]\z([~`!@#$%^&*_\-+=|\:;"',.?/]\)"  end="\z1" skip="\\\\\|\\\z1" fold
 syn region rubyString matchgroup=rubyStringDelimiter start="%[qw]{"                                end="}"   skip="\\\\\|\\}"   fold   contains=rubyNestedCurlyBraces,rubyDelimEscape
 syn region rubyString matchgroup=rubyStringDelimiter start="%[qw]<"                                end=">"   skip="\\\\\|\\>"   fold   contains=rubyNestedAngleBrackets,rubyDelimEscape
 syn region rubyString matchgroup=rubyStringDelimiter start="%[qw]\["                               end="\]"  skip="\\\\\|\\\]"  fold   contains=rubyNestedSquareBrackets,rubyDelimEscape
 syn region rubyString matchgroup=rubyStringDelimiter start="%[qw]("                                end=")"   skip="\\\\\|\\)"   fold   contains=rubyNestedParentheses,rubyDelimEscape
-syn region rubySymbol                               start="%[s]\z([~`!@#$%^&*_\-+=|\:;"',.?/]\)"   end="\z1" skip="\\\\\|\\\z1" fold
-syn region rubySymbol                               start="%[s]{"                                  end="}"   skip="\\\\\|\\}"   fold   contains=rubyNestedCurlyBraces,rubyDelimEscape
-syn region rubySymbol                               start="%[s]<"                                  end=">"   skip="\\\\\|\\>"   fold   contains=rubyNestedAngleBrackets,rubyDelimEscape
-syn region rubySymbol                               start="%[s]\["                                 end="\]"  skip="\\\\\|\\\]"  fold   contains=rubyNestedSquareBrackets,rubyDelimEscape
-syn region rubySymbol                               start="%[s]("                                  end=")"   skip="\\\\\|\\)"   fold   contains=rubyNestedParentheses,rubyDelimEscape
+syn region rubySymbol matchgroup=rubySymbolDelimiter start="%[s]\z([~`!@#$%^&*_\-+=|\:;"',.?/]\)"   end="\z1" skip="\\\\\|\\\z1" fold
+syn region rubySymbol matchgroup=rubySymbolDelimiter start="%[s]{"                                 end="}"   skip="\\\\\|\\}"   fold   contains=rubyNestedCurlyBraces,rubyDelimEscape
+syn region rubySymbol matchgroup=rubySymbolDelimiter start="%[s]<"                                 end=">"   skip="\\\\\|\\>"   fold   contains=rubyNestedAngleBrackets,rubyDelimEscape
+syn region rubySymbol matchgroup=rubySymbolDelimiter start="%[s]\["                                end="\]"  skip="\\\\\|\\\]"  fold   contains=rubyNestedSquareBrackets,rubyDelimEscape
+syn region rubySymbol matchgroup=rubySymbolDelimiter start="%[s]("                                 end=")"   skip="\\\\\|\\)"   fold   contains=rubyNestedParentheses,rubyDelimEscape
 
 " Generalized Double Quoted String and Array of Strings and Shell Command Output
 " Note: %= is not matched here as the beginning of a double quoted string
@@ -141,10 +158,10 @@ syn region rubyString matchgroup=rubyStringDelimiter start="%[QWx]\=\["                               e
 syn region rubyString matchgroup=rubyStringDelimiter start="%[QWx]\=("                             end=")"   skip="\\\\\|\\)"   contains=@rubyStringSpecial,rubyNestedParentheses,rubyDelimEscape fold
 
 " Here Document
-syn region rubyHeredocStart matchgroup=rubyStringDelimiter start=+\%(\%(class\s*\|\%([]})"'.]\|::\)\)\_s*\|\w\)\@<!<<-\=\zs\%(\h\w*\)+   end=+$+ oneline contains=TOP
-syn region rubyHeredocStart matchgroup=rubyStringDelimiter start=+\%(\%(class\s*\|\%([]})"'.]\|::\)\)\_s*\|\w\)\@<!<<-\=\zs"\%([^"]*\)"+ end=+$+ oneline contains=TOP
-syn region rubyHeredocStart matchgroup=rubyStringDelimiter start=+\%(\%(class\s*\|\%([]})"'.]\|::\)\)\_s*\|\w\)\@<!<<-\=\zs'\%([^']*\)'+ end=+$+ oneline contains=TOP
-syn region rubyHeredocStart matchgroup=rubyStringDelimiter start=+\%(\%(class\s*\|\%([]})"'.]\|::\)\)\_s*\|\w\)\@<!<<-\=\zs`\%([^`]*\)`+ end=+$+ oneline contains=TOP
+syn region rubyHeredocStart matchgroup=rubyStringDelimiter start=+\%(\%(class\s*\|\%([]})"'.]\|::\)\)\_s*\|\w\)\@<!<<-\=\zs\%(\h\w*\)+   end=+$+ oneline contains=ALLBUT,@rubyNotTop
+syn region rubyHeredocStart matchgroup=rubyStringDelimiter start=+\%(\%(class\s*\|\%([]})"'.]\|::\)\)\_s*\|\w\)\@<!<<-\=\zs"\%([^"]*\)"+ end=+$+ oneline contains=ALLBUT,@rubyNotTop
+syn region rubyHeredocStart matchgroup=rubyStringDelimiter start=+\%(\%(class\s*\|\%([]})"'.]\|::\)\)\_s*\|\w\)\@<!<<-\=\zs'\%([^']*\)'+ end=+$+ oneline contains=ALLBUT,@rubyNotTop
+syn region rubyHeredocStart matchgroup=rubyStringDelimiter start=+\%(\%(class\s*\|\%([]})"'.]\|::\)\)\_s*\|\w\)\@<!<<-\=\zs`\%([^`]*\)`+ end=+$+ oneline contains=ALLBUT,@rubyNotTop
 
 syn region rubyString start=+\%(\%(class\s*\|\%([]})"'.]\|::\)\)\_s*\|\w\)\@<!<<\z(\h\w*\)\ze+hs=s+2    matchgroup=rubyStringDelimiter end=+^\z1$+ contains=rubyHeredocStart,@rubyStringSpecial fold keepend
 syn region rubyString start=+\%(\%(class\s*\|\%([]})"'.]\|::\)\)\_s*\|\w\)\@<!<<"\z([^"]*\)"\ze+hs=s+2  matchgroup=rubyStringDelimiter end=+^\z1$+ contains=rubyHeredocStart,@rubyStringSpecial fold keepend
@@ -163,43 +180,46 @@ end
 syn match  rubyAliasDeclaration    "[^[:space:];#.()]\+"  contained contains=rubySymbol,rubyGlobalVariable,rubyPredefinedVariable nextgroup=rubyAliasDeclaration2 skipwhite
 syn match  rubyAliasDeclaration2   "[^[:space:];#.()]\+"  contained contains=rubySymbol,rubyGlobalVariable,rubyPredefinedVariable
 syn match  rubyMethodDeclaration   "[^[:space:];#(]\+"   contained contains=rubyConstant,rubyBoolean,rubyPseudoVariable,rubyInstanceVariable,rubyClassVariable,rubyGlobalVariable
-syn match  rubyClassDeclaration    "[^[:space:];#<]\+"   contained contains=rubyConstant
-syn match  rubyModuleDeclaration   "[^[:space:];#]\+"    contained contains=rubyConstant
+syn match  rubyClassDeclaration    "[^[:space:];#<]\+"   contained contains=rubyConstant,rubyOperator
+syn match  rubyModuleDeclaration   "[^[:space:];#<]\+"   contained contains=rubyConstant,rubyOperator
 syn match  rubyFunction "\<[_[:alpha:]][_[:alnum:]]*[?!=]\=[[:alnum:].:?!=]\@!" contained containedin=rubyMethodDeclaration
 syn match  rubyFunction "\%(\s\|^\)\@<=[_[:alpha:]][_[:alnum:]]*[?!=]\=\%(\s\|$\)\@=" contained containedin=rubyAliasDeclaration,rubyAliasDeclaration2
 syn match  rubyFunction "\%([[:space:].]\|^\)\@<=\%(\[\]=\=\|\*\*\|[+-]@\=\|[*/%|&^~]\|<<\|>>\|[<>]=\=\|<=>\|===\|==\|=\~\|`\)\%([[:space:];#(]\|$\)\@=" contained containedin=rubyAliasDeclaration,rubyAliasDeclaration2,rubyMethodDeclaration
 
+syn cluster rubyDeclaration    contains=rubyAliasDeclaration,rubyAliasDeclaration2,rubyMethodDeclaration,rubyModuleDeclaration,rubyClassDeclaration,rubyFunction,rubyBlockParameter
+
 " Expensive Mode - match 'end' with the appropriate opening keyword for syntax
 " based folding and special highlighting of module/class/method definitions
 if !exists("b:ruby_no_expensive") && !exists("ruby_no_expensive")
   syn match  rubyDefine "\<alias\>"            nextgroup=rubyAliasDeclaration  skipwhite skipnl
   syn match  rubyDefine "\<def\>"              nextgroup=rubyMethodDeclaration skipwhite skipnl
+  syn match  rubyDefine "\<undef\>"            nextgroup=rubyFunction skipwhite skipnl
   syn match  rubyClass "\<class\>"             nextgroup=rubyClassDeclaration  skipwhite skipnl
   syn match  rubyModule "\<module\>"           nextgroup=rubyModuleDeclaration skipwhite skipnl
-  syn region rubyBlock start="\<def\>"         matchgroup=rubyDefine end="\%(\<def\_s\+\)\@<!\<end\>" contains=TOP fold
-  syn region rubyBlock start="\<class\>"       matchgroup=rubyClass  end="\<end\>" contains=TOP fold
-  syn region rubyBlock start="\<module\>"      matchgroup=rubyModule end="\<end\>" contains=TOP fold
+  syn region rubyBlock start="\<def\>"         matchgroup=rubyDefine end="\%(\<def\_s\+\)\@<!\<end\>" contains=ALLBUT,@rubyNotTop fold
+  syn region rubyBlock start="\<class\>"       matchgroup=rubyClass  end="\<end\>" contains=ALLBUT,@rubyNotTop fold
+  syn region rubyBlock start="\<module\>"      matchgroup=rubyModule end="\<end\>" contains=ALLBUT,@rubyNotTop fold
 
   " modifiers
   syn match  rubyConditionalModifier "\<\%(if\|unless\)\>"   display
   syn match  rubyRepeatModifier             "\<\%(while\|until\)\>" display
 
-  syn region rubyDoBlock matchgroup=rubyControl start="\<do\>" end="\<end\>" contains=TOP fold
+  syn region rubyDoBlock matchgroup=rubyControl start="\<do\>" end="\<end\>" contains=ALLBUT,@rubyNotTop fold
   " curly bracket block or hash literal
-  syn region rubyCurlyBlock   start="{" end="}" contains=TOP fold
-  syn region rubyArrayLiteral matchgroup=rubyArrayDelimiter start="\%(\w\|[\]})]\)\@<!\[" end="]" contains=TOP fold
+  syn region rubyCurlyBlock   start="{" end="}" contains=ALLBUT,@rubyNotTop fold
+  syn region rubyArrayLiteral matchgroup=rubyArrayDelimiter start="\%(\w\|[\]})]\)\@<!\[" end="]" contains=ALLBUT,@rubyNotTop fold
 
   " statements without 'do'
-  syn region rubyBlockExpression       matchgroup=rubyControl    start="\<begin\>" end="\<end\>" contains=TOP fold
-  syn region rubyCaseExpression               matchgroup=rubyConditional start="\<case\>"  end="\<end\>" contains=TOP fold
-  syn region rubyConditionalExpression matchgroup=rubyConditional start="\%(\%(^\|\.\.\.\=\|[{:,;([<>~\*/%&^|+=-]\|\%(\<[_[:lower:]][_[:alnum:]]*\)\@<![!?]\)\s*\)\@<=\%(if\|unless\)\>" end="\<end\>" contains=TOP fold
+  syn region rubyBlockExpression       matchgroup=rubyControl    start="\<begin\>" end="\<end\>" contains=ALLBUT,@rubyNotTop fold
+  syn region rubyCaseExpression               matchgroup=rubyConditional start="\<case\>"  end="\<end\>" contains=ALLBUT,@rubyNotTop fold
+  syn region rubyConditionalExpression matchgroup=rubyConditional start="\%(\%(^\|\.\.\.\=\|[{:,;([<>~\*/%&^|+=-]\|\%(\<[_[:lower:]][_[:alnum:]]*\)\@<![?!]\)\s*\)\@<=\%(if\|unless\)\>" end="\<end\>" contains=ALLBUT,@rubyNotTop fold
 
-  syn keyword rubyConditional then else when  contained containedin=rubyCaseExpression
-  syn keyword rubyConditional then else elsif contained containedin=rubyConditionalExpression
+  syn match rubyConditional "\<\%(then\|else\|when\)\>[?!]\@!"  contained containedin=rubyCaseExpression
+  syn match rubyConditional "\<\%(then\|else\|elsif\)\>[?!]\@!" contained containedin=rubyConditionalExpression
 
   " statements with optional 'do'
-  syn region rubyOptionalDoLine   matchgroup=rubyRepeat start="\<for\>" start="\%(\%(^\|\.\.\.\=\|[{:,;([<>~\*/%&^|+-]\|\%(\<[_[:lower:]][_[:alnum:]]*\)\@<![!=?]\)\s*\)\@<=\<\%(until\|while\)\>" matchgroup=rubyOptionalDo end="\%(\<do\>\)" end="\ze\%(;\|$\)" oneline contains=TOP
-  syn region rubyRepeatExpression start="\<for\>" start="\%(\%(^\|\.\.\.\=\|[{:,;([<>~\*/%&^|+-]\|\%(\<[_[:lower:]][_[:alnum:]]*\)\@<![!=?]\)\s*\)\@<=\<\%(until\|while\)\>" matchgroup=rubyRepeat end="\<end\>" contains=TOP nextgroup=rubyOptionalDoLine fold
+  syn region rubyOptionalDoLine   matchgroup=rubyRepeat start="\<for\>[?!]\@!" start="\%(\%(^\|\.\.\.\=\|[{:,;([<>~\*/%&^|+-]\|\%(\<[_[:lower:]][_[:alnum:]]*\)\@<![!=?]\)\s*\)\@<=\<\%(until\|while\)\>" matchgroup=rubyOptionalDo end="\%(\<do\>\)" end="\ze\%(;\|$\)" oneline contains=ALLBUT,@rubyNotTop
+  syn region rubyRepeatExpression start="\<for\>[?!]\@!" start="\%(\%(^\|\.\.\.\=\|[{:,;([<>~\*/%&^|+-]\|\%(\<[_[:lower:]][_[:alnum:]]*\)\@<![!=?]\)\s*\)\@<=\<\%(until\|while\)\>" matchgroup=rubyRepeat end="\<end\>" contains=ALLBUT,@rubyNotTop nextgroup=rubyOptionalDoLine fold
 
   if !exists("ruby_minlines")
     let ruby_minlines = 50
@@ -207,31 +227,35 @@ if !exists("b:ruby_no_expensive") && !exists("ruby_no_expensive")
   exec "syn sync minlines=" . ruby_minlines
 
 else
-  syn match   rubyControl "\<def\>"    nextgroup=rubyMethodDeclaration skipwhite skipnl
-  syn match   rubyControl "\<class\>"  nextgroup=rubyClassDeclaration  skipwhite skipnl
-  syn match   rubyControl "\<module\>" nextgroup=rubyModuleDeclaration skipwhite skipnl
-  syn keyword rubyControl case begin do for if unless while until else elsif then when end
-  syn keyword rubyKeyword alias
+  syn match   rubyControl "\<def\>[?!]\@!"     nextgroup=rubyMethodDeclaration skipwhite skipnl
+  syn match   rubyControl "\<class\>[?!]\@!"   nextgroup=rubyClassDeclaration  skipwhite skipnl
+  syn match   rubyControl "\<module\>[?!]\@!"  nextgroup=rubyModuleDeclaration skipwhite skipnl
+  syn match   rubyControl "\<\%(case\|begin\|do\|for\|if\|unless\|while\|until\|else\|elsif\|then\|when\|end\)\>[?!]\@!"
+  syn match   rubyKeyword "\<\%(alias\|undef\)\>[?!]\@!"
 endif
 
 " Keywords
 " Note: the following keywords have already been defined:
 " begin case class def do end for if module unless until while
-syn keyword rubyControl                and break ensure in next not or redo rescue retry return
+syn match   rubyControl                "\<\%(and\|break\|ensure\|in\|next\|not\|or\|redo\|rescue\|retry\|return\)\>[?!]\@!"
 syn match   rubyOperator       "\<defined?" display
-syn keyword rubyKeyword                super undef yield
-syn keyword rubyBoolean                true false
-syn keyword rubyPseudoVariable nil self __FILE__ __LINE__
-syn keyword rubyBeginEnd       BEGIN END
+syn match   rubyKeyword                "\<\%(super\|yield\)\>[?!]\@!"
+syn match   rubyBoolean                "\<\%(true\|false\)\>[?!]\@!"
+syn match   rubyPseudoVariable "\<\%(nil\|self\|__FILE__\|__LINE__\)\>[?!]\@!"
+syn match   rubyBeginEnd       "\<\%(BEGIN\|END\)\>[?!]\@!"
 
 " Special Methods
 if !exists("ruby_no_special_methods")
-  syn keyword rubyAccess    public protected private
-  syn keyword rubyAttribute attr attr_accessor attr_reader attr_writer
-  syn match   rubyControl   "\<\%(exit!\|\%(abort\|at_exit\|exit\|fork\|loop\|trap\)\>\)"
+  syn keyword rubyAccess    public protected private module_function
+  " attr is a common variable name
+  syn match   rubyAttribute "\%(\%(^\|;\)\s*\)\@<=attr\>\(\s*[.=]\)\@!"
+  syn keyword rubyAttribute attr_accessor attr_reader attr_writer
+  syn match   rubyControl   "\<\%(exit!\|\%(abort\|at_exit\|exit\|fork\|loop\|trap\)\>[?!]\@!\)"
   syn keyword rubyEval     eval class_eval instance_eval module_eval
   syn keyword rubyException raise fail catch throw
-  syn keyword rubyInclude   autoload extend include load require
+  " false positive with 'include?'
+  syn match   rubyInclude   "\<include\>[?!]\@!"
+  syn keyword rubyInclude   autoload extend load require
   syn keyword rubyKeyword   callcc caller lambda proc
 endif
 
@@ -252,6 +276,9 @@ syn match rubyKeywordAsMethod "\%(\%(\.\@<!\.\)\|::\)\_s*\%(elsif\|end\|ensure\|
 syn match rubyKeywordAsMethod "\%(\%(\.\@<!\.\)\|::\)\_s*\%(not\|or\|redo\|rescue\|retry\|return\|self\|super\|then\|true\)\>"                 transparent contains=NONE
 syn match rubyKeywordAsMethod "\%(\%(\.\@<!\.\)\|::\)\_s*\%(undef\|unless\|until\|when\|while\|yield\|BEGIN\|END\|__FILE__\|__LINE__\)\>"      transparent contains=NONE
 
+syn match rubyKeywordAsMethod "\<\%(alias\|begin\|case\|class\|def\|do\|end\)[?!]"             transparent contains=NONE
+syn match rubyKeywordAsMethod "\<\%(if\|module\|undef\|unless\|until\|while\)[?!]"             transparent contains=NONE
+
 syn match rubyKeywordAsMethod "\%(\%(\.\@<!\.\)\|::\)\_s*\%(abort\|at_exit\|attr\|attr_accessor\|attr_reader\)\>"      transparent contains=NONE
 syn match rubyKeywordAsMethod "\%(\%(\.\@<!\.\)\|::\)\_s*\%(attr_writer\|autoload\|callcc\|catch\|caller\)\>"          transparent contains=NONE
 syn match rubyKeywordAsMethod "\%(\%(\.\@<!\.\)\|::\)\_s*\%(eval\|class_eval\|instance_eval\|module_eval\|exit\)\>"    transparent contains=NONE
@@ -305,15 +332,24 @@ hi def link rubyComment                   Comment
 hi def link rubyData                   Comment
 hi def link rubyDataDirective          Delimiter
 hi def link rubyDocumentation          Comment
-hi def link rubyEscape                 Special
+hi def link rubyTodo                   Todo
+
+hi def link rubyStringEscape           Special
 hi def link rubyInterpolationDelimiter Delimiter
 hi def link rubyNoInterpolation                rubyString
 hi def link rubySharpBang              PreProc
 hi def link rubyRegexpDelimiter                rubyStringDelimiter
+hi def link rubySymbolDelimiter                rubyStringDelimiter
 hi def link rubyStringDelimiter                Delimiter
-hi def link rubyRegexp                 rubyString
 hi def link rubyString                 String
-hi def link rubyTodo                   Todo
+hi def link rubyRegexpEscape           rubyRegexpSpecial
+hi def link rubyRegexpQuantifier       rubyRegexpSpecial
+hi def link rubyRegexpAnchor           rubyRegexpSpecial
+hi def link rubyRegexpDot              rubyRegexpCharClass
+hi def link rubyRegexpCharClass                rubyRegexpSpecial
+hi def link rubyRegexpSpecial          Special
+hi def link rubyRegexpComment          Comment
+hi def link rubyRegexp                 rubyString
 
 hi def link rubyInvalidVariable                Error
 hi def link rubyError                  Error
@@ -321,4 +357,4 @@ hi def link rubySpaceError          rubyError
 
 let b:current_syntax = "ruby"
 
-" vim: nowrap sw=2 sts=2 ts=8 noet :
+" vim: nowrap sw=2 sts=2 ts=8 noet:
diff --git a/runtime/syntax/sass.vim b/runtime/syntax/sass.vim
new file mode 100644 (file)
index 0000000..1a2e7a4
--- /dev/null
@@ -0,0 +1,56 @@
+" Vim syntax file
+" Language:     Sass
+" Maintainer:   Tim Pope <vimNOSPAM@tpope.info>
+" Filenames:    *.sass
+
+if exists("b:current_syntax")
+  finish
+endif
+
+runtime! syntax/css.vim
+
+syn case ignore
+
+syn cluster sassCssProperties contains=cssFontProp,cssFontDescriptorProp,cssColorProp,cssTextProp,cssBoxProp,cssGeneratedContentProp,cssPagingProp,cssUIProp,cssRenderProp,cssAuralProp,cssTableProp
+syn cluster sassCssAttributes contains=css.*Attr,cssComment,cssValue.*,cssColor,cssURL,cssImportant,cssError,cssStringQ,cssStringQQ,cssFunction,cssUnicodeEscape,cssRenderProp
+
+syn match sassProperty "^\s*\zs\s\%([[:alnum:]-]\+:\|:[[:alnum:]-]\+\)"hs=s+1 contains=css.*Prop skipwhite nextgroup=sassCssAttribute
+syn match sassCssAttribute ".*$" contained contains=@sassCssAttributes,sassConstant
+syn match sassConstant "![[:alnum:]_-]\+"
+syn match sassConstantAssignment "\%(![[:alnum:]_]\+\s*\)\@<==" nextgroup=sassCssAttribute skipwhite
+syn match sassMixin  "^=.*"
+syn match sassMixing "^\s\+\zs+.*"
+
+syn match sassEscape     "^\s*\zs\\"
+syn match sassIdChar     "#[[:alnum:]_-]\@=" nextgroup=sassId
+syn match sassId         "[[:alnum:]_-]\+" contained
+syn match sassClassChar  "\.[[:alnum:]_-]\@=" nextgroup=sassClass
+syn match sassClass      "[[:alnum:]_-]\+" contained
+syn match sassAmpersand  "&"
+
+" TODO: Attribute namespaces
+" TODO: Arithmetic (including strings and concatenation)
+
+syn region sassInclude start="@import" end=";\|$" contains=cssComment,cssURL,cssUnicodeEscape,cssMediaType
+
+syn keyword sassTodo        FIXME NOTE TODO OPTIMIZE XXX contained
+syn region  sassComment     start="^\z(\s*\)//"  end="^\%(\z1 \)\@!" contains=sassTodo
+syn region  sassCssComment  start="^\z(\s*\)/\*" end="^\%(\z1 \)\@!" contains=sassTodo
+
+hi def link sassCssComment              sassComment
+hi def link sassComment                 Comment
+hi def link sassConstant                Identifier
+hi def link sassMixing                  PreProc
+hi def link sassMixin                   PreProc
+hi def link sassTodo                    Todo
+hi def link sassInclude                 Include
+hi def link sassEscape                  Special
+hi def link sassIdChar                  Special
+hi def link sassClassChar               Special
+hi def link sassAmpersand               Character
+hi def link sassId                      Identifier
+hi def link sassClass                   Type
+
+let b:current_syntax = "sass"
+
+" vim:set sw=2:
index bddfe1c7e49226c455ed76ba81f8a64d8ddad605..cb92bbda81deb64b410a3b4f0481730712b0a517 100644 (file)
@@ -2,22 +2,10 @@
 " Language:            shell (sh) Korn shell (ksh) bash (sh)
 " Maintainer:          Dr. Charles E. Campbell, Jr.  <NdrOchipS@PcampbellAfamily.Mbiz>
 " Previous Maintainer: Lennart Schultz <Lennart.Schultz@ecmwf.int>
-" Last Change:         Apr 24, 2008
-" Version:             90
+" Last Change:         Jul 01, 2008
+" Version:             100
 " URL:         http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax
-"
-" Using the following VIM variables: {{{1
-" g:is_bash            if none of the previous three variables are
-"              defined, then if g:is_bash is set enhance with
-"              bash syntax highlighting
-" g:is_kornshell       if neither b:is_kornshell or b:is_bash is
-"              defined, then if g:is_kornshell is set
-"              enhance with kornshell/POSIX syntax highlighting
-" g:is_posix                    this variable is the same as g:is_kornshell
-" g:sh_fold_enabled    if non-zero, syntax folding is enabled
-" g:sh_minlines                sets up syn sync minlines (dflt: 200)
-" g:sh_maxlines                sets up syn sync maxlines (dflt: 2x sh_minlines)
-"
+" For options and settings, please use:      :help ft-sh-syntax
 " This file includes many ideas from Éric Brunet (eric.brunet@ens.fr)
 
 " For version 5.x: Clear all syntax items {{{1
@@ -54,6 +42,9 @@ if !exists("b:is_kornshell") && !exists("b:is_bash")
   endif
 endif
 
+" adjust iskeyword for shell characters
+"setlocal isk=@,48-57,_,192-255,#,.,/
+
 " set up default g:sh_fold_enabled {{{1
 if !exists("g:sh_fold_enabled")
  let g:sh_fold_enabled= 0
@@ -61,6 +52,15 @@ elseif g:sh_fold_enabled != 0 && !has("folding")
  let g:sh_fold_enabled= 0
  echomsg "Ignoring g:sh_fold_enabled=".g:sh_fold_enabled."; need to re-compile vim for +fold support"
 endif
+if !exists("s:sh_fold_functions")
+ let s:sh_fold_functions = 1
+endif
+if !exists("s:sh_fold_heredoc")
+ let s:sh_fold_heredoc   = 2
+endif
+if !exists("s:sh_fold_ifdofor")
+ let s:sh_fold_ifdofor   = 4
+endif
 if g:sh_fold_enabled && &fdm == "manual"
  set fdm=syntax
 endif
@@ -70,26 +70,33 @@ syn case match
 
 " Clusters: contains=@... clusters {{{1
 "==================================
-syn cluster shCaseEsacList     contains=shCaseStart,shCase,shCaseBar,shCaseIn,shComment,shDeref,shDerefSimple,shCaseCommandSub,shCaseExSingleQuote,shCaseSingleQuote,shCaseDoubleQuote,shCtrlSeq
+syn cluster shErrorList        contains=shDoError,shIfError,shInError,shCaseError,shEsacError,shCurlyError,shParenError,shTestError
+if exists("b:is_kornshell")
+ syn cluster ErrorList add=shDTestError
+endif
+syn cluster shArithParenList   contains=shArithmetic,shDeref,shDerefSimple,shEscape,shNumber,shOperator,shPosnParm,shExSingleQuote,shSingleQuote,shDoubleQuote,shStatement,shVariable,shAlias,shTest,shCtrlSeq,shSpecial,shParen
+syn cluster shArithList        contains=@shArithParenList,shParenError
+syn cluster shCaseEsacList     contains=shCaseStart,shCase,shCaseBar,shCaseIn,shComment,shDeref,shDerefSimple,shCaseCommandSub,shCaseExSingleQuote,shCaseSingleQuote,shCaseDoubleQuote,shCtrlSeq,@shErrorList,shStringSpecial
 syn cluster shCaseList contains=@shCommandSubList,shCaseEsac,shColon,shCommandSub,shCommandSub,shComment,shDo,shEcho,shExpr,shFor,shHereDoc,shIf,shRedir,shSetList,shSource,shStatement,shVariable,shCtrlSeq
 syn cluster shColonList        contains=@shCaseList
-syn cluster shCommandSubList   contains=shArithmetic,shDeref,shDerefSimple,shNumber,shOperator,shPosnParm,shExSingleQuote,shSingleQuote,shDoubleQuote,shStatement,shVariable,shSubSh,shAlias,shTest,shCtrlSeq
+syn cluster shCommandSubList   contains=shArithmetic,shDeref,shDerefSimple,shEscape,shNumber,shOperator,shPosnParm,shExSingleQuote,shSingleQuote,shDoubleQuote,shStatement,shVariable,shSubSh,shAlias,shTest,shCtrlSeq,shSpecial
 syn cluster shCurlyList        contains=shNumber,shComma,shDeref,shDerefSimple,shDerefSpecial
 syn cluster shDblQuoteList     contains=shCommandSub,shDeref,shDerefSimple,shPosnParm,shExSingleQuote,shCtrlSeq,shSpecial
 syn cluster shDerefList        contains=shDeref,shDerefSimple,shDerefVar,shDerefSpecial,shDerefWordError,shDerefPPS
 syn cluster shDerefVarList     contains=shDerefOp,shDerefVarArray,shDerefOpError
-syn cluster shEchoList contains=shArithmetic,shCommandSub,shDeref,shDerefSimple,shExpr,shExSingleQuote,shSingleQuote,shDoubleQuote,shCtrlSeq
+syn cluster shEchoList contains=shArithmetic,shCommandSub,shDeref,shDerefSimple,shExpr,shExSingleQuote,shSingleQuote,shDoubleQuote,shCtrlSeq,shEchoQuote
 syn cluster shExprList1        contains=shCharClass,shNumber,shOperator,shExSingleQuote,shSingleQuote,shDoubleQuote,shExpr,shDblBrace,shDeref,shDerefSimple,shCtrlSeq
 syn cluster shExprList2        contains=@shExprList1,@shCaseList,shTest
-syn cluster shFunctionList     contains=@shCommandSubList,shCaseEsac,shColon,shCommandSub,shCommandSub,shComment,shDo,shEcho,shExpr,shFor,shHereDoc,shIf,shRedir,shSetList,shSource,shStatement,shVariable,shOperator,shFunctionStart,shCtrlSeq
+syn cluster shFunctionList     contains=@shCommandSubList,shCaseEsac,shColon,shCommandSub,shCommandSub,shComment,shDo,shEcho,shExpr,shFor,shHereDoc,shIf,shRedir,shSetList,shSource,shStatement,shVariable,shOperator,shCtrlSeq
 if exists("b:is_kornshell") || exists("b:is_bash")
+ syn cluster shFunctionList    add=shRepeat
  syn cluster shFunctionList    add=shDblBrace,shDblParen
 endif
 syn cluster shHereBeginList    contains=@shCommandSubList
 syn cluster shHereList contains=shBeginHere,shHerePayload
 syn cluster shHereListDQ       contains=shBeginHere,@shDblQuoteList,shHerePayload
-syn cluster shIdList   contains=shCommandSub,shWrapLineOperator,shIdWhiteSpace,shDeref,shDerefSimple,shRedir,shExSingleQuote,shSingleQuote,shDoubleQuote,shExpr,shCtrlSeq
-syn cluster shLoopList contains=@shCaseList,shTestOpr,shExpr,shDblBrace,shConditional,shCaseEsac,shTest
+syn cluster shIdList   contains=shCommandSub,shWrapLineOperator,shSetOption,shDeref,shDerefSimple,shRedir,shExSingleQuote,shSingleQuote,shDoubleQuote,shExpr,shCtrlSeq,shStringSpecial
+syn cluster shLoopList contains=@shCaseList,shTestOpr,shExpr,shDblBrace,shConditional,shCaseEsac,shTest,@shErrorList,shSet
 syn cluster shSubShList        contains=@shCaseList,shOperator
 syn cluster shTestList contains=shCharClass,shComment,shCommandSub,shDeref,shDerefSimple,shDoubleQuote,shExpr,shExpr,shNumber,shOperator,shExSingleQuote,shSingleQuote,shTestOpr,shTest,shCtrlSeq
 
@@ -97,10 +104,11 @@ syn cluster shTestList     contains=shCharClass,shComment,shCommandSub,shDeref,shDer
 " Echo: {{{1
 " ====
 " This one is needed INSIDE a CommandSub, so that `echo bla` be correct
-syn region shEcho matchgroup=shStatement start="\<echo\>"  skip="\\$" matchgroup=shOperator end="$" matchgroup=NONE end="[<>;&|()]"me=e-1 end="\d[<>]"me=e-2 end="#"me=e-1 contains=@shEchoList
-syn region shEcho matchgroup=shStatement start="\<print\>" skip="\\$" matchgroup=shOperator end="$" matchgroup=NONE end="[<>;&|()]"me=e-1 end="\d[<>]"me=e-2 end="#"me=e-1 contains=@shEchoList
+syn region shEcho matchgroup=shStatement start="\<echo\>"  skip="\\$" matchgroup=shOperator end="$" matchgroup=NONE end="[<>;&|()]"me=e-1 end="\d[<>]"me=e-2 end="#"me=e-1 contains=@shEchoList skipwhite nextgroup=shQuickComment
+syn region shEcho matchgroup=shStatement start="\<print\>" skip="\\$" matchgroup=shOperator end="$" matchgroup=NONE end="[<>;&|()]"me=e-1 end="\d[<>]"me=e-2 end="#"me=e-1 contains=@shEchoList skipwhite nextgroup=shQuickComment
+syn match  shEchoQuote contained       '\%(\\\\\)*\\["`']'
 
-" This must be after the strings, so that bla \" be correct
+" This must be after the strings, so that ... \" will be correct
 syn region shEmbeddedEcho contained matchgroup=shStatement start="\<print\>" skip="\\$" matchgroup=shOperator end="$" matchgroup=NONE end="[<>;&|`)]"me=e-1 end="\d[<>]"me=e-2 end="#"me=e-1 contains=shNumber,shExSingleQuote,shSingleQuote,shDeref,shDerefSimple,shSpecialVar,shOperator,shDoubleQuote,shCharClass,shCtrlSeq
 
 " Alias: {{{1
@@ -125,10 +133,10 @@ if exists("b:is_kornshell")
 endif
 syn match     shTestError "]"
 
-" Options Interceptor: {{{1
+" Options: {{{1
 " ====================
-syn match   shOption  "\s[\-+][a-zA-Z0-9]\+\>"ms=s+1
-syn match   shOption  "\s--[^ \t$`'"|]\+"ms=s+1
+syn match   shOption   "\s\zs[-+][a-zA-Z0-9]\+\>"
+syn match   shOption   "\s\zs--[^ \t$`'"|]\+"
 
 " File Redirection Highlighted As Operators: {{{1
 "===========================================
@@ -140,8 +148,8 @@ syn match      shRedir      "\d<<-\="
 " Operators: {{{1
 " ==========
 syn match   shOperator "<<\|>>"                contained
-syn match   shOperator "[!&;|]"
-syn match   shOperator "\[[[^:]\|\]]"
+syn match   shOperator "[!&;|]"                contained
+syn match   shOperator "\[[[^:]\|\]]"          contained
 syn match   shOperator "!\=="          skipwhite nextgroup=shPattern
 syn match   shPattern  "\<\S\+\())\)\@="       contained contains=shExSingleQuote,shSingleQuote,shDoubleQuote,shDeref
 
@@ -172,33 +180,34 @@ syn match   shCharClass   contained       "\[:\(backspace\|escape\|return\|xdigit\|alnum
 
 " Loops: do, if, while, until {{{1
 " ======
-if g:sh_fold_enabled
+if (g:sh_fold_enabled % (s:sh_fold_ifdofor * 2))/s:sh_fold_ifdofor
  syn region shDo       fold transparent matchgroup=shConditional start="\<do\>" matchgroup=shConditional end="\<done\>" contains=@shLoopList
- syn region shIf       fold transparent matchgroup=shConditional start="\<if\>" matchgroup=shConditional end="\<;\_s*then\>" end="\<fi\>"   contains=@shLoopList,shDblBrace,shDblParen,shFunctionKey
- syn region shFor      fold matchgroup=shLoop start="\<for\>" end="\<in\>" end="\<do\>"me=e-2  contains=@shLoopList,shDblParen skipwhite nextgroup=shCurlyIn
+ syn region shIf       fold transparent matchgroup=shConditional start="\<if\_s" matchgroup=shConditional end="\<;\_s*then\>" end="\<fi\>"   contains=@shLoopList,shDblBrace,shDblParen,shFunctionKey
+ syn region shFor      fold matchgroup=shLoop start="\<for\_s" end="\<in\_s" end="\<do\>"me=e-2        contains=@shLoopList,shDblParen skipwhite nextgroup=shCurlyIn
 else
  syn region shDo       transparent matchgroup=shConditional start="\<do\>" matchgroup=shConditional end="\<done\>" contains=@shLoopList
- syn region shIf       transparent matchgroup=shConditional start="\<if\>" matchgroup=shConditional end="\<;\_s*then\>" end="\<fi\>"   contains=@shLoopList,shDblBrace,shDblParen,shFunctionKey
- syn region shFor      matchgroup=shLoop start="\<for\>" end="\<in\>" end="\<do\>"me=e-2       contains=@shLoopList,shDblParen skipwhite nextgroup=shCurlyIn
+ syn region shIf       transparent matchgroup=shConditional start="\<if\_s" matchgroup=shConditional end="\<;\_s*then\>" end="\<fi\>"   contains=@shLoopList,shDblBrace,shDblParen,shFunctionKey
+ syn region shFor      matchgroup=shLoop start="\<for\_s" end="\<in\>" end="\<do\>"me=e-2      contains=@shLoopList,shDblParen skipwhite nextgroup=shCurlyIn
 endif
 if exists("b:is_kornshell") || exists("b:is_bash")
- syn cluster shCaseList add=shRepeat
- syn region shRepeat   matchgroup=shLoop   start="\<while\>" end="\<in\>" end="\<do\>"me=e-2   contains=@shLoopList,shDblParen,shDblBrace
- syn region shRepeat   matchgroup=shLoop   start="\<until\>" end="\<in\>" end="\<do\>"me=e-2   contains=@shLoopList,shDblParen,shDblBrace
- syn region shCaseEsac matchgroup=shConditional start="\<select\>" matchgroup=shConditional end="\<in\>" end="\<do\>" contains=@shLoopList
+ syn cluster shCaseList        add=shRepeat
+ syn cluster shFunctionList    add=shRepeat
+ syn region shRepeat   matchgroup=shLoop   start="\<while\_s" end="\<in\_s" end="\<do\>"me=e-2 contains=@shLoopList,shDblParen,shDblBrace
+ syn region shRepeat   matchgroup=shLoop   start="\<until\_s" end="\<in\_s" end="\<do\>"me=e-2 contains=@shLoopList,shDblParen,shDblBrace
+ syn region shCaseEsac matchgroup=shConditional start="\<select\s" matchgroup=shConditional end="\<in\>" end="\<do\>" contains=@shLoopList
 else
- syn region shRepeat   matchgroup=shLoop   start="\<while\>" end="\<do\>"me=e-2                contains=@shLoopList
- syn region shRepeat   matchgroup=shLoop   start="\<until\>" end="\<do\>"me=e-2                contains=@shLoopList
+ syn region shRepeat   matchgroup=shLoop   start="\<while\_s" end="\<do\>"me=e-2               contains=@shLoopList
+ syn region shRepeat   matchgroup=shLoop   start="\<until\_s" end="\<do\>"me=e-2               contains=@shLoopList
 endif
 syn region shCurlyIn   contained       matchgroup=Delimiter start="{" end="}" contains=@shCurlyList
 syn match  shComma     contained       ","
 
 " Case: case...esac {{{1
 " ====
-syn match   shCaseBar  contained skipwhite "[^|"`'()]\{-}|"hs=e                nextgroup=shCase,shCaseStart,shCaseBar,shComment,shCaseExSingleQuote,shCaseSingleQuote,shCaseDoubleQuote
+syn match   shCaseBar  contained skipwhite "\(^\|[^\\]\)\(\\\\\)*\zs|"         nextgroup=shCase,shCaseStart,shCaseBar,shComment,shCaseExSingleQuote,shCaseSingleQuote,shCaseDoubleQuote
 syn match   shCaseStart        contained skipwhite skipnl "("                  nextgroup=shCase,shCaseBar
-syn region  shCase     contained skipwhite skipnl matchgroup=shSnglCase start="\([^#$()'" \t]\|\\.\)\{-})"ms=s,hs=e  end=";;" end="esac"me=s-1 contains=@shCaseList nextgroup=shCaseStart,shCase,shComment
-if g:sh_fold_enabled
+syn region  shCase     contained skipwhite skipnl matchgroup=shSnglCase start="\%(\\.\|[^#$()'" \t]\)\{-}\zs)"  end=";;" end="esac"me=s-1 contains=@shCaseList nextgroup=shCaseStart,shCase,shComment
+if (g:sh_fold_enabled % (s:sh_fold_ifdofor * 2))/s:sh_fold_ifdofor
  syn region  shCaseEsac        fold matchgroup=shConditional start="\<case\>" end="\<esac\>"   contains=@shCaseEsacList
 else
  syn region  shCaseEsac        matchgroup=shConditional start="\<case\>" end="\<esac\>"        contains=@shCaseEsacList
@@ -206,7 +215,6 @@ endif
 syn keyword shCaseIn   contained skipwhite skipnl in                   nextgroup=shCase,shCaseStart,shCaseBar,shComment,shCaseExSingleQuote,shCaseSingleQuote,shCaseDoubleQuote
 if exists("b:is_bash")
  syn region  shCaseExSingleQuote       matchgroup=shOperator start=+\$'+ skip=+\\\\\|\\.+ end=+'+      contains=shStringSpecial,shSpecial      skipwhite skipnl nextgroup=shCaseBar    contained
- syn region  shCaseExDoubleQuote       matchgroup=shOperator start=+\$"+ skip=+\\\\\|\\.+ end=+"+      contains=shStringSpecial,shSpecial,shCommandSub,shDeref skipwhite skipnl nextgroup=shCaseBar    contained
 else
  syn region  shCaseExSingleQuote       matchgroup=Error start=+\$'+ skip=+\\\\\|\\.+ end=+'+   contains=shStringSpecial        skipwhite skipnl nextgroup=shCaseBar    contained
 endif
@@ -218,6 +226,7 @@ syn region  shCaseCommandSub        start=+`+ skip=+\\\\\|\\.+ end=+`+              contains=@shCom
 "======
 syn match   shWrapLineOperator "\\$"
 syn region  shCommandSub   start="`" skip="\\\\\|\\." end="`" contains=@shCommandSubList
+syn match   shEscape   contained       '\\.'
 
 " $() and $(()): {{{1
 " $(..) is not supported by sh (Bourne shell).  However, apparently
@@ -227,7 +236,7 @@ syn region  shCommandSub   start="`" skip="\\\\\|\\." end="`" contains=@shComman
 " an Error under /bin/sh.  By consensus of vimdev'ers!
 if exists("b:is_kornshell") || exists("b:is_bash")
  syn region shCommandSub matchgroup=shCmdSubRegion start="\$("  skip='\\\\\|\\.' end=")"  contains=@shCommandSubList
- syn region shArithmetic matchgroup=shArithRegion  start="\$((" skip='\\\\\|\\.' end="))" contains=@shCommandSubList
+ syn region shArithmetic matchgroup=shArithRegion  start="\$((" skip='\\\\\|\\.' end="))" contains=@shArithList
  syn match  shSkipInitWS contained     "^\s\+"
 else
  syn region shCommandSub matchgroup=Error start="\$(" end=")" contains=@shCommandSubList
@@ -261,7 +270,6 @@ if exists("b:is_bash")
 endif
 if exists("b:is_bash")
  syn region  shExSingleQuote   matchgroup=shOperator start=+\$'+ skip=+\\\\\|\\.+ end=+'+      contains=shStringSpecial,shSpecial
- syn region  shExDoubleQuote   matchgroup=shOperator start=+\$"+ skip=+\\\\\|\\.+ end=+"+      contains=shStringSpecial,shSpecial,shCommandSub,shDeref
 else
  syn region  shExSingleQuote   matchGroup=Error start=+\$'+ skip=+\\\\\|\\.+ end=+'+   contains=shStringSpecial
 endif
@@ -277,7 +285,8 @@ syn match   shSpecial       "^\%(\\\\\)*\\[\\"'`$()#]"
 syn cluster    shCommentGroup  contains=shTodo,@Spell
 syn keyword    shTodo  contained       COMBAK FIXME TODO XXX
 syn match      shComment       "^\s*\zs#.*$"   contains=@shCommentGroup
-syn match      shComment       "#.*$"  contains=@shCommentGroup
+syn match      shComment       "\s\zs#.*$"     contains=@shCommentGroup
+syn match      shQuickComment  contained       "#.*$"
 
 " Here Documents: {{{1
 " =========================================
@@ -289,7 +298,7 @@ if version < 600
  syn region shHereDoc matchgroup=shRedir start="<<\s*\**\.\**" matchgroup=shRedir      end="^\.$"      contains=@shDblQuoteList
  syn region shHereDoc matchgroup=shRedir start="<<-\s*\**\.\**"        matchgroup=shRedir      end="^\s*\.$"   contains=@shDblQuoteList
 
-elseif g:sh_fold_enabled
+elseif (g:sh_fold_enabled % (s:sh_fold_heredoc * 2))/s:sh_fold_heredoc
  syn region shHereDoc matchgroup=shRedir fold start="<<\s*\z(\S*\)"            matchgroup=shRedir end="^\z1\s*$"       contains=@shDblQuoteList
  syn region shHereDoc matchgroup=shRedir fold start="<<\s*\"\z(\S*\)\""                matchgroup=shRedir end="^\z1\s*$"
  syn region shHereDoc matchgroup=shRedir fold start="<<\s*'\z(\S*\)'"          matchgroup=shRedir end="^\z1\s*$"
@@ -328,32 +337,40 @@ endif
 
 " Identifiers: {{{1
 "=============
-syn match  shVariable "\<\([bwglsav]:\)\=[a-zA-Z0-9.!@_%+,]*\ze="      nextgroup=shSetIdentifier
-syn match  shIdWhiteSpace  contained   "\s"
-syn match  shSetIdentifier contained   "="     nextgroup=shPattern,shDeref,shDerefSimple,shDoubleQuote,shSingleQuote,shExSingleQuote
+syn match  shSetOption "\s\zs[-+][a-zA-Z0-9]\+\>"      contained
+syn match  shVariable  "\<\([bwglsav]:\)\=[a-zA-Z0-9.!@_%+,]*\ze="     nextgroup=shSetIdentifier
+syn match  shSetIdentifier     "="             contained       nextgroup=shPattern,shDeref,shDerefSimple,shDoubleQuote,shSingleQuote,shExSingleQuote
 if exists("b:is_bash")
-  syn region shSetList matchgroup=shSet start="\<\(declare\|typeset\|local\|export\|unset\)\>\ze[^/]" end="$"  matchgroup=shOperator end="\ze[|);&]"me=e-1 matchgroup=NONE end="#\|="me=e-1 contains=@shIdList
-  syn region shSetList matchgroup=shSet start="\<set\>[^/]"me=e-1 end="$" end="\\ze[|)]"               matchgroup=shOperator end="\ze[|);&]"me=e-1 matchgroup=NONE end="[#=]"me=e-1 contains=@shIdList
-  syn match  shSet "\<\(declare\|typeset\|local\|export\|set\|unset\)\>"
+ syn region shSetList oneline matchgroup=shSet start="\<\(declare\|typeset\|local\|export\|unset\)\>\ze[^/]" end="$"   matchgroup=shOperator end="\ze[}|);&]" matchgroup=NONE end="\ze#\|=" contains=@shIdList
+ syn region shSetList oneline matchgroup=shSet start="\<set\>\ze[^/]" end="\ze[;|)]\|$"                        matchgroup=shOperator end="\ze[}|);&]" matchgroup=NONE end="\ze[#=]" contains=@shIdList
 elseif exists("b:is_kornshell")
-  syn region shSetList matchgroup=shSet start="\<\(typeset\|export\|unset\)\>\ze[^/]" end="$"          matchgroup=shOperator end="\ze[|);&]"me=e-1 matchgroup=NONE end="[#=]"me=e-1 contains=@shIdList
-  syn region shSetList matchgroup=shSet start="\<set\>\ze[^/]" end="$\|\ze[})]"                        matchgroup=shOperator end="\ze[|);&]"me=e-1 matchgroup=NONE end="[#=]"me=e-1 contains=@shIdList
-  syn match  shSet "\<\(typeset\|set\|export\|unset\)\>"
+ syn region shSetList oneline matchgroup=shSet start="\<\(typeset\|export\|unset\)\>\ze[^/]" end="$"           matchgroup=shOperator end="\ze[}|);&]" matchgroup=NONE end="\ze[#=]" contains=@shIdList
+ syn region shSetList oneline matchgroup=shSet start="\<set\>\ze[^/]" end="$"                          matchgroup=shOperator end="\ze[}|);&]" matchgroup=NONE end="\ze[#=]" contains=@shIdList
 else
-  syn region shSetList matchgroup=shSet start="\<\(set\|export\|unset\)\>\ze[^/]" end="$\|\ze[|)]"     matchgroup=shOperator end="\ze[|);&]" matchgroup=NONE end="[#=]"me=e-1 contains=@shIdList
-  syn match  shStatement "\<\(set\|export\|unset\)\>"
+ syn region shSetList oneline matchgroup=shSet start="\<\(set\|export\|unset\)\>\ze[^/]" end="$"               matchgroup=shOperator end="\ze[}|);&]" matchgroup=NONE end="\ze[#=]" contains=@shIdList
 endif
 
 " Functions: {{{1
-syn keyword shFunctionKey function     skipwhite skipnl nextgroup=shFunctionTwo
-" COMBAK -- look at bash09.  function foo() (line#35) is folding 38 lines.  Not being terminated properly
-"syn match   shFunctionStart   "{"     contained
-if g:sh_fold_enabled
- syn region shFunctionOne transparent fold     start="^\s*\h\w*\s*()\_s*\ze{"    matchgroup=shFunctionStart end="}"    contains=@shFunctionList                        skipwhite skipnl nextgroup=shFunctionStart
- syn region shFunctionTwo transparent fold     start="\h\w*\s*\%(()\)\=\_s*\ze{" matchgroup=shFunctionStart end="}"    contains=shFunctionKey,@shFunctionList contained        skipwhite skipnl nextgroup=shFunctionStart
+if !exists("g:is_posix")
+ syn keyword shFunctionKey function    skipwhite skipnl nextgroup=shFunctionTwo
+endif
+
+if exists("b:is_bash")
+ if (g:sh_fold_enabled % (s:sh_fold_functions * 2))/s:sh_fold_functions
+  syn region shFunctionOne fold        matchgroup=shFunction start="^\s*\h[-a-zA-Z_0-9]*\s*()\_s*{" end="}"    contains=@shFunctionList                        skipwhite skipnl nextgroup=shFunctionStart,shQuickComment
+  syn region shFunctionTwo fold        matchgroup=shFunction start="\h[-a-zA-Z_0-9]*\s*\%(()\)\=\_s*{" end="}" contains=shFunctionKey,@shFunctionList contained        skipwhite skipnl nextgroup=shFunctionStart,shQuickComment
+ else
+  syn region shFunctionOne     matchgroup=shFunction start="^\s*\h[-a-zA-Z_0-9]*\s*()\_s*{"    end="}" contains=@shFunctionList
+  syn region shFunctionTwo     matchgroup=shFunction start="\h[-a-zA-Z_0-9]*\s*\%(()\)\=\_s*{" end="}" contains=shFunctionKey,@shFunctionList contained
+ endif
 else
- syn region shFunctionOne transparent  start="^\s*\h\w*\s*()\_s*\ze{"    matchgroup=shFunctionStart end="}"    contains=@shFunctionList
- syn region shFunctionTwo transparent  start="\h\w*\s*\%(()\)\=\_s*\ze{" matchgroup=shFunctionStart end="}"    contains=shFunctionKey,@shFunctionList contained
+ if (g:sh_fold_enabled % (s:sh_fold_functions * 2))/s:sh_fold_functions
+  syn region shFunctionOne fold        matchgroup=shFunction start="^\s*\h\w*\s*()\_s*{" end="}"       contains=@shFunctionList                        skipwhite skipnl nextgroup=shFunctionStart,shQuickComment
+  syn region shFunctionTwo fold        matchgroup=shFunction start="\h\w*\s*\%(()\)\=\_s*{"    end="}" contains=shFunctionKey,@shFunctionList contained        skipwhite skipnl nextgroup=shFunctionStart,shQuickComment
+ else
+  syn region shFunctionOne     matchgroup=shFunction start="^\s*\h\w*\s*()\_s*{"       end="}" contains=@shFunctionList
+  syn region shFunctionTwo     matchgroup=shFunction start="\h\w*\s*\%(()\)\=\_s*{"    end="}" contains=shFunctionKey,@shFunctionList contained
+ endif
 endif
 
 " Parameter Dereferencing: {{{1
@@ -365,6 +382,7 @@ syn match  shDerefSimple    "\$[-#*@!?]"
 syn match  shDerefSimple       "\$\$"
 if exists("b:is_bash") || exists("b:is_kornshell")
  syn region shDeref    matchgroup=PreProc start="\${##\=" end="}"      contains=@shDerefList
+ syn region shDeref    matchgroup=PreProc start="\${\$\$" end="}"      contains=@shDerefList
 endif
 
 " bash: ${!prefix*} and ${#parameter}: {{{1
@@ -401,9 +419,9 @@ if exists("b:is_bash") || exists("b:is_kornshell")
  syn region shDerefPattern     contained       start="{" end="}"       contains=shDeref,shDerefSimple,shDerefString,shCommandSub nextgroup=shDerefPattern
  syn match  shDerefEscape      contained       '\%(\\\\\)*\\.'
 endif
-syn region shDerefString       contained       matchgroup=shOperator start=+'+ end=+'+         contains=shStringSpecial
-syn region shDerefString       contained       matchgroup=shOperator start=+"+ skip=+\\"+ end=+"+      contains=@shDblQuoteList,shStringSpecial
-syn match  shDerefString       contained       "\\["']"
+syn region shDerefString       contained       matchgroup=shOperator start=+\%(\\\)\@<!'+ end=+'+              contains=shStringSpecial
+syn region shDerefString       contained       matchgroup=shOperator start=+\%(\\\)\@<!"+ skip=+\\"+ end=+"+   contains=@shDblQuoteList,shStringSpecial
+syn match  shDerefString       contained       "\\["']"        nextgroup=shDerefPattern
 
 if exists("b:is_bash")
  " bash : ${parameter:offset}
@@ -418,6 +436,9 @@ if exists("b:is_bash")
  syn region shDerefPPSright    contained       start='.'       end='\ze}'      contains=@shCommandSubList
 endif
 
+" Arithmetic Parenthesized Expressions: {{{1
+syn region shParen matchgroup=shArithRegion start='(\ze[^(]' end=')' contains=@shArithParenList
+
 " Useful sh Keywords: {{{1
 " ===================
 syn keyword shStatement break cd chdir continue eval exec exit kill newgrp pwd read readonly return shift test trap ulimit umask wait
@@ -427,7 +448,12 @@ syn keyword shCondError elif else then
 " Useful ksh Keywords: {{{1
 " ====================
 if exists("b:is_kornshell") || exists("b:is_bash")
- syn keyword shStatement autoload bg false fc fg functions getopts hash history integer jobs let nohup print printf r stop suspend time times true type unalias whence
+ syn keyword shStatement autoload bg false fc fg functions getopts hash history integer jobs let nohup print printf r stop suspend times true type unalias whence
+ if exists("g:is_posix")
+  syn keyword shStatement command
+ else
+  syn keyword shStatement time
+ endif
 
 " Useful bash Keywords: {{{1
 " =====================
@@ -467,7 +493,6 @@ hi def link shCaseCommandSub        shCommandSub
 hi def link shCaseDoubleQuote  shDoubleQuote
 hi def link shCaseIn   shConditional
 hi def link shCaseSingleQuote  shSingleQuote
-hi def link shCaseDoubleQuote  shSingleQuote
 hi def link shCaseStart        shConditional
 hi def link shCmdSubRegion     shShellVariables
 hi def link shColon    shStatement
@@ -481,18 +506,22 @@ hi def link shDerefString shDoubleQuote
 hi def link shDerefVar shDeref
 hi def link shDoubleQuote      shString
 hi def link shEcho     shString
+hi def link shEchoQuote        shString
 hi def link shEmbeddedEcho     shString
+hi def link shEscape   shCommandSub
 hi def link shExSingleQuote    shSingleQuote
-hi def link shExDoubleQuote    shSingleQuote
-hi def link shFunctionStart    Delimiter
+hi def link shFunction Function
 hi def link shHereDoc  shString
 hi def link shHerePayload      shHereDoc
 hi def link shLoop     shStatement
 hi def link shOption   shCommandSub
 hi def link shPattern  shString
+hi def link shParen    shArithmetic
 hi def link shPosnParm shShellVariables
+hi def link shQuickComment     shComment
 hi def link shRange    shOperator
 hi def link shRedir    shOperator
+hi def link shSetOption        shOption
 hi def link shSingleQuote      shString
 hi def link shSource   shOperator
 hi def link shStringSpecial    shSpecial
index bbf31f7a719bc6b265d193043f3a1b706654c2c8..c220f9de24168ae98379765d841bc95d6bd3b921 100644 (file)
@@ -1,8 +1,8 @@
 " Vim syntax file
-" Language:    Vim 7.1 script
+" Language:    Vim 7.2 script
 " Maintainer:  Dr. Charles E. Campbell, Jr. <NdrOchipS@PcampbellAfamily.Mbiz>
-" Last Change: Apr 08, 2008
-" Version:     7.1-77
+" Last Change: Jul 10, 2008
+" Version:     7.2-79+
 " Automatically generated keyword lists: {{{1
 
 " Quit when a syntax file was already loaded {{{2
@@ -25,12 +25,12 @@ syn match   vimCommand contained    "\<z[-+^.=]"
 
 " vimOptions are caught only when contained in a vimSet {{{2
 syn keyword vimOption contained        acd ambiwidth arabicshape autowriteall backupdir bdlay binary breakat bufhidden cdpath cin cinwords columns completeopt cpo cscopetagorder csverb deco dictionary directory ed encoding errorfile exrc fdls fencs fileformats fmr foldlevel foldtext fsync gfs gtl guioptions hf hk hlsearch imak ims indentexpr is isp keywordprg lazyredraw lispwords ls makeef maxmapdepth mfd mmd modified mousemodel msm numberwidth operatorfunc pastetoggle pexpr pmbfn printexpr pt readonly rightleft rtp sb scroll sect sessionoptions shellpipe shellxquote showbreak shq slm smd spc spf sr sta sts swapfile sxq tabpagemax tags tbis terse thesaurus titleold toolbariconsize tsr ttyfast tx ut verbosefile virtualedit wb wfw wildcharm winaltkeys winminwidth wmnu write
-syn keyword vimOption contained        ai ambw ari aw backupext beval biosk brk buflisted cedit cindent clipboard com confirm cpoptions cscopeverbose cuc def diff display edcompatible endofline errorformat fcl fdm fex filetype fo foldlevelstart formatexpr ft gfw gtt guipty hh hkmap ic imc imsearch indentkeys isf isprint km lbr list lsp makeprg maxmem mh mmp more mouses mzq nuw opfunc patchexpr pfn popt printfont pumheight remap rightleftcmd ru sbo scrollbind sections sft shellquote shiftround showcmd si sm sn spell spl srr stal su swapsync syn tabstop tagstack tbs textauto tildeop titlestring top ttimeout ttym uc vb vfile visualbell wc wh wildignore window winwidth wmw writeany
-syn keyword vimOption contained        akm anti arshape awa backupskip bex bioskey browsedir buftype cf cink cmdheight comments consk cpt cspc cul define diffexpr dy ef eol esckeys fcs fdn ff fillchars foldclose foldmarker formatlistpat gcr ghr guicursor guitablabel hi hkmapp icon imcmdline inc indk isfname joinspaces kmp lcs listchars lw mat maxmempattern mis mmt mouse mouseshape mzquantum odev osfiletype patchmode ph preserveindent printheader pvh report rl ruf sbr scrolljump secure sh shellredir shiftwidth showfulltag sidescroll smartcase so spellcapcheck splitbelow ss startofline sua swb synmaxcol tag tal tenc textmode timeout tl tpm ttimeoutlen ttymouse ul vbs vi vop wcm whichwrap wildmenu winfixheight wiv wop writebackup
-syn keyword vimOption contained        al antialias autochdir background balloondelay bexpr bk bs casemap cfu cinkeys cmdwinheight commentstring conskey cscopepathcomp csprg cursorcolumn delcombine diffopt ea efm ep et fdc fdo ffs fk foldcolumn foldmethod formatoptions gd go guifont guitabtooltip hid hkp iconstring imd include inex isi js kp linebreak lm lz matchpairs maxmemtot mkspellmem mod mousef mouset nf oft pa path pheader previewheight printmbcharset pvw restorescreen rlc ruler sc scrolloff sel shcf shellslash shm showmatch sidescrolloff smartindent softtabstop spellfile splitright ssl statusline suffixes swf syntax tagbsearch tb term textwidth timeoutlen tm tr ttm ttyscroll undolevels vdir viewdir wa wd wi wildmode winfixwidth wiw wrap writedelay
-syn keyword vimOption contained        aleph ar autoindent backspace ballooneval bg bkc bsdir cb ch cino cmp compatible copyindent cscopeprg csqf cursorline dex digraph ead ei equalalways eventignore fde fdt fileencoding fkmap foldenable foldminlines formatprg gdefault gp guifontset helpfile hidden hl ignorecase imdisable includeexpr inf isident key langmap lines lmap ma matchtime mco ml modeline mousefocus mousetime nrformats ofu para pdev pi previewwindow printmbfont qe revins ro rulerformat scb scrollopt selection shell shelltemp shortmess showmode siso smarttab sol spelllang spr ssop stl suffixesadd switchbuf ta taglength tbi termbidi tf title to ts tty ttytype updatecount ve viewoptions wak weirdinvert wig wildoptions winheight wm wrapmargin ws
-syn keyword vimOption contained        allowrevins arab autoread backup balloonexpr bh bl bsk ccv charconvert cinoptions cms complete cot cscopequickfix cst cwh dg dip eadirection ek equalprg ex fdi fen fileencodings flp foldexpr foldnestmax fp gfm grepformat guifontwide helpheight highlight hlg im imi incsearch infercase isk keymap langmenu linespace loadplugins macatsui maxcombine mef mls modelines mousehide mp nu omnifunc paragraphs penc pm printdevice printoptions quoteescape ri rs runtimepath scr scs selectmode shellcmdflag shelltype shortname showtabline sj smc sp spellsuggest sps st stmp sw sws tabline tagrelative tbidi termencoding tgst titlelen toolbar tsl ttybuiltin tw updatetime verbose viminfo warn wfh wildchar wim winminheight wmh wrapscan ww
-syn keyword vimOption contained        altkeymap arabic autowrite backupcopy bdir bin bomb bt cd ci cinw co completefunc cp cscopetag csto debug dict dir eb enc errorbells expandtab fdl fenc fileformat fml foldignore foldopen fs gfn grepprg guiheadroom helplang history hls imactivatekey iminsert inde insertmode iskeyword keymodel laststatus lisp lpl magic maxfuncdepth menuitems mm modifiable mousem mps number opendevice paste pex pmbcs printencoding prompt 
+syn keyword vimOption contained        ai ambw ari aw backupext beval biosk brk buflisted cedit cindent clipboard com confirm cpoptions cscopeverbose cuc def diff display edcompatible endofline errorformat fcl fdm fex filetype fo foldlevelstart formatexpr ft gfw gtt guipty hh hkmap ic imc imsearch indentkeys isf isprint km lbr list lsp makeprg maxmem mh mmp more mouses mzq nuw opfunc patchexpr pfn popt printfont pumheight redrawtime rightleftcmd ru sbo scrollbind sections sft shellquote shiftround showcmd si sm sn spell spl srr stal su swapsync syn tabstop tagstack tbs textauto tildeop titlestring top ttimeout ttym uc vb vfile visualbell wc wh wildignore window winwidth wmw writeany
+syn keyword vimOption contained        akm anti arshape awa backupskip bex bioskey browsedir buftype cf cink cmdheight comments consk cpt cspc cul define diffexpr dy ef eol esckeys fcs fdn ff fillchars foldclose foldmarker formatlistpat gcr ghr guicursor guitablabel hi hkmapp icon imcmdline inc indk isfname joinspaces kmp lcs listchars lw mat maxmempattern mis mmt mouse mouseshape mzquantum odev osfiletype patchmode ph preserveindent printheader pvh remap rl ruf sbr scrolljump secure sh shellredir shiftwidth showfulltag sidescroll smartcase so spellcapcheck splitbelow ss startofline sua swb synmaxcol tag tal tenc textmode timeout tl tpm ttimeoutlen ttymouse ul vbs vi vop wcm whichwrap wildmenu winfixheight wiv wop writebackup
+syn keyword vimOption contained        al antialias autochdir background balloondelay bexpr bk bs casemap cfu cinkeys cmdwinheight commentstring conskey cscopepathcomp csprg cursorcolumn delcombine diffopt ea efm ep et fdc fdo ffs fk foldcolumn foldmethod formatoptions gd go guifont guitabtooltip hid hkp iconstring imd include inex isi js kp linebreak lm lz matchpairs maxmemtot mkspellmem mod mousef mouset nf oft pa path pheader previewheight printmbcharset pvw report rlc ruler sc scrolloff sel shcf shellslash shm showmatch sidescrolloff smartindent softtabstop spellfile splitright ssl statusline suffixes swf syntax tagbsearch tb term textwidth timeoutlen tm tr ttm ttyscroll undolevels vdir viewdir wa wd wi wildmode winfixwidth wiw wrap writedelay
+syn keyword vimOption contained        aleph ar autoindent backspace ballooneval bg bkc bsdir cb ch cino cmp compatible copyindent cscopeprg csqf cursorline dex digraph ead ei equalalways eventignore fde fdt fileencoding fkmap foldenable foldminlines formatprg gdefault gp guifontset helpfile hidden hl ignorecase imdisable includeexpr inf isident key langmap lines lmap ma matchtime mco ml modeline mousefocus mousetime nrformats ofu para pdev pi previewwindow printmbfont qe restorescreen ro rulerformat scb scrollopt selection shell shelltemp shortmess showmode siso smarttab sol spelllang spr ssop stl suffixesadd switchbuf ta taglength tbi termbidi tf title to ts tty ttytype updatecount ve viewoptions wak weirdinvert wig wildoptions winheight wm wrapmargin ws
+syn keyword vimOption contained        allowrevins arab autoread backup balloonexpr bh bl bsk ccv charconvert cinoptions cms complete cot cscopequickfix cst cwh dg dip eadirection ek equalprg ex fdi fen fileencodings flp foldexpr foldnestmax fp gfm grepformat guifontwide helpheight highlight hlg im imi incsearch infercase isk keymap langmenu linespace loadplugins macatsui maxcombine mef mls modelines mousehide mp nu omnifunc paragraphs penc pm printdevice printoptions quoteescape revins rs runtimepath scr scs selectmode shellcmdflag shelltype shortname showtabline sj smc sp spellsuggest sps st stmp sw sws tabline tagrelative tbidi termencoding tgst titlelen toolbar tsl ttybuiltin tw updatetime verbose viminfo warn wfh wildchar wim winminheight wmh wrapscan ww
+syn keyword vimOption contained        altkeymap arabic autowrite backupcopy bdir bin bomb bt cd ci cinw co completefunc cp cscopetag csto debug dict dir eb enc errorbells expandtab fdl fenc fileformat fml foldignore foldopen fs gfn grepprg guiheadroom helplang history hls imactivatekey iminsert inde insertmode iskeyword keymodel laststatus lisp lpl magic maxfuncdepth menuitems mm modifiable mousem mps number opendevice paste pex pmbcs printencoding prompt rdt ri 
 
 " vimOptions: These are the turn-off setting variants {{{2
 syn keyword vimOption contained        noacd noallowrevins noantialias noarabic noarshape noautoread noaw noballooneval nobinary nobk nobuflisted nocin noconfirm nocopyindent nocscopeverbose nocuc nocursorline nodg nodisable noeb noedcompatible noendofline noequalalways noesckeys noex noexrc nofk nofoldenable nogdefault nohid nohk nohkmapp nohls noic noignorecase noimc noimd noinf noinsertmode nojoinspaces nolazyredraw nolinebreak nolist nolpl noma nomagic noml nomodeline nomodified nomousef nomousehide nonumber noopendevice nopi nopreviewwindow nopvw noremap norevins norightleft norl noro noru nosb noscb noscs nosft noshelltemp noshortname noshowfulltag noshowmode nosm nosmartindent nosmd nosol nosplitbelow nospr nossl nostartofline noswapfile nota notagrelative notbi notbs noterse notextmode notgst notimeout noto notr nottybuiltin notx novisualbell nowarn noweirdinvert nowfw nowinfixheight nowiv nowrap nowrite nowritebackup
@@ -70,9 +70,9 @@ syn match vimHLGroup contained        "Conceal"
 syn case match
 
 " Function Names {{{2
-syn keyword vimFuncName contained      add argidx browsedir bufloaded bufwinnr call cindent complete confirm cscope_connection delete diff_hlID eval exists expr8 feedkeys filewritable finddir fnamemodify foldclosedend foldtext foreground garbagecollect getbufline getchar getcmdline getcmdtype getfontname getfsize getftype getloclist getpos getreg gettabwinvar getwinposy glob has haslocaldir histadd histget hlexists hostname indent input inputlist inputsave insert islocked join len libcallnr line2byte localtime maparg match matcharg matchend matchstr min mode nr2char prevnonblank pumvisible readfile reltimestr remote_foreground remote_read remove repeat reverse searchdecl searchpairpos server2client setbufvar setline setmatches setqflist settabwinvar shellescape sort spellbadword split strftime string strpart strtrans substitute synIDattr system tabpagenr tagfiles tempname toupper type virtcol winbufnr winheight winnr winrestview winwidth
-syn keyword vimFuncName contained      append argv bufexists bufname byte2line changenr clearmatches complete_add copy cursor did_filetype empty eventhandler expand extend filereadable filter findfile foldclosed foldlevel foldtextresult function get getbufvar getcharmod getcmdpos getcwd getfperm getftime getline getmatches getqflist getregtype getwinposx getwinvar globpath has_key hasmapto histdel histnr hlID iconv index inputdialog inputrestore inputsecret isdirectory items keys libcall line lispindent map mapcheck matchadd matchdelete matchlist max mkdir nextnonblank pathshorten printf range reltime remote_expr remote_peek remote_send rename resolve search searchpair searchpos serverlist setcmdpos setloclist setpos setreg setwinvar simplify soundfold spellsuggest str2nr stridx strlen strridx submatch synID synIDtrans tabpagebuflist tabpagewinnr taglist tolower tr values visualmode wincol winline winrestcmd winsaveview writefile
-syn keyword vimFuncName contained      argc browse buflisted bufnr byteidx char2nr col complete_check count deepcopy diff_filler escape executabl
+syn keyword vimFuncName contained      abs argc atan bufexists bufname byte2line ceil cindent complete confirm count deepcopy diff_filler escape executable expr8 filereadable finddir floor foldclosed foldtext function getbufline getcharmod getcmdtype getfperm getftype getmatches getqflist gettabwinvar getwinposy glob has haslocaldir histadd histget hlexists hostname indent input inputlist inputsave insert islocked join len libcallnr line2byte localtime map mapcheck matchadd matchdelete matchlist max mkdir nextnonblank pathshorten prevnonblank pumvisible readfile reltimestr remote_foreground remote_read remove repeat reverse search searchpair searchpos serverlist setcmdpos setloclist setpos setreg setwinvar simplify sort spellbadword split str2float strftime string strpart strtrans substitute synIDattr synstack tabpagebuflist tabpagewinnr taglist tolower tr type virtcol winbufnr winheight winnr winrestview winwidth
+syn keyword vimFuncName contained      add argidx browse buflisted bufnr byteidx changenr clearmatches complete_add copy cscope_connection delete diff_hlID eval exists extend filewritable findfile fnameescape foldclosedend foldtextresult garbagecollect getbufvar getcmdline getcwd getfsize getline getpid getreg getwinposx getwinvar globpath has_key hasmapto histdel histnr hlID iconv index inputdialog inputrestore inputsecret isdirectory items keys libcall line lispindent log10 maparg match matcharg matchend matchstr min mode nr2char pow printf range reltime remote_expr remote_peek remote_send rename resolve round searchdecl searchpairpos server2client setbufvar setline setmatches setqflist settabwinvar shellescape sin soundfold spellsuggest sqrt str2nr stridx strlen strridx submatch synID synIDtrans system tabpagenr tagfiles tempname toupper trunc values visualmode wincol winline winrestcmd winsaveview writefile
+syn keyword vimFuncName contained      append argv browsedir bufloaded bufwinnr call char2nr col complete_check cos cursor did_filetype empty eventhandler expand feedkeys filter float2nr fnamemodify foldlevel foreground get getchar getcmdpos getfontname getftime getloclist getpos getregtyp
 
 "--- syntax above generated by mkvimvim ---
 " Special Vim Highlighting (not automatic) {{{1
@@ -157,7 +157,7 @@ syn cluster vimFuncBodyList contains=vimAddress,vimAutoCmd,vimCmplxRepeat,vimCom
 if !exists("g:vimsyn_noerror")
  syn match   vimFunctionError  "\<fu\%[nction]!\=\s\+\zs\U\i\{-}\ze\s*("                       contains=vimFuncKey,vimFuncBlank nextgroup=vimFuncBody
 endif
-syn match   vimFunction        "\<fu\%[nction]!\=\s\+\(\(<[sS][iI][dD]>\|[Ss]:\|\u\|\i\+#\)\i*\|g:\(\I\i*\.\)\+\I\i*\)\ze\s*(" contains=@vimFuncList nextgroup=vimFuncBody
+syn match   vimFunction        "\<fu\%[nction]!\=\s\+\(\(<[sS][iI][dD]>\|[Ss]:\|\u\|\i\+#\)\i*\|\(g:\)\=\(\I\i*\.\)\+\I\i*\)\ze\s*("   contains=@vimFuncList nextgroup=vimFuncBody
 if exists("g:vimsyn_folding") && g:vimsyn_folding =~ 'f'
  syn region  vimFuncBody  contained    fold start="\ze("       matchgroup=vimCommand end="\<\(endf\>\|endfu\%[nction]\>\)"             contains=@vimFuncBodyList
 else                                                                                                          
@@ -547,6 +547,9 @@ if (g:vimsyn_embed =~ 'p' && has("perl")) && filereadable(expand("<sfile>:p:h").
   syn region vimPerlRegion matchgroup=vimScriptDelim start=+pe\%[rl]\s*<<\s*\z(.*\)$+ end=+^\z1$+ contains=@vimPerlScript
   syn region vimPerlRegion matchgroup=vimScriptDelim start=+pe\%[rl]\s*<<\s*$+ end=+\.$+ contains=@vimPerlScript
  endif
+else
+ syn region vimEmbedError start=+pe\%[rl]\s*<<\s*\z(.*\)$+ end=+^\z1$+
+ syn region vimEmbedError start=+pe\%[rl]\s*<<\s*$+ end=+\.$+
 endif
 
 " [-- ruby --] {{{3
@@ -556,9 +559,12 @@ if (g:vimsyn_embed =~ 'r' && has("ruby")) && filereadable(expand("<sfile>:p:h").
  if exists("g:vimsyn_folding") && g:vimsyn_folding =~ 'r'
   syn region vimRubyRegion fold matchgroup=vimScriptDelim start=+rub[y]\s*<<\s*\z(.*\)$+ end=+^\z1$+ contains=@vimRubyScript
  else
-  syn region vimRubyRegion fold matchgroup=vimScriptDelim start=+rub[y]\s*<<\s*\z(.*\)$+ end=+^\z1$+ contains=@vimRubyScript
+  syn region vimRubyRegion matchgroup=vimScriptDelim start=+rub[y]\s*<<\s*\z(.*\)$+ end=+^\z1$+ contains=@vimRubyScript
  endif
  syn region vimRubyRegion matchgroup=vimScriptDelim start=+rub[y]\s*<<\s*$+ end=+\.$+ contains=@vimRubyScript
+else
+ syn region vimEmbedError start=+rub[y]\s*<<\s*\z(.*\)$+ end=+^\z1$+
+ syn region vimEmbedError start=+rub[y]\s*<<\s*$+ end=+\.$+
 endif
 
 " [-- python --] {{{3
@@ -572,6 +578,9 @@ if (g:vimsyn_embed =~ 'P' && has("python")) && filereadable(expand("<sfile>:p:h"
   syn region vimPythonRegion matchgroup=vimScriptDelim start=+py\%[thon]\s*<<\s*\z(.*\)$+ end=+^\z1$+ contains=@vimPythonScript
   syn region vimPythonRegion matchgroup=vimScriptDelim start=+py\%[thon]\s*<<\s*$+ end=+\.$+ contains=@vimPythonScript
  endif
+else
+ syn region vimEmbedError start=+py\%[thon]\s*<<\s*\z(.*\)$+ end=+^\z1$+
+ syn region vimEmbedError start=+py\%[thon]\s*<<\s*$+ end=+\.$+
 endif
 
 " [-- tcl --] {{{3
@@ -593,6 +602,9 @@ if trytcl
    syn region vimTclRegion matchgroup=vimScriptDelim start=+tc[l]\=\s*<<\s*$+ end=+\.$+ contains=@vimTclScript
   endif
  endif
+else
+ syn region vimEmbedError start=+tc[l]\=\s*<<\s*\z(.*\)$+ end=+^\z1$+
+ syn region vimEmbedError start=+tc[l]\=\s*<<\s*$+ end=+\.$+
 endif
 unlet trytcl
 
@@ -602,13 +614,16 @@ if (g:vimsyn_embed =~ 'm' && has("mzscheme")) && filereadable(expand("<sfile>:p:
  let iskKeep= &isk
  syn include @vimMzSchemeScript <sfile>:p:h/scheme.vim
  let &isk= iskKeep
- if exists("g:vimsyn_folding") && g:vimsyn_folding =~ 't'
+ if exists("g:vimsyn_folding") && g:vimsyn_folding =~ 'm'
   syn region vimMzSchemeRegion fold matchgroup=vimScriptDelim start=+mz\%[scheme]\s*<<\s*\z(.*\)$+ end=+^\z1$+ contains=@vimMzSchemeScript
   syn region vimMzSchemeRegion fold matchgroup=vimScriptDelim start=+mz\%[scheme]\s*<<\s*$+ end=+\.$+ contains=@vimMzSchemeScript
  else
   syn region vimMzSchemeRegion matchgroup=vimScriptDelim start=+mz\%[scheme]\s*<<\s*\z(.*\)$+ end=+^\z1$+ contains=@vimMzSchemeScript
   syn region vimMzSchemeRegion matchgroup=vimScriptDelim start=+mz\%[scheme]\s*<<\s*$+ end=+\.$+ contains=@vimMzSchemeScript
  endif
+else
+ syn region vimEmbedError start=+mz\%[scheme]\s*<<\s*\z(.*\)$+ end=+^\z1$+
+ syn region vimEmbedError start=+mz\%[scheme]\s*<<\s*$+ end=+\.$+
 endif
 
 " Synchronize (speed) {{{2
@@ -635,6 +650,7 @@ if !exists("g:vimsyn_noerror")
  hi def link vimBehaveError    vimError
  hi def link vimCollClassErr   vimError
  hi def link vimErrSetting     vimError
+ hi def link vimEmbedError     vimError
  hi def link vimFTError        vimError
  hi def link vimFunctionError  vimError
  hi def link vimFunc           vimError
index 7f39f3894027767e8b6802daadb6078db8092c26..4ae5355e9170218f9af17a634ce8669e2d04461e 100644 (file)
@@ -142,12 +142,12 @@ UWAGA: Ucz si
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          Lekcja 1.6.: EDYCJA PLIKU
 
-
                  ** U¿yj  :wq  aby zapisaæ plik i wyj¶æ. **
 
    !! UWAGA: zanim wykonasz jakiekolwiek polecenia przeczyaj ca³± lekcjê !!
 
   1. Zakoñcz tutorial tak jak w lekcji 1.2.:  :q!
+     Lub je¶li masz dostêp do innego terminala zrób kolejne kroki tam.
 
   2. W pow³oce wydaj polecenie:  vim tutor<ENTER>
      "vim" jest poleceniem uruchamiaj±cym edytor Vim. 'tutor' to nazwa pliku
@@ -157,11 +157,11 @@ UWAGA: Ucz si
 
   4. Zapisz plik ze zmianami i opu¶æ Vima:  :wq<ENTER>
 
-  5. Uruchom ponownie vimtutor i przejd¼ do podsumowania lekcji.
+  5. Je¶li zakoñczy³e¶ vimtutor w kroku 1. uruchom go ponownie i przejd¼
+     do podsumowania poni¿ej.
 
   6. Po przeczytaniu wszystkich kroków i ich zrozumieniu: wykonaj je.
 
-
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                             LEKCJA 1. PODSUMOWANIE
 
index 2c62b75d1dd799bfd967ee8e94fac6f067f6396e..98971d014ac904aa869eea89e28a45767ebd0c72 100644 (file)
@@ -142,12 +142,12 @@ UWAGA: Ucz si
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          Lekcja 1.6.: EDYCJA PLIKU
 
-
                  ** U¿yj  :wq  aby zapisaæ plik i wyj\9cæ. **
 
    !! UWAGA: zanim wykonasz jakiekolwiek polecenia przeczyaj ca³¹ lekcjê !!
 
   1. Zakoñcz tutorial tak jak w lekcji 1.2.:  :q!
+     Lub je\9cli masz dostêp do innego terminala zrób kolejne kroki tam.
 
   2. W pow³oce wydaj polecenie:  vim tutor<ENTER>
      "vim" jest poleceniem uruchamiaj¹cym edytor Vim. 'tutor' to nazwa pliku
@@ -157,11 +157,11 @@ UWAGA: Ucz si
 
   4. Zapisz plik ze zmianami i opu\9cæ Vima:  :wq<ENTER>
 
-  5. Uruchom ponownie vimtutor i przejd\9f do podsumowania lekcji.
+  5. Je\9cli zakoñczy³e\9c vimtutor w kroku 1. uruchom go ponownie i przejd\9f
+     do podsumowania poni¿ej.
 
   6. Po przeczytaniu wszystkich kroków i ich zrozumieniu: wykonaj je.
 
-
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                             LEKCJA 1. PODSUMOWANIE
 
index 4590c4551c5a94a6e0db8083fe4540957e6dddcb..88f95d126b371ad3aa35949568a03e337730b12a 100644 (file)
@@ -142,12 +142,12 @@ UWAGA: Ucz się przez ćwiczenie, nie wkuwanie.
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          Lekcja 1.6.: EDYCJA PLIKU
 
-
                  ** Użyj  :wq  aby zapisać plik i wyjść. **
 
    !! UWAGA: zanim wykonasz jakiekolwiek polecenia przeczyaj całą lekcję !!
 
   1. Zakończ tutorial tak jak w lekcji 1.2.:  :q!
+     Lub jeśli masz dostęp do innego terminala zrób kolejne kroki tam.
 
   2. W powłoce wydaj polecenie:  vim tutor<ENTER>
      "vim" jest poleceniem uruchamiającym edytor Vim. 'tutor' to nazwa pliku
@@ -157,11 +157,11 @@ UWAGA: Ucz się przez ćwiczenie, nie wkuwanie.
 
   4. Zapisz plik ze zmianami i opuść Vima:  :wq<ENTER>
 
-  5. Uruchom ponownie vimtutor i przejdź do podsumowania lekcji.
+  5. Jeśli zakończyłeś vimtutor w kroku 1. uruchom go ponownie i przejdź
+     do podsumowania poniżej.
 
   6. Po przeczytaniu wszystkich kroków i ich zrozumieniu: wykonaj je.
 
-
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                             LEKCJA 1. PODSUMOWANIE
 
index a2a891c16745ae068ba3958af0c203265df182fa..2c0de3d8a67cb5092ddfb44244a58664102162ba 100644 (file)
@@ -1,7 +1,7 @@
 " An example for a vimrc file.
 "
 " Maintainer:  Bram Moolenaar <Bram@vim.org>
-" Last change: 2008 Jun 16
+" Last change: 2008 Jul 02
 "
 " To use it, copy it to
 "     for Unix and OS/2:  ~/.vimrc
@@ -42,7 +42,9 @@ map Q gq
 inoremap <C-U> <C-G>u<C-U>
 
 " In many terminal emulators the mouse works just fine, thus enable it.
-set mouse=a
+if has('mouse')
+  set mouse=a
+endif
 
 " Switch syntax highlighting on, when the terminal has colors
 " Also switch on highlighting the last used search pattern.
index 02b1747741aa0db7af918f55aa1b6e460d6d024c..7b7480eae8e2c5017c3dc1bca8bc6829b37bbd26 100644 (file)
@@ -15,6 +15,6 @@ REGEDIT4
 [HKEY_LOCAL_MACHINE\Software\Vim\Gvim]
    "path"="gvim.exe"
 
-[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Vim 7.2a]
-   "DisplayName"="Vim 7.2a: Edit with Vim popup menu entry"
+[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Vim 7.2b]
+   "DisplayName"="Vim 7.2b: Edit with Vim popup menu entry"
    "UninstallString"="uninstal.exe"
index 210d773a9431801770fd007cfbcf2f97fd44ff22..a4a992529686d6a231208576e82271c46577c646 100644 (file)
@@ -163,6 +163,16 @@ Add the "-posix" argument to the compiler by using one of these commands:
        export CC='cc -posix' (sh)
 And run configure with "--disable-motif-check".
 
+Unix: LOCAL HEADERS AND LIBRARIES NOT IN /usr/local
+
+Sometimes it is necessary to search different path than /usr/local for locally
+installed headers (/usr/local/include) and libraries (/usr/local/lib).
+To search /stranger/include and /stranger/lib for locally installed
+headers and libraries, use:
+       ./configure --with-local-dir=/stranger
+And to not search for locally installed headers and libraries at all, use:
+       ./configure --without-local-dir
+
 
 3. RISC OS
 =============
index a2ee9545fead0aa7d73a1937271fe8e90f9141ca..755ea3b50c5f74dcfdfef2deb521a026ad59a0a6 100644 (file)
@@ -27,7 +27,9 @@ Contents:
 8. Windows 3.1
 9. MS-DOS
 
-The currently preferred method is using the free Visual C++ Toolkit 2003.
+The currently preferred method is using the free Visual C++ Toolkit 2008
+|msvc-2008-express|.  If you need the executable to run on Windows 98 or ME,
+use the 2003 one |msvc-2003-toolkit|.
 
 
 1. Microsoft Visual C++
@@ -71,11 +73,16 @@ These files have been supplied by George V. Reilly, Ben Singer, Ken Scott and
 Ron Aaron; they have been tested.
 
 
-Visual C++ Toolkit 2003
+Visual C++ Toolkit 2003                                *msvc-2003-toolkit*
 -----------------------
 
-You can download the Microsoft Visual C++ Toolkit 2003 from
+You could download the Microsoft Visual C++ Toolkit 2003 from
     http://msdn.microsoft.com/visualc/vctoolkit2003/
+Unfortunately this URL is no longer valid.  Inofficial downloads appear to be
+available from links mentioned on these pages (use at your own risk):
+   http://www.filewatcher.com/m/VCToolkitSetup.exe.32952488.0.0.html
+   http://feargame.net/wiki/index.php?title=Building_Source_with_the_VC2003_Toolkit
+
 This contains the command-line tools (compiler, linker, CRT headers,
 and libraries) for Visual Studio .NET 2003, but not the Visual Studio IDE.
 To compile and debug Vim with the VC2003 Toolkit, you will also need
index 18fd327b81e00eb65470e58c501b628e55b35ed0..c2567d7c37065a762bba3b0f99e904c8dc2a13e6 100644 (file)
@@ -193,10 +193,6 @@ CPU = i386
 CPU = i386
 !endif # !PROCESSOR_ARCHITECTURE
 
-!if ("$(CPU)" == "AMD64") || ("$(CPU)" == "IA64")
-DEFINES=$(DEFINES) /Wp64
-!endif
-
 # Build a retail version by default
 
 !if "$(DEBUG)" != "yes"
@@ -211,6 +207,11 @@ MAKEFLAGS_GVIMEXT = DEBUG=yes
 
 !include <Win32.mak>
 
+# Turn on Win64 compatibility warnings for 32-bit compiler in VC8. (/Wp64 is
+# deprecated in VC9.)
+!if ("$(MSVCVER)" == "8.0") 
+DEFINES=$(DEFINES) /Wp64
+!endif
 
 #>>>>> path of the compiler and linker; name of include and lib directories
 # PATH = c:\msvc20\bin;$(PATH)
index cca2eef9f86882de76fecf913bb14f636df905f0..69f091b937d05c4fb73f2d82242222925ef23bfa 100644 (file)
@@ -310,6 +310,8 @@ CClink = $(CC)
 #CONF_ARGS = --exec-prefix=/usr
 #CONF_ARGS = --with-vim-name=vim7 --with-ex-name=ex7 --with-view-name=view7
 #CONF_ARGS = --with-global-runtime=/etc/vim
+#CONF_ARGS = --with-local-dir=/usr/share
+#CONF_ARGS = --without-local-dir
 
 # Use this one if you distribute a modified version of Vim.
 #CONF_ARGS = --with-modified-by="John Doe"
@@ -899,7 +901,7 @@ MAN1DIR = /man1
 
 ### Vim version (adjusted by a script)
 VIMMAJOR = 7
-VIMMINOR = 2a
+VIMMINOR = 2b
 
 ### Location of Vim files (should not need to be changed, and  {{{1
 ### some things might not work when they are changed!)
@@ -1742,7 +1744,7 @@ test check:
        -if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
                cd $(PODIR); $(MAKE) -f Makefile check VIM=../$(VIMTARGET); \
        fi
-       -if test $(VIMTARGET) != vim -a ! -e vim; then \
+       -if test $(VIMTARGET) != vim -a ! -r vim; then \
                ln -s $(VIMTARGET) vim; \
        fi
        cd testdir; $(MAKE) -f Makefile $(GUI_TESTTARGET) VIMPROG=../$(VIMTARGET) $(GUI_TESTARG)
index cc9016381e8fb77096e75571d6326d51e71ee766..ba65612ba6a9c3b854d6e338038dc5ba3e68135a 100755 (executable)
@@ -772,6 +772,7 @@ ac_user_opts='
 enable_option_checking
 enable_darwin
 with_mac_arch
+with_local_dir
 with_vim_name
 with_ex_name
 with_view_name
@@ -1488,6 +1489,8 @@ Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   --with-mac-arch=ARCH    current, intel, ppc or both
+  --with-local-dir=PATH   search PATH instead of /usr/local for local libraries.
+  --without-local-dir     do not search /usr/local for local libraries.
   --with-vim-name=NAME    what to call the Vim executable
   --with-ex-name=NAME     what to call the Ex executable
   --with-view-name=NAME   what to call the View executable
@@ -4176,24 +4179,53 @@ fi
 
 
 if test "$cross_compiling" = no; then
+  { $as_echo "$as_me:$LINENO: checking --with-local-dir argument" >&5
+$as_echo_n "checking --with-local-dir argument... " >&6; }
   have_local_include=''
   have_local_lib=''
-  if test "$GCC" = yes; then
+
+# Check whether --with-local-dir was given.
+if test "${with_local_dir+set}" = set; then
+  withval=$with_local_dir;
+    local_dir="$withval"
+    case "$withval" in
+    */*) ;;
+    no)
+      # avoid adding local dir to LDFLAGS and CPPFLAGS
+      have_local_dir=yes
+      have_local_lib=yes
+      ;;
+    *) { { $as_echo "$as_me:$LINENO: error: must pass path argument to --with-local-dir" >&5
+$as_echo "$as_me: error: must pass path argument to --with-local-dir" >&2;}
+   { (exit 1); exit 1; }; } ;;
+    esac
+       { $as_echo "$as_me:$LINENO: result: $local_dir" >&5
+$as_echo "$local_dir" >&6; }
+
+else
+
+    local_dir=/usr/local
+    { $as_echo "$as_me:$LINENO: result: Defaulting to $local_dir" >&5
+$as_echo "Defaulting to $local_dir" >&6; }
+
+fi
+
+  if test "$GCC" = yes -a "$local_dir" != no; then
     echo 'void f(){}' > conftest.c
-        have_local_include=`${CC-cc} -no-cpp-precomp -c -v conftest.c 2>&1 | grep '/usr/local/include'`
-    have_local_lib=`${CC-cc} -c -v conftest.c 2>&1 | grep '/usr/local/lib'`
+        have_local_include=`${CC-cc} -no-cpp-precomp -c -v conftest.c 2>&1 | grep "${local_dir}/include"`
+    have_local_lib=`${CC-cc} -c -v conftest.c 2>&1 | grep "${local_dir}/lib"`
     rm -f conftest.c conftest.o
   fi
-  if test -z "$have_local_lib" -a -d /usr/local/lib; then
-    tt=`echo "$LDFLAGS" | sed -e 's+-L/usr/local/lib ++g' -e 's+-L/usr/local/lib$++g'`
+  if test -z "$have_local_lib" -a -d "${local_dir}/lib"; then
+    tt=`echo "$LDFLAGS" | sed -e "s+-L${local_dir}/lib ++g" -e "s+-L${local_dir}/lib$++g"`
     if test "$tt" = "$LDFLAGS"; then
-      LDFLAGS="$LDFLAGS -L/usr/local/lib"
+      LDFLAGS="$LDFLAGS -L${local_dir}/lib"
     fi
   fi
-  if test -z "$have_local_include" -a -d /usr/local/include; then
-    tt=`echo "$CPPFLAGS" | sed -e 's+-I/usr/local/include ++g' -e 's+-I/usr/local/include$++g'`
+  if test -z "$have_local_include" -a -d "${local_dir}/include"; then
+    tt=`echo "$CPPFLAGS" | sed -e "s+-I${local_dir}/include ++g" -e "s+-I${local_dir}/include$++g"`
     if test "$tt" = "$CPPFLAGS"; then
-      CPPFLAGS="$CPPFLAGS -I/usr/local/include"
+      CPPFLAGS="$CPPFLAGS -I${local_dir}/include"
     fi
   fi
 fi
index 35dce7f2be8194f549cc5fc417aaba8b2990bb27..7c65fab62d708cacc439cff10e52cf4768dc36b4 100644 (file)
@@ -192,25 +192,43 @@ dnl Only when the directory exists and it wasn't there yet.
 dnl For gcc don't do this when it is already in the default search path.
 dnl Skip all of this when cross-compiling.
 if test "$cross_compiling" = no; then
+  AC_MSG_CHECKING(--with-local-dir argument)
   have_local_include=''
   have_local_lib=''
-  if test "$GCC" = yes; then
+  AC_ARG_WITH([local-dir], [  --with-local-dir=PATH   search PATH instead of /usr/local for local libraries.
+  --without-local-dir     do not search /usr/local for local libraries.], [
+    local_dir="$withval"
+    case "$withval" in
+    */*) ;;
+    no)
+      # avoid adding local dir to LDFLAGS and CPPFLAGS
+      have_local_dir=yes
+      have_local_lib=yes
+      ;;
+    *) AC_MSG_ERROR(must pass path argument to --with-local-dir) ;;
+    esac
+       AC_MSG_RESULT($local_dir)
+  ], [
+    local_dir=/usr/local
+    AC_MSG_RESULT(Defaulting to $local_dir)
+  ])
+  if test "$GCC" = yes -a "$local_dir" != no; then
     echo 'void f(){}' > conftest.c
     dnl -no-cpp-precomp is needed for OS X 10.2 (Ben Fowler)
-    have_local_include=`${CC-cc} -no-cpp-precomp -c -v conftest.c 2>&1 | grep '/usr/local/include'`
-    have_local_lib=`${CC-cc} -c -v conftest.c 2>&1 | grep '/usr/local/lib'`
+    have_local_include=`${CC-cc} -no-cpp-precomp -c -v conftest.c 2>&1 | grep "${local_dir}/include"`
+    have_local_lib=`${CC-cc} -c -v conftest.c 2>&1 | grep "${local_dir}/lib"`
     rm -f conftest.c conftest.o
   fi
-  if test -z "$have_local_lib" -a -d /usr/local/lib; then
-    tt=`echo "$LDFLAGS" | sed -e 's+-L/usr/local/lib ++g' -e 's+-L/usr/local/lib$++g'`
+  if test -z "$have_local_lib" -a -d "${local_dir}/lib"; then
+    tt=`echo "$LDFLAGS" | sed -e "s+-L${local_dir}/lib ++g" -e "s+-L${local_dir}/lib$++g"`
     if test "$tt" = "$LDFLAGS"; then
-      LDFLAGS="$LDFLAGS -L/usr/local/lib"
+      LDFLAGS="$LDFLAGS -L${local_dir}/lib"
     fi
   fi
-  if test -z "$have_local_include" -a -d /usr/local/include; then
-    tt=`echo "$CPPFLAGS" | sed -e 's+-I/usr/local/include ++g' -e 's+-I/usr/local/include$++g'`
+  if test -z "$have_local_include" -a -d "${local_dir}/include"; then
+    tt=`echo "$CPPFLAGS" | sed -e "s+-I${local_dir}/include ++g" -e "s+-I${local_dir}/include$++g"`
     if test "$tt" = "$CPPFLAGS"; then
-      CPPFLAGS="$CPPFLAGS -I/usr/local/include"
+      CPPFLAGS="$CPPFLAGS -I${local_dir}/include"
     fi
   fi
 fi
index 7ebaa08f12a349555ed67c07d7a191f2727da654..18c8329df9cef919b2190abcadc9ca5698cf4e1e 100644 (file)
@@ -10,7 +10,7 @@
 /*
  * eval.c: Expression evaluation.
  */
-#if defined(MSDOS) || defined(MSWIN)
+#if defined(MSDOS) || defined(WIN16) || defined(WIN32) || defined(_WIN64)
 # include "vimio.h"    /* for mch_open(), must be before vim.h */
 #endif
 
@@ -9697,15 +9697,19 @@ f_filereadable(argvars, rettv)
     typval_T   *argvars;
     typval_T   *rettv;
 {
-    FILE       *fd;
+    int                fd;
     char_u     *p;
     int                n;
 
+#ifndef O_NONBLOCK
+# define O_NONBLOCK 0
+#endif
     p = get_tv_string(&argvars[0]);
-    if (*p && !mch_isdir(p) && (fd = mch_fopen((char *)p, "r")) != NULL)
+    if (*p && !mch_isdir(p) && (fd = mch_open((char *)p,
+                                             O_RDONLY | O_NONBLOCK, 0)) >= 0)
     {
        n = TRUE;
-       fclose(fd);
+       close(fd);
     }
     else
        n = FALSE;
@@ -21975,7 +21979,7 @@ shortpath_for_invalid_fname(fname, bufp, fnamelen)
        ch = *endp;
        *endp = 0;
        short_fname = save_fname;
-       len = STRLEN(short_fname) + 1;
+       len = (int)STRLEN(short_fname) + 1;
        if (get_short_pathname(&short_fname, &pbuf_unused, &len) == FAIL)
        {
            retval = FAIL;
index 6425ac0434f20bef2e3ce42dcb44ba6691336cf1..760533d7a441115c20f8fafdbc20de57b3b2ea69 100644 (file)
@@ -11,7 +11,7 @@
  * ex_cmds.c: some functions for command line commands
  */
 
-#if defined(MSDOS) || defined(MSWIN)
+#if defined(MSDOS) || defined(WIN16) || defined(WIN32) || defined(_WIN64)
 # include "vimio.h"    /* for mch_open(), must be before vim.h */
 #endif
 
@@ -5892,7 +5892,7 @@ find_help_tags(arg, num_matches, matches, keep_lang)
     flags = TAG_HELP | TAG_REGEXP | TAG_NAMES | TAG_VERBOSE;
     if (keep_lang)
        flags |= TAG_KEEP_LANG;
-    if (find_tags(IObuff, num_matches, matches, flags, (int)MAXCOL, NULL) == OK
+    if (find_tags(IObuff, num_matches, matches, flags, TAG_MANY, NULL) == OK
            && *num_matches > 0)
        /* Sort the matches found on the heuristic number that is after the
         * tag name. */
index 582613e1228be0a83dc9daaedd56f556ca3dd5b4..f86e6ee6ab7d12dc10762a309c0d62f6dd5be16e 100644 (file)
@@ -11,7 +11,7 @@
  * ex_cmds2.c: some more functions for command line commands
  */
 
-#if defined(WIN32) && defined(FEAT_CSCOPE)
+#if defined(MSDOS) || defined(WIN16) || defined(WIN32) || defined(_WIN64)
 # include "vimio.h"    /* for mch_open(), must be before vim.h */
 #endif
 
index 83cffc1fc438cf648145abdcbd4bf29da7b6863c..246c4c0b2c908b543c54af2a418b09a7dfde2c5b 100644 (file)
@@ -6728,6 +6728,10 @@ handle_drop(filec, filev, split)
     if (curbuf_locked())
        return;
 #endif
+    /* When the screen is being updated we should not change buffers and
+     * windows structures, it may cause freed memory to be used. */
+    if (updating_screen)
+       return;
 
     /* Check whether the current buffer is changed. If so, we will need
      * to split the current window or data could be lost.
index 09c3027cb1dcd3029d862c5f577470639c0dcce4..8568d33ab402b661a3862cabbf3bdb5599b5a63b 100644 (file)
--- a/src/gui.c
+++ b/src/gui.c
@@ -958,7 +958,13 @@ gui_update_cursor(force, clear_selection)
                static int iid;
                guicolor_T fg, bg;
 
-               if (im_get_status())
+               if (
+# ifdef HAVE_GTK2
+                       preedit_get_status()
+# else
+                       im_get_status()
+# endif
+                       )
                {
                    iid = syn_name2id((char_u *)"CursorIM");
                    if (iid > 0)
@@ -5124,6 +5130,16 @@ gui_handle_drop(x, y, modifiers, fnames, count)
 {
     int                i;
     char_u     *p;
+    static int entered = FALSE;
+
+    /*
+     * This function is called by event handlers.  Just in case we get a
+     * second event before the first one is handled, ignore the second one.
+     * Not sure if this can ever happen, just in case.
+     */
+    if (entered)
+       return;
+    entered = TRUE;
 
     /*
      * When the cursor is at the command line, add the file names to the
@@ -5207,5 +5223,7 @@ gui_handle_drop(x, y, modifiers, fnames, count)
        gui_update_cursor(FALSE, FALSE);
        gui_mch_flush();
     }
+
+    entered = FALSE;
 }
 #endif
index 1ef5820539309e857e3814cc06827abef0f7d0fd..77cd5cad2ba1ba53f911be2f01b11681c2e19ba6 100644 (file)
@@ -2543,7 +2543,6 @@ gui_mac_doMouseUpEvent(EventRecord *theEvent)
 gui_mac_mouse_wheel(EventHandlerCallRef nextHandler, EventRef theEvent,
                                                                   void *data)
 {
-    EventRef   bogusEvent;
     Point      point;
     Rect       bounds;
     UInt32     mod;
@@ -2574,16 +2573,6 @@ gui_mac_mouse_wheel(EventHandlerCallRef nextHandler, EventRef theEvent,
     if (mod & optionKey)
        vim_mod |= MOUSE_ALT;
 
-    /* post a bogus event to wake up WaitNextEvent */
-    if (noErr != CreateEvent(NULL, kEventClassMouse, kEventMouseMoved, 0,
-                                           kEventAttributeNone, &bogusEvent))
-       goto bail;
-    if (noErr != PostEventToQueue(GetMainEventQueue(), bogusEvent,
-                                                          kEventPriorityLow))
-       goto bail;
-
-    ReleaseEvent(bogusEvent);
-
     if (noErr == GetWindowBounds(gui.VimWindow, kWindowContentRgn, &bounds))
     {
        point.h -= bounds.left;
@@ -2593,6 +2582,9 @@ gui_mac_mouse_wheel(EventHandlerCallRef nextHandler, EventRef theEvent,
     gui_send_mouse_event((delta > 0) ? MOUSE_4 : MOUSE_5,
                                            point.h, point.v, FALSE, vim_mod);
 
+    /* post a bogus event to wake up WaitNextEvent */
+    PostEvent(keyUp, 0);
+
     return noErr;
 
 bail:
index acf7f86d8fa778f315ec453ee7e75032bd7d5173..a6994f694e0fb4e1c0b3ed850a36d684b5efb15e 100644 (file)
@@ -163,6 +163,23 @@ EXTERN_C void boot_DynaLoader __ARGS((pTHX_ CV*));
 # define Perl_Isv_yes_ptr dll_Perl_Isv_yes_ptr
 # define boot_DynaLoader dll_boot_DynaLoader
 
+# define Perl_sys_init3 dll_Perl_sys_init3
+# define Perl_sys_term dll_Perl_sys_term
+# define Perl_ISv_ptr dll_Perl_ISv_ptr
+# define Perl_Istack_max_ptr dll_Perl_Istack_max_ptr
+# define Perl_Istack_base_ptr dll_Perl_Istack_base_ptr
+# define Perl_Itmps_ix_ptr dll_Perl_Itmps_ix_ptr
+# define Perl_Itmps_floor_ptr dll_Perl_Itmps_floor_ptr
+# define Perl_IXpv_ptr dll_Perl_IXpv_ptr
+# define Perl_Ina_ptr dll_Perl_Ina_ptr
+# define Perl_Imarkstack_ptr_ptr dll_Perl_Imarkstack_ptr_ptr
+# define Perl_Imarkstack_max_ptr dll_Perl_Imarkstack_max_ptr
+# define Perl_Istack_sp_ptr dll_Perl_Istack_sp_ptr
+# define Perl_Iop_ptr dll_Perl_Iop_ptr
+# define Perl_call_list dll_Perl_call_list
+# define Perl_Iscopestack_ix_ptr dll_Perl_Iscopestack_ix_ptr
+# define Perl_Iunitcheckav_ptr dll_Perl_Iunitcheckav_ptr
+
 #ifndef DYNAMIC_PERL /* just generating prototypes */
 typedef int HANDLE;
 typedef int XSINIT_t;
@@ -250,6 +267,24 @@ static GV** (*Perl_Ierrgv_ptr)(register PerlInterpreter*);
 static SV* (*Perl_Isv_yes_ptr)(register PerlInterpreter*);
 static void (*boot_DynaLoader)_((pTHX_ CV*));
 
+#if (PERL_REVISION == 5) && (PERL_VERSION >= 10)
+static void (*Perl_sys_init3)(int* argc, char*** argv, char*** env);
+static void (*Perl_sys_term)(void);
+static SV** (*Perl_ISv_ptr)(register PerlInterpreter*);
+static SV*** (*Perl_Istack_max_ptr)(register PerlInterpreter*);
+static SV*** (*Perl_Istack_base_ptr)(register PerlInterpreter*);
+static XPV** (*Perl_IXpv_ptr)(register PerlInterpreter*);
+static I32* (*Perl_Itmps_ix_ptr)(register PerlInterpreter*);
+static I32* (*Perl_Itmps_floor_ptr)(register PerlInterpreter*);
+static STRLEN* (*Perl_Ina_ptr)(register PerlInterpreter*);
+static I32** (*Perl_Imarkstack_ptr_ptr)(register PerlInterpreter*);
+static I32** (*Perl_Imarkstack_max_ptr)(register PerlInterpreter*);
+static SV*** (*Perl_Istack_sp_ptr)(register PerlInterpreter*);
+static OP** (*Perl_Iop_ptr)(register PerlInterpreter*);
+static void (*Perl_call_list)(pTHX_ I32, AV*);
+static I32* (*Perl_Iscopestack_ix_ptr)(register PerlInterpreter*);
+static AV** (*Perl_Iunitcheckav_ptr)(register PerlInterpreter*);
+#endif
 
 /*
  * Table of name to function pointer of perl.
@@ -319,6 +354,7 @@ static struct {
     {"Perl_sv_setsv", (PERL_PROC*)&Perl_sv_setsv},
 #endif
     {"Perl_sv_upgrade", (PERL_PROC*)&Perl_sv_upgrade},
+#if (PERL_REVISION == 5) && (PERL_VERSION < 10)
     {"Perl_Tstack_sp_ptr", (PERL_PROC*)&Perl_Tstack_sp_ptr},
     {"Perl_Top_ptr", (PERL_PROC*)&Perl_Top_ptr},
     {"Perl_Tstack_base_ptr", (PERL_PROC*)&Perl_Tstack_base_ptr},
@@ -330,6 +366,25 @@ static struct {
     {"Perl_TSv_ptr", (PERL_PROC*)&Perl_TSv_ptr},
     {"Perl_TXpv_ptr", (PERL_PROC*)&Perl_TXpv_ptr},
     {"Perl_Tna_ptr", (PERL_PROC*)&Perl_Tna_ptr},
+#else
+    {"Perl_sys_init3", (PERL_PROC*)&Perl_sys_init3},
+    {"Perl_sys_term", (PERL_PROC*)&Perl_sys_term},
+    {"Perl_ISv_ptr", (PERL_PROC*)&Perl_ISv_ptr},
+    {"Perl_Istack_sp_ptr", (PERL_PROC*)&Perl_Istack_sp_ptr},
+    {"Perl_Iop_ptr", (PERL_PROC*)&Perl_Iop_ptr},
+    {"Perl_Istack_base_ptr", (PERL_PROC*)&Perl_Istack_base_ptr},
+    {"Perl_Istack_max_ptr", (PERL_PROC*)&Perl_Istack_max_ptr},
+    {"Perl_Itmps_ix_ptr", (PERL_PROC*)&Perl_Itmps_ix_ptr},
+    {"Perl_Itmps_floor_ptr", (PERL_PROC*)&Perl_Itmps_floor_ptr},
+    {"Perl_Imarkstack_ptr_ptr", (PERL_PROC*)&Perl_Imarkstack_ptr_ptr},
+    {"Perl_Imarkstack_max_ptr", (PERL_PROC*)&Perl_Imarkstack_max_ptr},
+    {"Perl_ISv_ptr", (PERL_PROC*)&Perl_ISv_ptr},
+    {"Perl_IXpv_ptr", (PERL_PROC*)&Perl_IXpv_ptr},
+    {"Perl_Ina_ptr", (PERL_PROC*)&Perl_Ina_ptr},
+    {"Perl_call_list", (PERL_PROC*)&Perl_call_list},
+    {"Perl_Iscopestack_ix_ptr", (PERL_PROC*)&Perl_Iscopestack_ix_ptr},
+    {"Perl_Iunitcheckav_ptr", (PERL_PROC*)&Perl_Iunitcheckav_ptr},
+#endif
     {"Perl_Idefgv_ptr", (PERL_PROC*)&Perl_Idefgv_ptr},
     {"Perl_Ierrgv_ptr", (PERL_PROC*)&Perl_Ierrgv_ptr},
     {"Perl_Isv_yes_ptr", (PERL_PROC*)&Perl_Isv_yes_ptr},
@@ -395,12 +450,16 @@ perl_enabled(verbose)
     static void
 perl_init()
 {
-    char       *bootargs[] = { "VI", NULL };
-    static char *args[] = { "", "-e", "" };
+    char *bootargs[] = { "VI", NULL };
+    int argc = 3;
+    static char *argv[] = { "", "-e", "" };
 
+#if (PERL_REVISION == 5) && (PERL_VERSION >= 10)
+    Perl_sys_init3(&argc, (char***)&argv, NULL);
+#endif
     perl_interp = perl_alloc();
     perl_construct(perl_interp);
-    perl_parse(perl_interp, xs_init, 3, args, 0);
+    perl_parse(perl_interp, xs_init, argc, argv, 0);
     perl_call_argv("VIM::bootstrap", (long)G_DISCARD, bootargs);
     VIM_init();
 #ifdef USE_SFIO
@@ -423,6 +482,9 @@ perl_end()
        perl_destruct(perl_interp);
        perl_free(perl_interp);
        perl_interp = NULL;
+#if (PERL_REVISION == 5) && (PERL_VERSION >= 10)
+        Perl_sys_term();
+#endif
     }
 #ifdef DYNAMIC_PERL
     if (hPerlLib)
index 8fcb10930274f15e6bcfb0c0ec0a4f13b976b77a..66e792becc60cd61b8cdfc0df072f7c08d99c1bf 100644 (file)
@@ -1764,7 +1764,7 @@ RangeRepr(PyObject *self)
 
        if (name == NULL)
            name = "";
-       len = strlen(name);
+       len = (int)strlen(name);
 
        if (len > 45)
            name = name + (45 - len);
index 53d18487961b72bb04ea271fb7d0ad6c65afc0a8..587081bda1ad77d3cf3792df6b9ec1f585ed22f0 100644 (file)
@@ -7,7 +7,7 @@
  * See README.txt for an overview of the Vim source code.
  */
 
-#if defined(MSDOS) || defined(WIN32) || defined(_WIN64)
+#if defined(MSDOS) || defined(WIN16) || defined(WIN32) || defined(_WIN64)
 # include "vimio.h"            /* for close() and dup() */
 #endif
 
index d6edf201e79204c47b9f17166937fb2e3417919e..38bec9d8bd147c0fdfbbfc601090f45d40c542d6 100644 (file)
@@ -3454,6 +3454,7 @@ init_preedit_start_col(void)
 # if defined(HAVE_GTK2) && !defined(PROTO)
 
 static int im_is_active               = FALSE; /* IM is enabled for current mode    */
+static int preedit_is_active   = FALSE;
 static int im_preedit_cursor   = 0;    /* cursor offset in characters       */
 static int im_preedit_trailing = 0;    /* number of characters after cursor */
 
@@ -3686,7 +3687,9 @@ im_preedit_start_cb(GtkIMContext *context, gpointer data)
 #endif
 
     im_is_active = TRUE;
+    preedit_is_active = TRUE;
     gui_update_cursor(TRUE, FALSE);
+    im_show_info();
 }
 
 /*
@@ -3707,9 +3710,11 @@ im_preedit_end_cb(GtkIMContext *context, gpointer data)
 
 #if 0
     /* Removal of this line suggested by Takuhiro Nishioka.  Fixes that IM was
-     * switched off unintentionally. */
+     * switched off unintentionally.  We now use preedit_is_active (added by
+     * SungHyun Nam). */
     im_is_active = FALSE;
 #endif
+    preedit_is_active = FALSE;
     gui_update_cursor(TRUE, FALSE);
     im_show_info();
 }
@@ -5723,6 +5728,14 @@ im_get_status()
 
 # endif /* !HAVE_GTK2 */
 
+# if defined(HAVE_GTK2) || defined(PROTO)
+    int
+preedit_get_status(void)
+{
+    return preedit_is_active;
+}
+# endif
+
 # if defined(FEAT_GUI_GTK) || defined(PROTO)
     int
 im_is_preediting()
index dd8dc13d478eb704c53b09fa5ec03dbc5f35052f..0b3cdd9be1b276ccadd22aa6c73cd774922a375d 100644 (file)
@@ -32,7 +32,7 @@
  * file is opened.
  */
 
-#if defined MSDOS || defined(WIN32) || defined(_WIN64)
+#if defined(MSDOS) || defined(WIN16) || defined(WIN32) || defined(_WIN64)
 # include "vimio.h"    /* for lseek(), must be before vim.h */
 #endif
 
index 99293803aaa35fd60a7f4a5052e0ef1742879e19..f5a68b19fead2716eb7cad002757d78b914726a8 100644 (file)
@@ -42,7 +42,7 @@
  *  mf_get().
  */
 
-#if defined(MSDOS) || defined(WIN32) || defined(_WIN64)
+#if defined(MSDOS) || defined(WIN16) || defined(WIN32) || defined(_WIN64)
 # include "vimio.h"    /* for mch_open(), must be before vim.h */
 #endif
 
index 41dfffbaebd3c84e41dd6a0b913b450e506e2eef..bf340d04de4edf9e6722b1c02512fac3b687df0d 100644 (file)
@@ -1390,7 +1390,7 @@ msg_outtrans_len_attr(msgstr, len, attr)
                                                                        attr);
                plain_start = str + 1;
                msg_puts_attr(s, attr == 0 ? hl_attr(HLF_8) : attr);
-               retval += STRLEN(s);
+               retval += (int)STRLEN(s);
            }
            else
                ++retval;
index f21f5e9f6b67c397b32945835eec27a7e7980d6f..c547d9b0e98daca5095f1c5e426903a4f5455d06 100644 (file)
@@ -876,7 +876,7 @@ validate_cheight()
 }
 
 /*
- * validate w_wcol and w_virtcol only. Only correct when 'wrap' on!
+ * Validate w_wcol and w_virtcol only.
  */
     void
 validate_cursor_col()
@@ -892,13 +892,19 @@ validate_cursor_col()
        col += off;
 
        /* long line wrapping, adjust curwin->w_wrow */
-       if (curwin->w_p_wrap && col >= (colnr_T)W_WIDTH(curwin)
+       if (curwin->w_p_wrap
+               && col >= (colnr_T)W_WIDTH(curwin)
                && W_WIDTH(curwin) - off + curwin_col_off2() > 0)
        {
            col -= W_WIDTH(curwin);
            col = col % (W_WIDTH(curwin) - off + curwin_col_off2());
        }
+       if (col > (int)curwin->w_leftcol)
+           col -= curwin->w_leftcol;
+       else
+           col = 0;
        curwin->w_wcol = col;
+
        curwin->w_valid |= VALID_WCOL;
     }
 }
index d3fa4b0df28357f32acca87873624933b7618f0e..80a1b437557b4d045e421e9c2bc0c3b4f34687a4 100644 (file)
@@ -16,7 +16,7 @@
  * See ":help netbeans-protocol" for explanation.
  */
 
-#if defined(MSDOS) || defined(MSWIN)
+#if defined(MSDOS) || defined(WIN16) || defined(WIN32) || defined(_WIN64)
 # include "vimio.h"    /* for mch_open(), must be before vim.h */
 #endif
 
@@ -29,7 +29,6 @@
 # ifdef DEBUG
 #  include <tchar.h>   /* for _T definition for TRACEn macros */
 # endif
-# include "vimio.h"
 /* WinSock API is separated from C API, thus we can't use read(), write(),
  * errno... */
 # define sock_errno WSAGetLastError()
index c41225deb16642a58109296dd4b572b2ea923f69..0ace71dcbd057f798be7d34102be029bb145d68c 100644 (file)
@@ -1337,7 +1337,7 @@ msgstr "E203: Outobevele het die skryfbuffer geskrap of uitgelaai"
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: Outobevel het etlike reëls op onverwagse wyse verander "
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans laat nie skryf toe van onveranderde buffers nie"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -4485,14 +4485,14 @@ msgstr "E440: herstelre
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 16/32-bis GUI weergawe"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 32-bis GUI version"
@@ -4505,28 +4505,28 @@ msgstr " met OLE ondersteuning"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "MS-Windows 32-bis konsole weergawe"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "MS-Windows 16-bis weergawe"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "32-bis MS-DOS weergawe"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "16-bis MS-DOS weergawe"
index 54623b2e50bdf5dbf423e1a174a0669a2b0e5b23..441d858eb9124efdb5f42a4882d2126ea7cb24fa 100644 (file)
@@ -608,13 +608,13 @@ msgstr "(No v
 msgid "E677: Error writing temp file"
 msgstr "E677: Error en escriure el fitxer temporal"
 
-msgid "E703: Using a Funcref as a number"
+msgid "E703: Using a Funcref as a Number"
 msgstr "E703: Ús d'una referència de funció com a número"
 
-msgid "E745: Using a List as a number"
+msgid "E745: Using a List as a Number"
 msgstr "E745: Ús d'una llista com a número"
 
-msgid "E728: Using a Dictionary as a number"
+msgid "E728: Using a Dictionary as a Number"
 msgstr "E728: Ús d'un diccionari com a número"
 
 msgid "E729: using Funcref as a String"
@@ -1592,7 +1592,7 @@ msgstr "E203: Auto-ordres han eliminat o alliberat el buffer a escriure"
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: Una auto-ordre ha canviat el nombre de línies de forma inesperada"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans no permet escriure buffers no modificats"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -5433,21 +5433,21 @@ msgstr "E440: Falta una l
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "Versió GUI per MS-Windows 16/32 bits"
 
 msgid ""
 "\n"
-"MS-Windows 64 bit GUI version"
+"MS-Windows 64-bit GUI version"
 msgstr ""
 "\n"
 "Versió GUI per a MS-Windows 64 bits"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "Versió GUI per MS-Windows 32 bits"
@@ -5460,28 +5460,28 @@ msgstr " amb suport per OLE"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "Versió consola per MS-Windows 32 bits"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "Versió per MS-Windows 16 bits"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "Versió per MS-DOS 32 bits"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "Versió per MS-DOS 16 bits"
index a0650cfc26a46ef23569378ca5bc6ebb0e74c38c..23802212111b4ed3c3a94d197cce5a12e7792242 100644 (file)
@@ -4121,14 +4121,14 @@ msgstr "E440: chyb
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "16/32 bitová GUI verze pro MS Windows"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "32 bitová GUI verze pro MS Windows"
@@ -4141,28 +4141,28 @@ msgstr " s OLE podporou"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "32 bitová verze pro MS Windows konzolu"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "16 bitová verze pro MS Windows"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "32 bitová verze pro MS Windows"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "16 bitová MS-DOS verze"
index 04632fc24f06b2841500623f73777128c50d5bcd..5c232f6a3e01f275d83066ebb80f51122e872f09 100644 (file)
@@ -4121,14 +4121,14 @@ msgstr "E440: chyb
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "16/32 bitová GUI verze pro MS Windows"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "32 bitová GUI verze pro MS Windows"
@@ -4141,28 +4141,28 @@ msgstr " s OLE podporou"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "32 bitová verze pro MS Windows konzolu"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "16 bitová verze pro MS Windows"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "32 bitová verze pro MS Windows"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "16 bitová MS-DOS verze"
index 3a897f2d7f738dfcf4f81a63cc28b2d45d1ffd61..602e3ea7a421b8a0c7a0318d87ac682a018865f3 100644 (file)
@@ -566,13 +566,13 @@ msgstr "(Ung
 msgid "E677: Error writing temp file"
 msgstr "E677: Fehler beim Schreiben einer temporären Datei"
 
-msgid "E703: Using a Funcref as a number"
+msgid "E703: Using a Funcref as a Number"
 msgstr "E703: Funktionsreferenz als Zahl verwendet"
 
-msgid "E745: Using a List as a number"
+msgid "E745: Using a List as a Number"
 msgstr "E745: Liste als Zahl verwendet"
 
-msgid "E728: Using a Dictionary as a number"
+msgid "E728: Using a Dictionary as a Number"
 msgstr "E728: Wörterbuch als Zahl verwendet"
 
 msgid "E729: using Funcref as a String"
@@ -1509,7 +1509,7 @@ msgstr "E203: Autokommandos haben den zu schreibenden Puffer gel
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: Autokommandos haben die Anzahl der Zeilen in unerwarteter Weise verändert"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans verweigert das Schreiben von unveränderten Puffern"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -5290,14 +5290,14 @@ msgstr "E440: Wiederherstellungszeile fehlt"
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 16/32 Bit GUI Version"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 32 Bit GUI Version"
@@ -5310,28 +5310,28 @@ msgstr " mit OLE-Unterst
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "MS-Windows 32 Bit Konsolen-Version"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "MS-Windows 16 Bit Version"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "32 Bit MS-DOS Version"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "16 Bit MS-DOS Version"
index 3aa1ba3a5df3f5b83ee907b9eef49ba039a9edda..fc89706bf3ee2bcc5d475008d7fa6459ac3e4951 100644 (file)
@@ -8,8 +8,6 @@
 #                 Antono MECHELYNCK <antoine.mechelynck ĉe skynet.be>
 #                 Yves NEVELSTEEN
 #
-# Lasta ŝanĝo: 26 Apr 2008
-#
 # Uzitaj vortaroj kaj fakvortaroj:
 #   Revo:                http://www.reta-vortaro.de/revo/
 #   Komputeko:           http://komputeko.net/index_eo.php
@@ -25,8 +23,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Vim(Esperanto)\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-12 18:05+0100\n"
-"PO-Revision-Date: 2008-04-26 18:14+0100\n"
+"POT-Creation-Date: 2008-06-27 22:52+0200\n"
+"PO-Revision-Date: 2008-06-27 23:01+0200\n"
 "Last-Translator: Dominique PELLÉ <dominique.pelle@gmail.com>\n"
 "Language-Team: \n"
 "MIME-Version: 1.0\n"
@@ -470,6 +468,9 @@ msgstr "E693: Eblas nur kompari Funcref kun Funcref"
 msgid "E694: Invalid operation for Funcrefs"
 msgstr "E694: Nevalida operacio de Funcref-oj"
 
+msgid "E804: Cannot use '%' with Float"
+msgstr "E804: Ne eblas uzi '%' kun glitpunktnombro"
+
 msgid "E110: Missing ')'"
 msgstr "E110: Mankas ')'"
 
@@ -535,6 +536,9 @@ msgstr "E120: <SID> estas uzata ekster kunteksto de skripto: %s"
 msgid "E725: Calling dict function without Dictionary: %s"
 msgstr "E725: Alvoko de funkcio dict sen Vortaro: %s"
 
+msgid "E808: Number or Float required"
+msgstr "E808: Nombro aŭ Glitpunktnombro bezonata"
+
 msgid "E699: Too many arguments"
 msgstr "E699: Tro da argumentoj"
 
@@ -611,17 +615,20 @@ msgstr "(Nevalida)"
 msgid "E677: Error writing temp file"
 msgstr "E677: Eraro dum skribo de provizora dosiero"
 
-msgid "E703: Using a Funcref as a number"
-msgstr "E703: Uzo de Funcref kiel nombro"
+msgid "E805: Using a Float as a Number"
+msgstr "E805: Uzo de Glitpunktnombro kiel Nombro"
 
-msgid "E745: Using a List as a number"
-msgstr "E745: Uzo de Listo kiel nombro"
+msgid "E703: Using a Funcref as a Number"
+msgstr "E703: Uzo de Funcref kiel Nombro"
 
-msgid "E728: Using a Dictionary as a number"
-msgstr "E728: Uzo de Vortaro kiel nombro"
+msgid "E745: Using a List as a Number"
+msgstr "E745: Uzo de Listo kiel Nombro"
+
+msgid "E728: Using a Dictionary as a Number"
+msgstr "E728: Uzo de Vortaro kiel Nombro"
 
 msgid "E729: using Funcref as a String"
-msgstr "E729: uzo de Funcref kiel Ä\89eno"
+msgstr "E729: uzo de Funcref kiel Ä\88eno"
 
 msgid "E730: using List as a String"
 msgstr "E730: uzo de Listo kiel Ĉeno"
@@ -629,6 +636,9 @@ msgstr "E730: uzo de Listo kiel Ĉeno"
 msgid "E731: using Dictionary as a String"
 msgstr "E731: uzo de Vortaro kiel Ĉeno"
 
+msgid "E806: using Float as a String"
+msgstr "E806: uzo de Glitpunktnumbro kiel Ĉeno"
+
 #, c-format
 msgid "E704: Funcref variable name must start with a capital: %s"
 msgstr "E704: Nomo de variablo Funcref ekendas per majusklo: %s"
@@ -1328,7 +1338,8 @@ msgstr "E495: neniu dosiernomo de aŭtokomando por anstataŭigi al \"<afile>\""
 # DP: mi ne certas, ĉu <abuf> tradukeblas
 # AM: laŭ mi ne
 msgid "E496: no autocommand buffer number to substitute for \"<abuf>\""
-msgstr "E496: neniu numero de bufro de aŭtokomando por anstataŭigi al \"<abuf>\""
+msgstr ""
+"E496: neniu numero de bufro de aŭtokomando por anstataŭigi al \"<abuf>\""
 
 # DP: mi ne certas, ĉu <amatch> tradukeblas
 # AM: laŭ mi ne
@@ -1604,7 +1615,7 @@ msgstr "E203: Aŭtokomandoj forviŝis aŭ malŝargis la skribendan bufron"
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: Aŭtokomando ŝanĝis la nombron de linioj neatendite"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans malpermesas skribojn de neŝanĝitaj bufroj"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -2539,8 +2550,8 @@ msgid "line number out of range"
 msgstr "numero de linio ekster limoj"
 
 #, c-format
-msgid "<buffer object (deleted) at %8lX>"
-msgstr "<bufra objekto (forviŝita) ĉe %8lX>"
+msgid "<buffer object (deleted) at %p>"
+msgstr "<bufra objekto (forviŝita) ĉe %p>"
 
 msgid "invalid mark name"
 msgstr "nevalida nomo de marko"
@@ -2558,12 +2569,12 @@ msgid "cursor position outside buffer"
 msgstr "kursoro poziciita ekster bufro"
 
 #, c-format
-msgid "<window object (deleted) at %.8lX>"
-msgstr "<fenestra objekto (forviŝita) ĉe %.8lX>"
+msgid "<window object (deleted) at %p>"
+msgstr "<fenestra objekto (forviŝita) ĉe %p>"
 
 #, c-format
-msgid "<window object (unknown) at %.8lX>"
-msgstr "<objekta fenestro (nekonata) ĉe %.8lX>"
+msgid "<window object (unknown) at %p>"
+msgstr "<objekta fenestro (nekonata) ĉe %p>"
 
 #, c-format
 msgid "<window %d>"
@@ -2903,7 +2914,7 @@ msgid "-g\t\t\tRun using GUI (like \"gvim\")"
 msgstr "-g\t\t\tRuli per grafika interfaco (kiel \"gvim\")"
 
 msgid "-f  or  --nofork\tForeground: Don't fork when starting GUI"
-msgstr "-f, --nofork\tMalfono: ne forki kiam lanĉas grafikan interfacon"
+msgstr "-f  aŭ  --nofork\tMalfono: ne forki kiam lanĉas grafikan interfacon"
 
 msgid "-v\t\t\tVi mode (like \"vi\")"
 msgstr "-v\t\t\tReĝimo Vi (kiel \"vi\")"
@@ -3057,7 +3068,8 @@ msgstr ""
 msgid ""
 "--remote-tab[-wait][-silent] <files>  As --remote but use tab page per file"
 msgstr ""
-"--remote-tab[-wait][-silent] <dosieroj> Kiel --remote sed uzi langeton por ĉiu dosiero"
+"--remote-tab[-wait][-silent] <dosieroj> Kiel --remote sed uzi langeton por "
+"ĉiu dosiero"
 
 msgid "--remote-send <keys>\tSend <keys> to a Vim server and exit"
 msgstr "--remote-send <klavoj> Sendi <klavoj>-n al Vim-servilo kaj eliri"
@@ -3147,7 +3159,7 @@ msgid "-reverse\t\tUse reverse video (also: -rv)"
 msgstr "-reverse\t\tUzi inversan videon (ankaŭ: -rv)"
 
 msgid "+reverse\t\tDon't use reverse video (also: +rv)"
-msgstr "+reverse\t\t\t Ne uzi inversan videon (ankaŭ: +rv)"
+msgstr "+reverse\t\tNe uzi inversan videon (ankaŭ: +rv)"
 
 msgid "-xrm <resource>\tSet the specified resource"
 msgstr "-xrm <rimedo>\tAgordi la specifitan <rimedo>-n"
@@ -3334,7 +3346,8 @@ msgstr "E302: Ne eblis renomi la permutodosieron .swp"
 
 #, c-format
 msgid "E303: Unable to open swap file for \"%s\", recovery impossible"
-msgstr "E303: Ne eblas malfermi permutodosieron .swp de \"%s\", restaŭro neeblas"
+msgstr ""
+"E303: Ne eblas malfermi permutodosieron .swp de \"%s\", restaŭro neeblas"
 
 msgid "E304: ml_upd_block0(): Didn't get block 0??"
 msgstr "E304: ml_upd_block0(): Ne akiris blokon 0??"
@@ -3842,6 +3855,9 @@ msgstr "E338: Bedaŭrinde ne estas dosierfoliumilo en konzola reĝimo"
 msgid "E766: Insufficient arguments for printf()"
 msgstr "E766: Ne sufiĉaj argumentoj por printf()"
 
+msgid "E807: Expected Float argument for printf()"
+msgstr "E807: Atendis Glitpunktnombron kiel argumento de printf()"
+
 msgid "E767: Too many arguments to printf()"
 msgstr "E767: Tro da argumentoj al printf()"
 
@@ -3965,7 +3981,6 @@ msgstr "E346: Ne plu trovis dosierujon \"%s\" en cdpath"
 msgid "E347: No more file \"%s\" found in path"
 msgstr "E347: Ne plu trovis dosieron \"%s\" en serĉvojo"
 
-#. Get here when the server can't be found.
 msgid "Cannot connect to Netbeans #2"
 msgstr "Ne eblas konekti al Netbeans n-ro 2"
 
@@ -3974,7 +3989,8 @@ msgstr "Ne eblas konekti al Netbeans"
 
 #, c-format
 msgid "E668: Wrong access mode for NetBeans connection info file: \"%s\""
-msgstr "E668: Nevalida permeso de dosiero de informo de konekto NetBeans: \"%s\""
+msgstr ""
+"E668: Nevalida permeso de dosiero de informo de konekto NetBeans: \"%s\""
 
 msgid "read from Netbeans socket"
 msgstr "lego el kontaktoskatolo de Netbeans"
@@ -4409,6 +4425,20 @@ msgstr "Testo de la vidigo X fiaskis"
 msgid "Opening the X display timed out"
 msgstr "Tempolimo okazis dum malfermo de vidigo X"
 
+msgid ""
+"\n"
+"Could not get security context for "
+msgstr ""
+"\n"
+"Ne povis akiri kuntekston de sekureco por "
+
+msgid ""
+"\n"
+"Could not set security context for "
+msgstr ""
+"\n"
+"Ne povis ŝalti kuntekston de sekureco por "
+
 msgid ""
 "\n"
 "Cannot execute shell "
@@ -5534,24 +5564,24 @@ msgstr "E440: linio de malfaro mankas"
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
-"Grafika versio MS-Vindozo 16/32 bitoj"
+"Grafika versio MS-Vindozo 16/32-bitoj"
 
 msgid ""
 "\n"
-"MS-Windows 64 bit GUI version"
+"MS-Windows 64-bit GUI version"
 msgstr ""
 "\n"
-"Grafika versio MS-Vindozo 64 bitoj"
+"Grafika versio MS-Vindozo 64-bitoj"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
-"Grafika versio MS-Vindozo 32 bitoj"
+"Grafika versio MS-Vindozo 32-bitoj"
 
 msgid " in Win32s mode"
 msgstr " en reĝimo Win32s"
@@ -5561,31 +5591,38 @@ msgstr " kun subteno de OLE"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 64-bit console version"
+msgstr ""
+"\n"
+"Versio konzola MS-Vindozo 64-bitoj"
+
+msgid ""
+"\n"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
-"Versio konzola MS-Vindozo 32 bitoj"
+"Versio konzola MS-Vindozo 32-bitoj"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
-"Versio MS-Vindozo 16 bitoj"
+"Versio MS-Vindozo 16-bitoj"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
-"Versio MS-DOS 32 bitoj"
+"Versio MS-DOS 32-bitoj"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
-"Versio MS-DOS 16 bitoj"
+"Versio MS-DOS 16-bitoj"
 
 msgid ""
 "\n"
index 3f362eb3cc05d6409f7b5fb982e6db03835e6324..4f200bc94863f49d1bf37091af743a742f988200 100644 (file)
@@ -1423,7 +1423,7 @@ msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr ""
 "E204: El autocomando ha cambiado el número de líneas en forma inesperada."
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans no permite que se escriba sobre «buffers» sin modificar."
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -4761,14 +4761,14 @@ msgstr "E440: falta la l
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "Versión GUI de 16/32 bits para MS-Windows"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "Versión GUI de 32 bits para MS-Windows"
@@ -4781,28 +4781,28 @@ msgstr " con soporte para OLE"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "Versión de 32 bits para consola de MS-Windows"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "Versión de 16 bits para MS-Windows"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "Versión de 32 bits para MS-DOS"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "Versión de 16 bits para MS-DOS"
index ef167246feb35b47b56e83ca7f1898fedfd41df8..6ec46350e5ce14398ec87ffcb83943dd4408c4c1 100644 (file)
@@ -606,13 +606,13 @@ msgstr "(Virheellinen)"
 msgid "E677: Error writing temp file"
 msgstr "E677: Väliaikaistiedostoon kirjoittaminen ei onnistunut"
 
-msgid "E703: Using a Funcref as a number"
+msgid "E703: Using a Funcref as a Number"
 msgstr "E703: Funcref ei käy numerosta"
 
-msgid "E745: Using a List as a number"
+msgid "E745: Using a List as a Number"
 msgstr "E745: Lista ei käy numerosta"
 
-msgid "E728: Using a Dictionary as a number"
+msgid "E728: Using a Dictionary as a Number"
 msgstr "E728: Sanakirja ei käy numerosta"
 
 msgid "E729: using Funcref as a String"
@@ -1591,7 +1591,7 @@ msgstr ""
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: Autocommand-komento muutti rivien määrä odottamatta"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans ei salli kirjoittaa muokkaamattomiin puskureihin"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -5499,21 +5499,21 @@ msgstr "E440: kumousrivi puuttuu"
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 16- t. 32-bittinen GUI-versio"
 
 msgid ""
 "\n"
-"MS-Windows 64 bit GUI version"
+"MS-Windows 64-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 64-bittinen GUI-versio"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 32-bitars GUI-version"
@@ -5526,28 +5526,28 @@ msgstr " OLE-tuella"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "MS-Windows 32-bitars konsollversion"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "MS-Windows 16-bitars version"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "32-bitars MS-DOS-version"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "16-bitars MS-DOS-version"
index 5e4e86681a8bc715850b65d2ca5d8f0766174092..7971dbf84bff532d4a90722509a61dcc6429b093 100644 (file)
 #                         - 14 new messages.
 #                         - Fixed error number mistakes (Dominique Pelle)
 #                         - Fixed spelling mistakes (Patrick Texier)
+# 2008-07-01    DB      VIM 7.2a
+#                         - Updated messages.
+#                         - 6 new messages.
 #
-# Translated:   1708/1708 (100.00%)
-#
-# Notations used in the comments of the unpolished part of this file:
-# TODO         There's work to do there, and it's important
-# todo         There's work to do there, but it's less important
-# (no comment) Perhaps there's work to do there?
+# Translated:   1714/1714 (100.00%)
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: Vim(Français)\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-05-28 23:07+0200\n"
+"POT-Creation-Date: 2008-07-01 22:08+0200\n"
 "PO-Revision-Date: 2006-05-02 14:15+0200\n"
 "Last-Translator: David Blanchet <david.blanchet@free.fr>\n"
 "Language-Team: Adrien Beau <version.francaise@free.fr>\n"
@@ -617,6 +615,9 @@ msgstr "E693: Une Funcref ne peut 
 msgid "E694: Invalid operation for Funcrefs"
 msgstr "E694: Opération invalide avec les Funcrefs"
 
+msgid "E804: Cannot use '%' with Float"
+msgstr "E804: Impossible d'utiliser '%' avec un Flottant"
+
 msgid "E110: Missing ')'"
 msgstr "E110: ')' manquant"
 
@@ -687,6 +688,9 @@ msgstr "E120: <SID> utilis
 msgid "E725: Calling dict function without Dictionary: %s"
 msgstr "E725: Appel d'une fonction « dict » sans Dictionnaire : %s"
 
+msgid "E808: Number or Float required"
+msgstr "E808: Nombre ou Flottant requis"
+
 msgid "E699: Too many arguments"
 msgstr "E699: Trop d'arguments"
 
@@ -771,13 +775,16 @@ msgstr "(Invalide)"
 msgid "E677: Error writing temp file"
 msgstr "E677: Erreur lors de l'écriture du fichier temporaire"
 
-msgid "E703: Using a Funcref as a number"
+msgid "E805: Using a Float as a Number"
+msgstr "E805: Utilisation d'un Flottant comme un Nombre"
+
+msgid "E703: Using a Funcref as a Number"
 msgstr "E703: Utilisation d'une Funcref comme un Nombre"
 
-msgid "E745: Using a List as a number"
+msgid "E745: Using a List as a Number"
 msgstr "E745: Utilisation d'une Liste comme un Nombre"
 
-msgid "E728: Using a Dictionary as a number"
+msgid "E728: Using a Dictionary as a Number"
 msgstr "E728: Utilisation d'un Dictionnaire comme un Nombre"
 
 msgid "E729: using Funcref as a String"
@@ -789,6 +796,9 @@ msgstr "E730: Utilisation d'une Liste comme une Cha
 msgid "E731: using Dictionary as a String"
 msgstr "E731: Utilisation d'un Dictionnaire comme une Chaîne"
 
+msgid "E806: using Float as a String"
+msgstr "E806: Utilisation d'un Flottant comme une Chaîne"
+
 #, c-format
 msgid "E704: Funcref variable name must start with a capital: %s"
 msgstr "E704: Le nom d'une Funcref doit commencer par une majuscule : %s"
@@ -1877,7 +1887,7 @@ msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr ""
 "E204: L'autocommande a modifié le nombre de lignes de manière inattendue"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans interdit l'écriture des tampons non modifiés"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -2848,8 +2858,8 @@ msgid "line number out of range"
 msgstr "numéro de ligne hors limites"
 
 #, c-format
-msgid "<buffer object (deleted) at %8lX>"
-msgstr "<objet tampon (effacé) à %8lX>"
+msgid "<buffer object (deleted) at %p>"
+msgstr "<objet tampon (effacé) à %p>"
 
 msgid "invalid mark name"
 msgstr "nom de marque invalide"
@@ -2867,12 +2877,12 @@ msgid "cursor position outside buffer"
 msgstr "curseur positionné en dehors du tampon"
 
 #, c-format
-msgid "<window object (deleted) at %.8lX>"
-msgstr "<objet fenêtre (effacé) à %.8lX>"
+msgid "<window object (deleted) at %p>"
+msgstr "<objet fenêtre (effacé) à %p>"
 
 #, c-format
-msgid "<window object (unknown) at %.8lX>"
-msgstr "<objet fenêtre (inconnu) à %.8lX>"
+msgid "<window object (unknown) at %p>"
+msgstr "<objet fenêtre (inconnu) à %p>"
 
 #, c-format
 msgid "<window %d>"
@@ -3363,7 +3373,8 @@ msgstr ""
 msgid ""
 "--remote-tab[-wait][-silent] <files>  As --remote but use tab page per file"
 msgstr ""
-"--remote-tab[-wait][-silent] <fich>\tComme --remote mais ouvrir un onglet pour chaque fichier"
+"--remote-tab[-wait][-silent] <fich>\tComme --remote mais ouvrir un onglet "
+"pour chaque fichier"
 
 msgid "--remote-send <keys>\tSend <keys> to a Vim server and exit"
 msgstr "--remote-send <tche>\tEnvoyer <touches> à un serveur Vim puis quitter"
@@ -4161,6 +4172,9 @@ msgstr "E338: D
 msgid "E766: Insufficient arguments for printf()"
 msgstr "E766: Pas assez d'arguments pour printf()"
 
+msgid "E807: Expected Float argument for printf()"
+msgstr "E807: printf() attend un argument de type Flottant"
+
 msgid "E767: Too many arguments to printf()"
 msgstr "E767: Trop d'arguments pour printf()"
 
@@ -4283,7 +4297,6 @@ msgstr "E346: Plus de r
 msgid "E347: No more file \"%s\" found in path"
 msgstr "E347: Plus de fichier \"%s\" dans 'path'"
 
-#. Get here when the server can't be found.
 msgid "Cannot connect to Netbeans #2"
 msgstr "Impossible de se connecter à Netbeans n°2"
 
@@ -4439,8 +4452,8 @@ msgid ""
 "Selected %s%ld of %ld Lines; %ld of %ld Words; %ld of %ld Chars; %ld of %ld "
 "Bytes"
 msgstr ""
-"%s%ld sur %ld Lignes ; %ld sur %ld Mots ; %ld sur %ld Caractères ; %ld sur "
-"%ld octets sélectionnés"
+"%s%ld sur %ld Lignes ; %ld sur %ld Mots ; %ld sur %ld Caractères ; %ld sur %"
+"ld octets sélectionnés"
 
 #, c-format
 msgid "Col %s of %s; Line %ld of %ld; Word %ld of %ld; Byte %ld of %ld"
@@ -4452,8 +4465,8 @@ msgid ""
 "Col %s of %s; Line %ld of %ld; Word %ld of %ld; Char %ld of %ld; Byte %ld of "
 "%ld"
 msgstr ""
-"Colonne %s sur %s ; Ligne %ld sur %ld ; Mot %ld sur %ld ; Caractère %ld sur "
-"%ld ; Octet %ld sur %ld"
+"Colonne %s sur %s ; Ligne %ld sur %ld ; Mot %ld sur %ld ; Caractère %ld sur %"
+"ld ; Octet %ld sur %ld"
 
 #, c-format
 msgid "(+%ld for BOM)"
@@ -5889,21 +5902,21 @@ msgstr "E440: ligne d'annulation manquante"
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "Version graphique MS-Windows 16/32 bits"
 
 msgid ""
 "\n"
-"MS-Windows 64 bit GUI version"
+"MS-Windows 64-bit GUI version"
 msgstr ""
 "\n"
 "Version graphique MS-Windows 64 bits"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "Version graphique MS-Windows 32 bits"
@@ -5916,28 +5929,35 @@ msgstr " supportant l'OLE"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 64-bit console version"
+msgstr ""
+"\n"
+"Version console MS-Windows 64 bits"
+
+msgid ""
+"\n"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "Version console MS-Windows 32 bits"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "Version MS-Windows 16 bits"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "Version MS-DOS 32 bits"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "Version MS-DOS 16 bits"
index 62ae76f95d1949ad85bcc706fd2956e2582aec87..cce008724dfdca89c0941e9dcc8c5ed709b6af19 100644 (file)
@@ -591,13 +591,13 @@ msgstr "(Neamhbhail
 msgid "E677: Error writing temp file"
 msgstr "E677: Earráid agus comhad sealadach á scríobh"
 
-msgid "E703: Using a Funcref as a number"
+msgid "E703: Using a Funcref as a Number"
 msgstr "E703: Funcref á úsáid mar uimhir"
 
-msgid "E745: Using a List as a number"
+msgid "E745: Using a List as a Number"
 msgstr "E745: Liosta á úsáid mar uimhir"
 
-msgid "E728: Using a Dictionary as a number"
+msgid "E728: Using a Dictionary as a Number"
 msgstr "E728: Foclóir á úsáid mar uimhir"
 
 msgid "E729: using Funcref as a String"
@@ -1585,7 +1585,7 @@ msgstr "E203: Scrios n
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: D'athraigh uathordú líon na línte gan choinne"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "Ní cheadaíonn NetBeans maoláin gan athrú a bheith scríofa"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -5559,21 +5559,21 @@ msgstr "E440: l
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "Leagan GUI 16/32 giotán MS-Windows"
 
 msgid ""
 "\n"
-"MS-Windows 64 bit GUI version"
+"MS-Windows 64-bit GUI version"
 msgstr ""
 "\n"
 "Leagan GUI 64 giotán MS-Windows"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "Leagan GUI 32 giotán MS-Windows"
@@ -5586,28 +5586,28 @@ msgstr " le taca
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "Leagan consóil 32 giotán MS-Windows"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "Leagan 16 giotán MS-Windows"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "Leagan 32 giotán MS-DOS"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "Leagan 16 giotán MS-DOS"
index c04383c1f8198a8d998af9efa6034d735040494d..d977b945ef3d4a163806979a62e02f8b62d34e23 100644 (file)
@@ -11,9 +11,9 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: vim 7.1\n"
-"POT-Creation-Date: 2008-06-20 23:58+0200\n"
-"PO-Revision-Date:  2008-06-21 06:00+0200\n"
+"Project-Id-Version: vim 7.2\n"
+"POT-Creation-Date: 2008-06-25 09:10+0200\n"
+"PO-Revision-Date:  2008-06-27 23:00+0200\n"
 "Last-Translator:   Vlad Sandrini   <vlad.gently@gmail.com>\n"
 "Language-Team:     Italian"
 "                   Antonio Colombo <azc100@gmail.com>"
@@ -452,6 +452,9 @@ msgstr "E693: Posso confrontare un Funcref solo con un Funcref"
 msgid "E694: Invalid operation for Funcrefs"
 msgstr "E694: Operazione non valida per Funcref"
 
+msgid "E804: Cannot use '%' with Float"
+msgstr "E804: Non si può usare '%' con un numero con virgola"
+
 msgid "E110: Missing ')'"
 msgstr "E110: Manca ')'"
 
@@ -517,6 +520,9 @@ msgstr "E120: Uso di <SID> fuori dal contesto di uno script: %s"
 msgid "E725: Calling dict function without Dictionary: %s"
 msgstr "E725: Chiamata di funzione dict in assenza di Dizionario: %s"
 
+msgid "E808: Number or Float required"
+msgstr "E808: Ci vuole un numero intero o con virgola"
+
 msgid "E699: Too many arguments"
 msgstr "E699: Troppi argomenti"
 
@@ -593,6 +599,9 @@ msgstr "(Non valido)"
 msgid "E677: Error writing temp file"
 msgstr "E677: Errore in scrittura su file temporaneo"
 
+msgid "E805: Using a Float as a number"
+msgstr "E805: Uso di un numero con virgola come intero"
+
 msgid "E703: Using a Funcref as a number"
 msgstr "E703: Uso di Funcref come numero"
 
@@ -611,6 +620,9 @@ msgstr "E730: uso di Lista come Stringa"
 msgid "E731: using Dictionary as a String"
 msgstr "E731: uso di Dizionario come Stringa"
 
+msgid "E806: using Float as a String"
+msgstr "E806: uso di un numero con virgola come stringa"
+
 #, c-format
 msgid "E704: Funcref variable name must start with a capital: %s"
 msgstr ""
@@ -1580,7 +1592,7 @@ msgstr "E203: Buffer in scrittura cancellato o scaricato dagli autocomandi"
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: L'autocomando ha modificato numero linee in maniera imprevista"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans non permette la scrittura di un buffer non modificato"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -2490,19 +2502,6 @@ msgstr "numero linea non nell'intervallo"
 msgid "not allowed in the Vim sandbox"
 msgstr "non ammesso in ambiente protetto"
 
-#, c-format
-msgid "E370: Could not load library %s"
-msgstr "E370: Non posso caricare la libreria %s"
-
-msgid "Sorry, this command is disabled: the Perl library could not be loaded."
-msgstr ""
-"Spiacente, comando non disponibile, non riesco a caricare libreria programmi "
-"Perl."
-
-msgid "E299: Perl evaluation forbidden in sandbox without the Safe module"
-msgstr ""
-"E299: Valorizzazione Perl vietata in ambiente protetto senza il modulo Safe"
-
 msgid ""
 "E263: Sorry, this command is disabled, the Python library could not be "
 "loaded."
@@ -3829,6 +3828,9 @@ msgstr "E338: Spiacente, niente esplorazione file in modalit
 msgid "E766: Insufficient arguments for printf()"
 msgstr "E766: Argomenti non sufficienti per printf()"
 
+msgid "E807: Expected Float argument for printf()"
+msgstr "E807: Numero con virgola atteso come argomento per printf()"
+
 msgid "E767: Too many arguments to printf()"
 msgstr "E767: Troppi argomenti per printf()"
 
@@ -3950,7 +3952,6 @@ msgstr "E346: Nessun altra directory \"%s\" trovata nel 'cdpath'"
 msgid "E347: No more file \"%s\" found in path"
 msgstr "E347: Nessun altro file \"%s\" trovato nel percorso"
 
-#. Get here when the server can't be found.
 msgid "Cannot connect to Netbeans #2"
 msgstr "Non posso connettermi a Netbeans #2"
 
@@ -5850,6 +5851,19 @@ msgstr "E446: Nessun nome file sotto il cursore"
 msgid "E447: Can't find file \"%s\" in path"
 msgstr "E447: Non riesco a trovare il file \"%s\" nel percorso"
 
+#, c-format
+msgid "E370: Could not load library %s"
+msgstr "E370: Non posso caricare la libreria %s"
+
+msgid "Sorry, this command is disabled: the Perl library could not be loaded."
+msgstr ""
+"Spiacente, comando non disponibile, non riesco a caricare libreria programmi "
+"Perl."
+
+msgid "E299: Perl evaluation forbidden in sandbox without the Safe module"
+msgstr ""
+"E299: Valorizzazione Perl vietata in ambiente protetto senza il modulo Safe"
+
 msgid "Edit with &multiple Vims"
 msgstr "Apri con &molti Vim"
 
index 05389403bdb40e58e41e2f44e894378d160ab6d4..769a2ecf16a36afcd17bc2f09d2c2d83780d2b01 100644 (file)
@@ -594,13 +594,13 @@ msgstr "(̵
 msgid "E677: Error writing temp file"
 msgstr "E677: °ì»þ¥Õ¥¡¥¤¥ë½ñ¹þÃæ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤Þ¤·¤¿"
 
-msgid "E703: Using a Funcref as a number"
+msgid "E703: Using a Funcref as a Number"
 msgstr "E703: ´Ø¿ô»²¾È·¿¤ò¿ôÃͤȤ·¤Æ°·¤Ã¤Æ¤¤¤Þ¤¹¡£"
 
-msgid "E745: Using a List as a number"
+msgid "E745: Using a List as a Number"
 msgstr "E745: ¥ê¥¹¥È·¿¤ò¿ôÃͤȤ·¤Æ°·¤Ã¤Æ¤¤¤Þ¤¹"
 
-msgid "E728: Using a Dictionary as a number"
+msgid "E728: Using a Dictionary as a Number"
 msgstr "E728: ¼­½ñ·¿¤ò¿ôÃͤȤ·¤Æ°·¤Ã¤Æ¤¤¤Þ¤¹"
 
 msgid "E729: using Funcref as a String"
@@ -1575,7 +1575,7 @@ msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: autocommand¤¬Í½´ü¤»¤ÌÊýË¡¤Ç¹Ô¿ô¤òÊѹ¹¤·¤Þ¤·¤¿"
 
 # Added at 19-Jan-2004.
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans¤Ï̤Êѹ¹¤Î¥Ð¥Ã¥Õ¥¡¤ò¾å½ñ¤¹¤ë¤³¤È¤Ïµö²Ä¤·¤Æ¤¤¤Þ¤»¤ó"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -5500,21 +5500,21 @@ msgstr "E440: 
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 16/32 ¥Ó¥Ã¥È GUI ÈÇ"
 
 msgid ""
 "\n"
-"MS-Windows 64 bit GUI version"
+"MS-Windows 64-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 64 ¥Ó¥Ã¥È GUI ÈÇ"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 32 ¥Ó¥Ã¥È GUI ÈÇ"
@@ -5527,28 +5527,28 @@ msgstr " with OLE 
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "MS-Windows 32 ¥Ó¥Ã¥È ¥³¥ó¥½¡¼¥ë ÈÇ"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "MS-Windows 16 ¥Ó¥Ã¥È ÈÇ"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "32 ¥Ó¥Ã¥È MS-DOS ÈÇ"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "16 ¥Ó¥Ã¥È MS-DOS ÈÇ"
index 9b9ea2343e9be8ba33a6f595a113426508ba253b..90a37313e7efb67e0f18e25bf40b0cd3afedf0f2 100644 (file)
@@ -594,13 +594,13 @@ msgstr "(
 msgid "E677: Error writing temp file"
 msgstr "E677: \88ê\8e\9e\83t\83@\83C\83\8b\8f\91\8d\9e\92\86\82É\83G\83\89\81[\82ª\94­\90\82µ\82Ü\82µ\82½"
 
-msgid "E703: Using a Funcref as a number"
+msgid "E703: Using a Funcref as a Number"
 msgstr "E703: \8aÖ\90\94\8eQ\8fÆ\8c^\82ð\90\94\92l\82Æ\82µ\82Ä\88µ\82Á\82Ä\82¢\82Ü\82·\81B"
 
-msgid "E745: Using a List as a number"
+msgid "E745: Using a List as a Number"
 msgstr "E745: \83\8a\83X\83g\8c^\82ð\90\94\92l\82Æ\82µ\82Ä\88µ\82Á\82Ä\82¢\82Ü\82·"
 
-msgid "E728: Using a Dictionary as a number"
+msgid "E728: Using a Dictionary as a Number"
 msgstr "E728: \8e«\8f\91\8c^\82ð\90\94\92l\82Æ\82µ\82Ä\88µ\82Á\82Ä\82¢\82Ü\82·"
 
 msgid "E729: using Funcref as a String"
@@ -1575,7 +1575,7 @@ msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: autocommand\82ª\97\\\8aú\82¹\82Ê\95û\96@\82Å\8ds\90\94\82ð\95Ï\8dX\82µ\82Ü\82µ\82½"
 
 # Added at 19-Jan-2004.
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans\82Í\96¢\95Ï\8dX\82Ì\83o\83b\83t\83@\82ð\8fã\8f\91\82·\82é\82±\82Æ\82Í\8b\96\89Â\82µ\82Ä\82¢\82Ü\82¹\82ñ"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -5500,21 +5500,21 @@ msgstr "E440: 
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 16/32 \83r\83b\83g GUI \94Å"
 
 msgid ""
 "\n"
-"MS-Windows 64 bit GUI version"
+"MS-Windows 64-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 64 \83r\83b\83g GUI \94Å"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 32 \83r\83b\83g GUI \94Å"
@@ -5527,28 +5527,28 @@ msgstr " with OLE 
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "MS-Windows 32 \83r\83b\83\83R\83\93\83\\\81[\83\8b \94Å"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "MS-Windows 16 \83r\83b\83\94Å"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "32 \83r\83b\83g MS-DOS \94Å"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "16 \83r\83b\83g MS-DOS \94Å"
index e7cdf36dd0785ab1633dc54d08a46d5c2d7f21f7..5a514f5c0b450db550a13ff4cee74591a39fe58e 100644 (file)
@@ -1339,7 +1339,7 @@ msgstr "E203: 
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: Autocommand°¡ À߸øµÈ ¹æ¹ýÀ¸·Î ÁÙÀ» ¹Ù²Ù¾ú½À´Ï´Ù"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans¿¡¼­´Â ¹Ù²îÁö ¾ÊÀº ¹öÆÛ¸¦ ¾µ ¼ö ¾ø½À´Ï´Ù"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -4488,14 +4488,14 @@ msgstr "E440: undo 
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 16/32 ºñÆ® GUI ÆÇ"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 32 ºñÆ® GUI ÆÇ"
@@ -4508,28 +4508,28 @@ msgstr " OLE 
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "MS-Windows 32 ºñÆ® Äܼ֠ÆÇ"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "MS-Windows 16 ºñÆ® ÆÇ"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "32 ºñÆ® MS-DOS ÆÇ"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "16 ºñÆ® MS-DOS ÆÇ"
index d01dc937babd50dee92ccf467c6770b364d30d98..c141c3fe90349dd39be2d0026be25999b69d96ce 100644 (file)
@@ -612,13 +612,13 @@ msgstr "(Ugyldig)"
 msgid "E677: Error writing temp file"
 msgstr "E677: Feil under skriving til midlertidig fil"
 
-msgid "E703: Using a Funcref as a number"
+msgid "E703: Using a Funcref as a Number"
 msgstr "E703: Bruker en funksjonsreferanse som et nummer"
 
-msgid "E745: Using a List as a number"
+msgid "E745: Using a List as a Number"
 msgstr "E745: Bruker en liste som et nummer"
 
-msgid "E728: Using a Dictionary as a number"
+msgid "E728: Using a Dictionary as a Number"
 msgstr "E728: Bruker en ordliste som et nummer"
 
 msgid "E729: using Funcref as a String"
@@ -1582,7 +1582,7 @@ msgstr "E203: Autokommandoer slettet eller lastet ut buffer som skulle lagres"
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: Autokommando forandret linjeantall på en uventet måte"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans forbyr lagring av buffere som ikke er forandret"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -5473,21 +5473,21 @@ msgstr "E440: Angrelisten mangler"
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "MS Windows 16/32-bits grafisk versjon"
 
 msgid ""
 "\n"
-"MS-Windows 64 bit GUI version"
+"MS-Windows 64-bit GUI version"
 msgstr ""
 "\n"
 "MS Windows 64-bits grafisk versjon"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 32-bits GUI-versjon"
@@ -5500,28 +5500,28 @@ msgstr " med OLE-st
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "MS-Windows 32-bits konsollversjon"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "MS-Windows 16-bits versjon"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "32-bits MS-DOS-versjon"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "16-bits MS-DOS-versjon"
index e13c85595f07eb9d4bd042753ba03d9d09d2e25d..0161f5cbf1bc8670b843204c1fe7f11d2211fb17 100644 (file)
@@ -1,18 +1,18 @@
 # translation of pl.po to Polish
 # Polish Translation for Vim
 #
-# updated 2007 for vim-7.0
+# updated 2008 for vim-7.2
 #
 # FIRST AUTHOR Marcin Dalecki <martin@dalecki.de>, 2000.
-# Mikolaj Machowski <mikmach@wp.pl>, 2004, 2005, 2006, 2007.
+# Mikolaj Machowski <mikmach@wp.pl>, 2004, 2005, 2006, 2007, 2008.
 msgid ""
 msgstr ""
 "Project-Id-Version: pl\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-04-30 20:03+0200\n"
-"PO-Revision-Date: 2007-04-30 20:07+0200\n"
+"POT-Creation-Date: 2008-06-25 19:40+0200\n"
+"PO-Revision-Date: 2008-06-25 19:55+0200\n"
 "Last-Translator: Mikolaj Machowski <mikmach@wp.pl>\n"
-"Language-Team: Polish <kde-transl@mer.chemia.polsl.gliwice.pl>\n"
+"Language-Team: Polish <mikmach@wp.pl>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -450,6 +450,9 @@ msgstr "E693: Funcref mogę porównać tylko z Funcref"
 msgid "E694: Invalid operation for Funcrefs"
 msgstr "E694: Nieprawidłowa operacja dla Funcref"
 
+msgid "E804: Cannot use '%' with Float"
+msgstr "E804: Nie mogę użyć '%' w Zmiennoprzecinkowej"
+
 msgid "E110: Missing ')'"
 msgstr "E110: Brak ')'"
 
@@ -515,6 +518,9 @@ msgstr "E120: Użycie <SID> poza kontekstem skryptu: %s"
 msgid "E725: Calling dict function without Dictionary: %s"
 msgstr "E725: Wywołanie funkcji \"dict\" bez Słownika: %s"
 
+msgid "E808: Number or Float required"
+msgstr "E808: Wymagana Liczba lub Zmiennoprzecinkowa"
+
 msgid "E699: Too many arguments"
 msgstr "E699: Za dużo argumentów"
 
@@ -591,23 +597,29 @@ msgstr "(Niewłaściwe)"
 msgid "E677: Error writing temp file"
 msgstr "E677: Błąd zapisywania pliku tymczasowego"
 
+msgid "E805: Using a Float as a Number"
+msgstr "E805: Użycie Zmiennoprzecinkowej jako Liczby"
+
 msgid "E703: Using a Funcref as a number"
 msgstr "E703: Użycie Funcref jako liczby"
 
-msgid "E745: Using a List as a number"
-msgstr "E745: Użycie Listy jako liczby"
+msgid "E745: Using a List as a Number"
+msgstr "E745: Użycie Listy jako Liczby"
 
-msgid "E728: Using a Dictionary as a number"
-msgstr "E728: Użycie Słownika jako liczby"
+msgid "E728: Using a Dictionary as a Number"
+msgstr "E728: Użycie Słownika jako Liczby"
 
 msgid "E729: using Funcref as a String"
-msgstr "E729: Użycie Funcref jako Å\82ańcucha"
+msgstr "E729: Użycie Funcref jako Å\81ańcucha"
 
 msgid "E730: using List as a String"
-msgstr "E730: Użycie Listy jako Å\82ańcucha"
+msgstr "E730: Użycie Listy jako Å\81ańcucha"
 
 msgid "E731: using Dictionary as a String"
-msgstr "E731: Użycie Słownika jako łańcucha"
+msgstr "E731: Użycie Słownika jako Łańcucha"
+
+msgid "E806: using Float as a String"
+msgstr "E806: Użycie Zmiennoprzecinkowej jako Łańcucha"
 
 #, c-format
 msgid "E704: Funcref variable name must start with a capital: %s"
@@ -956,6 +968,20 @@ msgstr ""
 "opcja 'readonly' nastawiona dla \"%s\".\n"
 "Czy chcesz go pomimo tego zapisać?"
 
+#, c-format
+msgid ""
+"File permissions of \"%s\" are read-only.\n"
+"It may still be possible to write it.\n"
+"Do you wish to try?"
+msgstr ""
+"Prawa pliku \"%s\" są tylko do odczytu.\n"
+"Mimo to być może uda się zmienić ten plik.\n"
+"Chcesz spróbować?"
+
+#, c-format
+msgid "E505: \"%s\" is read-only (add ! to override)"
+msgstr "E505: \"%s\" jest tylko do odczytu (dodaj ! aby wymusić)"
+
 msgid "Edit File"
 msgstr "Edytuj Plik"
 
@@ -1505,6 +1531,9 @@ msgstr "[fifo]"
 msgid "[socket]"
 msgstr "[socket]"
 
+msgid "[character special]"
+msgstr "[specjalny znak]"
+
 msgid "[RO]"
 msgstr "[RO]"
 
@@ -1555,7 +1584,7 @@ msgstr "E203: Autokomendy skasowały lub wyładowały bufor przeznaczony do zapi
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: Autokomenda zmieniła liczbę wierszy w nieoczekiwany sposób"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans nie pozwala na zapis niezmodyfikowanych buforów"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -2317,15 +2346,15 @@ msgstr "E622: Nie mogłem utworzyć rozwidlenia dla cscope"
 msgid "cs_create_connection exec failed"
 msgstr "wykonanie cs_create_connection nie powiodło się"
 
-msgid "E623: Could not spawn cscope process"
-msgstr "E623: Nie mogłem stworzyć procesu cscope"
-
 msgid "cs_create_connection: fdopen for to_fp failed"
 msgstr "cs_create_connection: fdopen dla to_fp nie powiodło się"
 
 msgid "cs_create_connection: fdopen for fr_fp failed"
 msgstr "cs_create_connection: fdopen dla fr_fp nie powiodło się"
 
+msgid "E623: Could not spawn cscope process"
+msgstr "E623: Nie mogłem stworzyć procesu cscope"
+
 msgid "E567: no cscope connections"
 msgstr "E567: brak połączenia z cscope"
 
@@ -2486,8 +2515,8 @@ msgid "line number out of range"
 msgstr "numer wiersza poza zakresem"
 
 #, c-format
-msgid "<buffer object (deleted) at %8lX>"
-msgstr "<obiekt bufora (skasowany) w %8lX>"
+msgid "<buffer object (deleted) at %p>"
+msgstr "<obiekt bufora (skasowany) w %p>"
 
 msgid "invalid mark name"
 msgstr "niepoprawna nazwa zakładki"
@@ -2505,12 +2534,12 @@ msgid "cursor position outside buffer"
 msgstr "pozycja kursora poza buforem"
 
 #, c-format
-msgid "<window object (deleted) at %.8lX>"
-msgstr "<obiekt okna (skasowany) w %.8lX>"
+msgid "<window object (deleted) at %p>"
+msgstr "<obiekt okna (skasowany) w %p>"
 
 #, c-format
-msgid "<window object (unknown) at %.8lX>"
-msgstr "<obiekt okna (nieznany) w %.8lX>"
+msgid "<window object (unknown) at %p>"
+msgstr "<obiekt okna (nieznany) w %p>"
 
 #, c-format
 msgid "<window %d>"
@@ -2523,7 +2552,8 @@ msgid "E265: $_ must be an instance of String"
 msgstr "E265: $_ musi być reprezentacją Łańcucha"
 
 msgid "E266: Sorry, this command is disabled, the Ruby library could not be loaded."
-msgstr "E266: Przykro mi, ta komenda jest wyłączona, bo nie można załadować "
+msgstr ""
+"E266: Przykro mi, ta komenda jest wyłączona, bo nie można załadować "
 "biblioteki Ruby."
 
 msgid "E267: unexpected return"
@@ -2691,7 +2721,9 @@ msgstr ""
 "bufora/okna"
 
 msgid "E571: Sorry, this command is disabled: the Tcl library could not be loaded."
-msgstr "E571: Przykro mi, ta komenda jest wyłączona, bo nie można załadować biblioteki Tcl."
+msgstr ""
+"E571: Przykro mi, ta komenda jest wyłączona, bo nie można załadować "
+"biblioteki Tcl."
 
 msgid "E281: TCL ERROR: exit code is not int!? Please report this to vim-dev@vim.org"
 msgstr ""
@@ -2807,8 +2839,11 @@ msgstr ""
 "\n"
 "   lub:"
 
-msgid "where case is ignored prepend / to make flag upper case"
+msgid ""
+"\n"
+"Where case is ignored prepend / to make flag upper case"
 msgstr ""
+"\n"
 "gdzie wielkość znaków jest ignorowana dodaj na początku / by flaga była "
 "wielką literą"
 
@@ -2878,8 +2913,8 @@ msgstr "-C\t\t\tBądź zgodny z Vi: 'compatible'"
 msgid "-N\t\t\tNot fully Vi compatible: 'nocompatible'"
 msgstr "-N\t\t\tBądź niezupełnie zgodny z Vi: 'nocompatible'"
 
-msgid "-V[N]\t\tVerbose level"
-msgstr "-V[N]\t\tStopień gadatliwości"
+msgid "-V[N][fname]\t\tBe verbose [level N] [log messages to fname]"
+msgstr "-V[N][nazwap]\t\tGadatliwy [poziom N] [zapisuj wiadomości do nazwap]"
 
 msgid "-D\t\t\tDebugging mode"
 msgstr "-D\t\t\tTryb odpluskwiania"
@@ -2979,10 +3014,8 @@ msgstr "--remote-wait <pliki>\tTak jak --remote, lecz czekaj na pliki przed edyc
 msgid "--remote-wait-silent <files>  Same, don't complain if there is no server"
 msgstr "--remote-wait-silent <pliki>  To samo, nie narzekaj jeśli nie ma serwera"
 
-msgid "--remote-tab <files>  As --remote but open tab page for each file"
-msgstr ""
-"--remote-tab <pliki>\tTak jak --remote ale otwórz jedną kartę dla każdego "
-"pliku"
+msgid "--remote-tab[-wait][-silent] <files>  As --remote but use tab page per file"
+msgstr "--remote-tab[-wait][-silent] <pliki>  tak jak --remote ale używa jednej karty na plik"
 
 msgid "--remote-send <keys>\tSend <keys> to a Vim server and exit"
 msgstr "--remote-send <klawisze>\tWyślij <klawisze> do serwera Vima i zakończ"
@@ -3106,6 +3139,9 @@ msgstr "--socketid <xid>\tOtwórz Vim wewnątrz innego widgetu GTK"
 msgid "-P <parent title>\tOpen Vim inside parent application"
 msgstr "-P <tytuł rodzica>\tOtwórz Vima wewnątrz rodzicielskiej aplikacji"
 
+msgid "--windowid <HWND>\tOpen Vim inside another win32 widget"
+msgstr "--windowid <HWND>\tOtwórz Vima wewnątrz innego elementu win32"
+
 msgid "No display"
 msgstr "Brak display"
 
@@ -3754,6 +3790,9 @@ msgstr "E338: Przykro mi, nie ma przeglądarki plików w trybie konsoli"
 msgid "E766: Insufficient arguments for printf()"
 msgstr "E766: Za mało argumentów dla printf()"
 
+msgid "E807: Expected Float argument for printf()"
+msgstr "E807: Spodziewany argument Zmiennoprzecinkowy w printf()"
+
 msgid "E767: Too many arguments to printf()"
 msgstr "E767: Za dużo argumentów dla printf()"
 
@@ -3877,7 +3916,6 @@ msgstr "E346: Katalogu \"%s\" nie ma więcej w cdpath"
 msgid "E347: No more file \"%s\" found in path"
 msgstr "E347: Pliku \"%s\" nie ma więcej w tropie"
 
-#. Get here when the server can't be found.
 msgid "Cannot connect to Netbeans #2"
 msgstr "Nie można połączyć z Netbeans #2"
 
@@ -4161,6 +4199,13 @@ msgstr "E594: Potrzebuję przynajmniej %d kolumn"
 msgid "E355: Unknown option: %s"
 msgstr "E355: Nieznana opcja: %s"
 
+#. There's another character after zeros or the string
+#. * is empty.  In both cases, we are trying to set a
+#. * num option using a string.
+#, c-format
+msgid "E521: Number required: &%s = '%s'"
+msgstr "E521: Wymagana Liczba: &%s = '%s'"
+
 msgid ""
 "\n"
 "--- Terminal codes ---"
@@ -4312,6 +4357,20 @@ msgstr "Test ekranu X nie powiódł się"
 msgid "Opening the X display timed out"
 msgstr "Próba otwarcia ekranu X trwała zbyt długo"
 
+msgid ""
+"\n"
+"Could not get security context for "
+msgstr ""
+"\n"
+"Nie mogę uzyskać kontekstu bezpieczeństwa dla"
+
+msgid ""
+"\n"
+"Could not set security context for "
+msgstr ""
+"\n"
+"Nie można uzyskać kontekstu bezpieczeństwa dla"
+
 msgid ""
 "\n"
 "Cannot execute shell "
@@ -5437,21 +5496,21 @@ msgstr "E440: brak wiersza cofania"
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
-"16/32 bitowa wersja GUI dla MS-Windows"
+"16/32-bit wersja GUI dla MS-Windows"
 
 msgid ""
 "\n"
-"MS-Windows 64 bit GUI version"
+"MS-Windows 64-bit GUI version"
 msgstr ""
 "\n"
 "64 bitowa wersja GUI dla MS-Windows"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "32 bitowa wersja GUI dla MS-Windows"
@@ -5464,28 +5523,35 @@ msgstr " ze wspomaganiem OLE"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 64-bit console version"
+msgstr ""
+"\n"
+"32 bitowa wersja na konsolę dla MS-Windows"
+
+msgid ""
+"\n"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "32 bitowa wersja na konsolę dla MS-Windows"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "16 bitowa wersja dla MS-Windows"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "32 bitowa wersja dla MS-DOS"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "16 bitowa wersja dla MS-DOS"
@@ -5703,7 +5769,7 @@ msgid "type  :help cp-default<Enter> for info on this"
 msgstr "wprowadź :help cp-default<Enter>  dla informacji to tym  "
 
 msgid "menu  Help->Orphans           for information    "
-msgstr "wprowadź :help iccf<Enter>        dla informacji to tym  "
+msgstr "menu Pomoc->Sieroty        dla informacji to tym  "
 
 msgid "Running modeless, typed text is inserted"
 msgstr "Uruchomiony bez trybów, wpisany tekst jest wprowadzany"
index 1bbc7fcd0ba97b012f270050ba9acc0765de30d0..31d084ffa2ec15bd311190e3b4924b424a9e115e 100644 (file)
@@ -1,18 +1,18 @@
 # translation of pl.po to Polish
 # Polish Translation for Vim
 #
-# updated 2007 for vim-7.0
+# updated 2008 for vim-7.2
 #
 # FIRST AUTHOR Marcin Dalecki <martin@dalecki.de>, 2000.
-# Mikolaj Machowski <mikmach@wp.pl>, 2004, 2005, 2006, 2007.
+# Mikolaj Machowski <mikmach@wp.pl>, 2004, 2005, 2006, 2007, 2008.
 msgid ""
 msgstr ""
 "Project-Id-Version: pl\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-04-30 20:03+0200\n"
-"PO-Revision-Date: 2007-04-30 20:07+0200\n"
+"POT-Creation-Date: 2008-06-25 19:40+0200\n"
+"PO-Revision-Date: 2008-06-25 19:55+0200\n"
 "Last-Translator: Mikolaj Machowski <mikmach@wp.pl>\n"
-"Language-Team: Polish <kde-transl@mer.chemia.polsl.gliwice.pl>\n"
+"Language-Team: Polish <mikmach@wp.pl>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=cp1250\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -450,6 +450,9 @@ msgstr "E693: Funcref mog
 msgid "E694: Invalid operation for Funcrefs"
 msgstr "E694: Nieprawid³owa operacja dla Funcref"
 
+msgid "E804: Cannot use '%' with Float"
+msgstr "E804: Nie mogê u¿yæ '%' w Zmiennoprzecinkowej"
+
 msgid "E110: Missing ')'"
 msgstr "E110: Brak ')'"
 
@@ -515,6 +518,9 @@ msgstr "E120: U
 msgid "E725: Calling dict function without Dictionary: %s"
 msgstr "E725: Wywo³anie funkcji \"dict\" bez S³ownika: %s"
 
+msgid "E808: Number or Float required"
+msgstr "E808: Wymagana Liczba lub Zmiennoprzecinkowa"
+
 msgid "E699: Too many arguments"
 msgstr "E699: Za du¿o argumentów"
 
@@ -591,23 +597,29 @@ msgstr "(Niew
 msgid "E677: Error writing temp file"
 msgstr "E677: B³¹d zapisywania pliku tymczasowego"
 
+msgid "E805: Using a Float as a Number"
+msgstr "E805: U¿ycie Zmiennoprzecinkowej jako Liczby"
+
 msgid "E703: Using a Funcref as a number"
 msgstr "E703: U¿ycie Funcref jako liczby"
 
-msgid "E745: Using a List as a number"
-msgstr "E745: U¿ycie Listy jako liczby"
+msgid "E745: Using a List as a Number"
+msgstr "E745: U¿ycie Listy jako Liczby"
 
-msgid "E728: Using a Dictionary as a number"
-msgstr "E728: U¿ycie S³ownika jako liczby"
+msgid "E728: Using a Dictionary as a Number"
+msgstr "E728: U¿ycie S³ownika jako Liczby"
 
 msgid "E729: using Funcref as a String"
-msgstr "E729: U¿ycie Funcref jako ³añcucha"
+msgstr "E729: U¿ycie Funcref jako £añcucha"
 
 msgid "E730: using List as a String"
-msgstr "E730: U¿ycie Listy jako ³añcucha"
+msgstr "E730: U¿ycie Listy jako £añcucha"
 
 msgid "E731: using Dictionary as a String"
-msgstr "E731: U¿ycie S³ownika jako ³añcucha"
+msgstr "E731: U¿ycie S³ownika jako £añcucha"
+
+msgid "E806: using Float as a String"
+msgstr "E806: U¿ycie Zmiennoprzecinkowej jako £añcucha"
 
 #, c-format
 msgid "E704: Funcref variable name must start with a capital: %s"
@@ -956,6 +968,20 @@ msgstr ""
 "opcja 'readonly' nastawiona dla \"%s\".\n"
 "Czy chcesz go pomimo tego zapisaæ?"
 
+#, c-format
+msgid ""
+"File permissions of \"%s\" are read-only.\n"
+"It may still be possible to write it.\n"
+"Do you wish to try?"
+msgstr ""
+"Prawa pliku \"%s\" s¹ tylko do odczytu.\n"
+"Mimo to byæ mo¿e uda siê zmieniæ ten plik.\n"
+"Chcesz spróbowaæ?"
+
+#, c-format
+msgid "E505: \"%s\" is read-only (add ! to override)"
+msgstr "E505: \"%s\" jest tylko do odczytu (dodaj ! aby wymusiæ)"
+
 msgid "Edit File"
 msgstr "Edytuj Plik"
 
@@ -1505,6 +1531,9 @@ msgstr "[fifo]"
 msgid "[socket]"
 msgstr "[socket]"
 
+msgid "[character special]"
+msgstr "[specjalny znak]"
+
 msgid "[RO]"
 msgstr "[RO]"
 
@@ -1555,7 +1584,7 @@ msgstr "E203: Autokomendy skasowa
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: Autokomenda zmieni³a liczbê wierszy w nieoczekiwany sposób"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans nie pozwala na zapis niezmodyfikowanych buforów"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -2317,15 +2346,15 @@ msgstr "E622: Nie mog
 msgid "cs_create_connection exec failed"
 msgstr "wykonanie cs_create_connection nie powiod³o siê"
 
-msgid "E623: Could not spawn cscope process"
-msgstr "E623: Nie mog³em stworzyæ procesu cscope"
-
 msgid "cs_create_connection: fdopen for to_fp failed"
 msgstr "cs_create_connection: fdopen dla to_fp nie powiod³o siê"
 
 msgid "cs_create_connection: fdopen for fr_fp failed"
 msgstr "cs_create_connection: fdopen dla fr_fp nie powiod³o siê"
 
+msgid "E623: Could not spawn cscope process"
+msgstr "E623: Nie mog³em stworzyæ procesu cscope"
+
 msgid "E567: no cscope connections"
 msgstr "E567: brak po³¹czenia z cscope"
 
@@ -2486,8 +2515,8 @@ msgid "line number out of range"
 msgstr "numer wiersza poza zakresem"
 
 #, c-format
-msgid "<buffer object (deleted) at %8lX>"
-msgstr "<obiekt bufora (skasowany) w %8lX>"
+msgid "<buffer object (deleted) at %p>"
+msgstr "<obiekt bufora (skasowany) w %p>"
 
 msgid "invalid mark name"
 msgstr "niepoprawna nazwa zak³adki"
@@ -2505,12 +2534,12 @@ msgid "cursor position outside buffer"
 msgstr "pozycja kursora poza buforem"
 
 #, c-format
-msgid "<window object (deleted) at %.8lX>"
-msgstr "<obiekt okna (skasowany) w %.8lX>"
+msgid "<window object (deleted) at %p>"
+msgstr "<obiekt okna (skasowany) w %p>"
 
 #, c-format
-msgid "<window object (unknown) at %.8lX>"
-msgstr "<obiekt okna (nieznany) w %.8lX>"
+msgid "<window object (unknown) at %p>"
+msgstr "<obiekt okna (nieznany) w %p>"
 
 #, c-format
 msgid "<window %d>"
@@ -2523,7 +2552,8 @@ msgid "E265: $_ must be an instance of String"
 msgstr "E265: $_ musi byæ reprezentacj¹ £añcucha"
 
 msgid "E266: Sorry, this command is disabled, the Ruby library could not be loaded."
-msgstr "E266: Przykro mi, ta komenda jest wy³¹czona, bo nie mo¿na za³adowaæ "
+msgstr ""
+"E266: Przykro mi, ta komenda jest wy³¹czona, bo nie mo¿na za³adowaæ "
 "biblioteki Ruby."
 
 msgid "E267: unexpected return"
@@ -2691,7 +2721,9 @@ msgstr ""
 "bufora/okna"
 
 msgid "E571: Sorry, this command is disabled: the Tcl library could not be loaded."
-msgstr "E571: Przykro mi, ta komenda jest wy³¹czona, bo nie mo¿na za³adowaæ biblioteki Tcl."
+msgstr ""
+"E571: Przykro mi, ta komenda jest wy³¹czona, bo nie mo¿na za³adowaæ "
+"biblioteki Tcl."
 
 msgid "E281: TCL ERROR: exit code is not int!? Please report this to vim-dev@vim.org"
 msgstr ""
@@ -2807,8 +2839,11 @@ msgstr ""
 "\n"
 "   lub:"
 
-msgid "where case is ignored prepend / to make flag upper case"
+msgid ""
+"\n"
+"Where case is ignored prepend / to make flag upper case"
 msgstr ""
+"\n"
 "gdzie wielko\9cæ znaków jest ignorowana dodaj na pocz¹tku / by flaga by³a "
 "wielk¹ liter¹"
 
@@ -2878,8 +2913,8 @@ msgstr "-C\t\t\tB
 msgid "-N\t\t\tNot fully Vi compatible: 'nocompatible'"
 msgstr "-N\t\t\tB¹d\9f niezupe³nie zgodny z Vi: 'nocompatible'"
 
-msgid "-V[N]\t\tVerbose level"
-msgstr "-V[N]\t\tStopieñ gadatliwo\9cci"
+msgid "-V[N][fname]\t\tBe verbose [level N] [log messages to fname]"
+msgstr "-V[N][nazwap]\t\tGadatliwy [poziom N] [zapisuj wiadomo\9cci do nazwap]"
 
 msgid "-D\t\t\tDebugging mode"
 msgstr "-D\t\t\tTryb odpluskwiania"
@@ -2979,10 +3014,8 @@ msgstr "--remote-wait <pliki>\tTak jak --remote, lecz czekaj na pliki przed edyc
 msgid "--remote-wait-silent <files>  Same, don't complain if there is no server"
 msgstr "--remote-wait-silent <pliki>  To samo, nie narzekaj je\9cli nie ma serwera"
 
-msgid "--remote-tab <files>  As --remote but open tab page for each file"
-msgstr ""
-"--remote-tab <pliki>\tTak jak --remote ale otwórz jedn¹ kartê dla ka¿dego "
-"pliku"
+msgid "--remote-tab[-wait][-silent] <files>  As --remote but use tab page per file"
+msgstr "--remote-tab[-wait][-silent] <pliki>  tak jak --remote ale u¿ywa jednej karty na plik"
 
 msgid "--remote-send <keys>\tSend <keys> to a Vim server and exit"
 msgstr "--remote-send <klawisze>\tWy\9clij <klawisze> do serwera Vima i zakoñcz"
@@ -3106,6 +3139,9 @@ msgstr "--socketid <xid>\tOtw
 msgid "-P <parent title>\tOpen Vim inside parent application"
 msgstr "-P <tytu³ rodzica>\tOtwórz Vima wewn¹trz rodzicielskiej aplikacji"
 
+msgid "--windowid <HWND>\tOpen Vim inside another win32 widget"
+msgstr "--windowid <HWND>\tOtwórz Vima wewn¹trz innego elementu win32"
+
 msgid "No display"
 msgstr "Brak display"
 
@@ -3754,6 +3790,9 @@ msgstr "E338: Przykro mi, nie ma przegl
 msgid "E766: Insufficient arguments for printf()"
 msgstr "E766: Za ma³o argumentów dla printf()"
 
+msgid "E807: Expected Float argument for printf()"
+msgstr "E807: Spodziewany argument Zmiennoprzecinkowy w printf()"
+
 msgid "E767: Too many arguments to printf()"
 msgstr "E767: Za du¿o argumentów dla printf()"
 
@@ -3877,7 +3916,6 @@ msgstr "E346: Katalogu \"%s\" nie ma wi
 msgid "E347: No more file \"%s\" found in path"
 msgstr "E347: Pliku \"%s\" nie ma wiêcej w tropie"
 
-#. Get here when the server can't be found.
 msgid "Cannot connect to Netbeans #2"
 msgstr "Nie mo¿na po³¹czyæ z Netbeans #2"
 
@@ -4161,6 +4199,13 @@ msgstr "E594: Potrzebuj
 msgid "E355: Unknown option: %s"
 msgstr "E355: Nieznana opcja: %s"
 
+#. There's another character after zeros or the string
+#. * is empty.  In both cases, we are trying to set a
+#. * num option using a string.
+#, c-format
+msgid "E521: Number required: &%s = '%s'"
+msgstr "E521: Wymagana Liczba: &%s = '%s'"
+
 msgid ""
 "\n"
 "--- Terminal codes ---"
@@ -4312,6 +4357,20 @@ msgstr "Test ekranu X nie powi
 msgid "Opening the X display timed out"
 msgstr "Próba otwarcia ekranu X trwa³a zbyt d³ugo"
 
+msgid ""
+"\n"
+"Could not get security context for "
+msgstr ""
+"\n"
+"Nie mogê uzyskaæ kontekstu bezpieczeñstwa dla"
+
+msgid ""
+"\n"
+"Could not set security context for "
+msgstr ""
+"\n"
+"Nie mo¿na uzyskaæ kontekstu bezpieczeñstwa dla"
+
 msgid ""
 "\n"
 "Cannot execute shell "
@@ -5437,21 +5496,21 @@ msgstr "E440: brak wiersza cofania"
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
-"16/32 bitowa wersja GUI dla MS-Windows"
+"16/32-bit wersja GUI dla MS-Windows"
 
 msgid ""
 "\n"
-"MS-Windows 64 bit GUI version"
+"MS-Windows 64-bit GUI version"
 msgstr ""
 "\n"
 "64 bitowa wersja GUI dla MS-Windows"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "32 bitowa wersja GUI dla MS-Windows"
@@ -5464,28 +5523,35 @@ msgstr " ze wspomaganiem OLE"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 64-bit console version"
+msgstr ""
+"\n"
+"32 bitowa wersja na konsolê dla MS-Windows"
+
+msgid ""
+"\n"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "32 bitowa wersja na konsolê dla MS-Windows"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "16 bitowa wersja dla MS-Windows"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "32 bitowa wersja dla MS-DOS"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "16 bitowa wersja dla MS-DOS"
@@ -5703,7 +5769,7 @@ msgid "type  :help cp-default<Enter> for info on this"
 msgstr "wprowad\9f :help cp-default<Enter>  dla informacji to tym  "
 
 msgid "menu  Help->Orphans           for information    "
-msgstr "wprowad\9f :help iccf<Enter>        dla informacji to tym  "
+msgstr "menu Pomoc->Sieroty        dla informacji to tym  "
 
 msgid "Running modeless, typed text is inserted"
 msgstr "Uruchomiony bez trybów, wpisany tekst jest wprowadzany"
index 696355d329ac3dfeb341353f19884639ab6cab06..0e4522ded293029debc88cf947aca297737cad73 100644 (file)
@@ -1,18 +1,18 @@
 # translation of pl.po to Polish
 # Polish Translation for Vim
 #
-# updated 2007 for vim-7.0
+# updated 2008 for vim-7.2
 #
 # FIRST AUTHOR Marcin Dalecki <martin@dalecki.de>, 2000.
-# Mikolaj Machowski <mikmach@wp.pl>, 2004, 2005, 2006, 2007.
+# Mikolaj Machowski <mikmach@wp.pl>, 2004, 2005, 2006, 2007, 2008.
 msgid ""
 msgstr ""
 "Project-Id-Version: pl\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-04-30 20:03+0200\n"
-"PO-Revision-Date: 2007-04-30 20:07+0200\n"
+"POT-Creation-Date: 2008-06-25 19:40+0200\n"
+"PO-Revision-Date: 2008-06-25 19:55+0200\n"
 "Last-Translator: Mikolaj Machowski <mikmach@wp.pl>\n"
-"Language-Team: Polish <kde-transl@mer.chemia.polsl.gliwice.pl>\n"
+"Language-Team: Polish <mikmach@wp.pl>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=ISO-8859-2\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -450,6 +450,9 @@ msgstr "E693: Funcref mog
 msgid "E694: Invalid operation for Funcrefs"
 msgstr "E694: Nieprawid³owa operacja dla Funcref"
 
+msgid "E804: Cannot use '%' with Float"
+msgstr "E804: Nie mogê u¿yæ '%' w Zmiennoprzecinkowej"
+
 msgid "E110: Missing ')'"
 msgstr "E110: Brak ')'"
 
@@ -515,6 +518,9 @@ msgstr "E120: U
 msgid "E725: Calling dict function without Dictionary: %s"
 msgstr "E725: Wywo³anie funkcji \"dict\" bez S³ownika: %s"
 
+msgid "E808: Number or Float required"
+msgstr "E808: Wymagana Liczba lub Zmiennoprzecinkowa"
+
 msgid "E699: Too many arguments"
 msgstr "E699: Za du¿o argumentów"
 
@@ -591,23 +597,29 @@ msgstr "(Niew
 msgid "E677: Error writing temp file"
 msgstr "E677: B³±d zapisywania pliku tymczasowego"
 
+msgid "E805: Using a Float as a Number"
+msgstr "E805: U¿ycie Zmiennoprzecinkowej jako Liczby"
+
 msgid "E703: Using a Funcref as a number"
 msgstr "E703: U¿ycie Funcref jako liczby"
 
-msgid "E745: Using a List as a number"
-msgstr "E745: U¿ycie Listy jako liczby"
+msgid "E745: Using a List as a Number"
+msgstr "E745: U¿ycie Listy jako Liczby"
 
-msgid "E728: Using a Dictionary as a number"
-msgstr "E728: U¿ycie S³ownika jako liczby"
+msgid "E728: Using a Dictionary as a Number"
+msgstr "E728: U¿ycie S³ownika jako Liczby"
 
 msgid "E729: using Funcref as a String"
-msgstr "E729: U¿ycie Funcref jako ³añcucha"
+msgstr "E729: U¿ycie Funcref jako £añcucha"
 
 msgid "E730: using List as a String"
-msgstr "E730: U¿ycie Listy jako ³añcucha"
+msgstr "E730: U¿ycie Listy jako £añcucha"
 
 msgid "E731: using Dictionary as a String"
-msgstr "E731: U¿ycie S³ownika jako ³añcucha"
+msgstr "E731: U¿ycie S³ownika jako £añcucha"
+
+msgid "E806: using Float as a String"
+msgstr "E806: U¿ycie Zmiennoprzecinkowej jako £añcucha"
 
 #, c-format
 msgid "E704: Funcref variable name must start with a capital: %s"
@@ -956,6 +968,20 @@ msgstr ""
 "opcja 'readonly' nastawiona dla \"%s\".\n"
 "Czy chcesz go pomimo tego zapisaæ?"
 
+#, c-format
+msgid ""
+"File permissions of \"%s\" are read-only.\n"
+"It may still be possible to write it.\n"
+"Do you wish to try?"
+msgstr ""
+"Prawa pliku \"%s\" s± tylko do odczytu.\n"
+"Mimo to byæ mo¿e uda siê zmieniæ ten plik.\n"
+"Chcesz spróbowaæ?"
+
+#, c-format
+msgid "E505: \"%s\" is read-only (add ! to override)"
+msgstr "E505: \"%s\" jest tylko do odczytu (dodaj ! aby wymusiæ)"
+
 msgid "Edit File"
 msgstr "Edytuj Plik"
 
@@ -1505,6 +1531,9 @@ msgstr "[fifo]"
 msgid "[socket]"
 msgstr "[socket]"
 
+msgid "[character special]"
+msgstr "[specjalny znak]"
+
 msgid "[RO]"
 msgstr "[RO]"
 
@@ -1555,7 +1584,7 @@ msgstr "E203: Autokomendy skasowa
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: Autokomenda zmieni³a liczbê wierszy w nieoczekiwany sposób"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans nie pozwala na zapis niezmodyfikowanych buforów"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -2317,15 +2346,15 @@ msgstr "E622: Nie mog
 msgid "cs_create_connection exec failed"
 msgstr "wykonanie cs_create_connection nie powiod³o siê"
 
-msgid "E623: Could not spawn cscope process"
-msgstr "E623: Nie mog³em stworzyæ procesu cscope"
-
 msgid "cs_create_connection: fdopen for to_fp failed"
 msgstr "cs_create_connection: fdopen dla to_fp nie powiod³o siê"
 
 msgid "cs_create_connection: fdopen for fr_fp failed"
 msgstr "cs_create_connection: fdopen dla fr_fp nie powiod³o siê"
 
+msgid "E623: Could not spawn cscope process"
+msgstr "E623: Nie mog³em stworzyæ procesu cscope"
+
 msgid "E567: no cscope connections"
 msgstr "E567: brak po³±czenia z cscope"
 
@@ -2486,8 +2515,8 @@ msgid "line number out of range"
 msgstr "numer wiersza poza zakresem"
 
 #, c-format
-msgid "<buffer object (deleted) at %8lX>"
-msgstr "<obiekt bufora (skasowany) w %8lX>"
+msgid "<buffer object (deleted) at %p>"
+msgstr "<obiekt bufora (skasowany) w %p>"
 
 msgid "invalid mark name"
 msgstr "niepoprawna nazwa zak³adki"
@@ -2505,12 +2534,12 @@ msgid "cursor position outside buffer"
 msgstr "pozycja kursora poza buforem"
 
 #, c-format
-msgid "<window object (deleted) at %.8lX>"
-msgstr "<obiekt okna (skasowany) w %.8lX>"
+msgid "<window object (deleted) at %p>"
+msgstr "<obiekt okna (skasowany) w %p>"
 
 #, c-format
-msgid "<window object (unknown) at %.8lX>"
-msgstr "<obiekt okna (nieznany) w %.8lX>"
+msgid "<window object (unknown) at %p>"
+msgstr "<obiekt okna (nieznany) w %p>"
 
 #, c-format
 msgid "<window %d>"
@@ -2523,7 +2552,8 @@ msgid "E265: $_ must be an instance of String"
 msgstr "E265: $_ musi byæ reprezentacj± £añcucha"
 
 msgid "E266: Sorry, this command is disabled, the Ruby library could not be loaded."
-msgstr "E266: Przykro mi, ta komenda jest wy³±czona, bo nie mo¿na za³adowaæ "
+msgstr ""
+"E266: Przykro mi, ta komenda jest wy³±czona, bo nie mo¿na za³adowaæ "
 "biblioteki Ruby."
 
 msgid "E267: unexpected return"
@@ -2691,7 +2721,9 @@ msgstr ""
 "bufora/okna"
 
 msgid "E571: Sorry, this command is disabled: the Tcl library could not be loaded."
-msgstr "E571: Przykro mi, ta komenda jest wy³±czona, bo nie mo¿na za³adowaæ biblioteki Tcl."
+msgstr ""
+"E571: Przykro mi, ta komenda jest wy³±czona, bo nie mo¿na za³adowaæ "
+"biblioteki Tcl."
 
 msgid "E281: TCL ERROR: exit code is not int!? Please report this to vim-dev@vim.org"
 msgstr ""
@@ -2807,8 +2839,11 @@ msgstr ""
 "\n"
 "   lub:"
 
-msgid "where case is ignored prepend / to make flag upper case"
+msgid ""
+"\n"
+"Where case is ignored prepend / to make flag upper case"
 msgstr ""
+"\n"
 "gdzie wielko¶æ znaków jest ignorowana dodaj na pocz±tku / by flaga by³a "
 "wielk± liter±"
 
@@ -2878,8 +2913,8 @@ msgstr "-C\t\t\tB
 msgid "-N\t\t\tNot fully Vi compatible: 'nocompatible'"
 msgstr "-N\t\t\tB±d¼ niezupe³nie zgodny z Vi: 'nocompatible'"
 
-msgid "-V[N]\t\tVerbose level"
-msgstr "-V[N]\t\tStopieñ gadatliwo¶ci"
+msgid "-V[N][fname]\t\tBe verbose [level N] [log messages to fname]"
+msgstr "-V[N][nazwap]\t\tGadatliwy [poziom N] [zapisuj wiadomo¶ci do nazwap]"
 
 msgid "-D\t\t\tDebugging mode"
 msgstr "-D\t\t\tTryb odpluskwiania"
@@ -2979,10 +3014,8 @@ msgstr "--remote-wait <pliki>\tTak jak --remote, lecz czekaj na pliki przed edyc
 msgid "--remote-wait-silent <files>  Same, don't complain if there is no server"
 msgstr "--remote-wait-silent <pliki>  To samo, nie narzekaj je¶li nie ma serwera"
 
-msgid "--remote-tab <files>  As --remote but open tab page for each file"
-msgstr ""
-"--remote-tab <pliki>\tTak jak --remote ale otwórz jedn± kartê dla ka¿dego "
-"pliku"
+msgid "--remote-tab[-wait][-silent] <files>  As --remote but use tab page per file"
+msgstr "--remote-tab[-wait][-silent] <pliki>  tak jak --remote ale u¿ywa jednej karty na plik"
 
 msgid "--remote-send <keys>\tSend <keys> to a Vim server and exit"
 msgstr "--remote-send <klawisze>\tWy¶lij <klawisze> do serwera Vima i zakoñcz"
@@ -3106,6 +3139,9 @@ msgstr "--socketid <xid>\tOtw
 msgid "-P <parent title>\tOpen Vim inside parent application"
 msgstr "-P <tytu³ rodzica>\tOtwórz Vima wewn±trz rodzicielskiej aplikacji"
 
+msgid "--windowid <HWND>\tOpen Vim inside another win32 widget"
+msgstr "--windowid <HWND>\tOtwórz Vima wewn±trz innego elementu win32"
+
 msgid "No display"
 msgstr "Brak display"
 
@@ -3754,6 +3790,9 @@ msgstr "E338: Przykro mi, nie ma przegl
 msgid "E766: Insufficient arguments for printf()"
 msgstr "E766: Za ma³o argumentów dla printf()"
 
+msgid "E807: Expected Float argument for printf()"
+msgstr "E807: Spodziewany argument Zmiennoprzecinkowy w printf()"
+
 msgid "E767: Too many arguments to printf()"
 msgstr "E767: Za du¿o argumentów dla printf()"
 
@@ -3877,7 +3916,6 @@ msgstr "E346: Katalogu \"%s\" nie ma wi
 msgid "E347: No more file \"%s\" found in path"
 msgstr "E347: Pliku \"%s\" nie ma wiêcej w tropie"
 
-#. Get here when the server can't be found.
 msgid "Cannot connect to Netbeans #2"
 msgstr "Nie mo¿na po³±czyæ z Netbeans #2"
 
@@ -4161,6 +4199,13 @@ msgstr "E594: Potrzebuj
 msgid "E355: Unknown option: %s"
 msgstr "E355: Nieznana opcja: %s"
 
+#. There's another character after zeros or the string
+#. * is empty.  In both cases, we are trying to set a
+#. * num option using a string.
+#, c-format
+msgid "E521: Number required: &%s = '%s'"
+msgstr "E521: Wymagana Liczba: &%s = '%s'"
+
 msgid ""
 "\n"
 "--- Terminal codes ---"
@@ -4312,6 +4357,20 @@ msgstr "Test ekranu X nie powi
 msgid "Opening the X display timed out"
 msgstr "Próba otwarcia ekranu X trwa³a zbyt d³ugo"
 
+msgid ""
+"\n"
+"Could not get security context for "
+msgstr ""
+"\n"
+"Nie mogê uzyskaæ kontekstu bezpieczeñstwa dla"
+
+msgid ""
+"\n"
+"Could not set security context for "
+msgstr ""
+"\n"
+"Nie mo¿na uzyskaæ kontekstu bezpieczeñstwa dla"
+
 msgid ""
 "\n"
 "Cannot execute shell "
@@ -5437,21 +5496,21 @@ msgstr "E440: brak wiersza cofania"
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
-"16/32 bitowa wersja GUI dla MS-Windows"
+"16/32-bit wersja GUI dla MS-Windows"
 
 msgid ""
 "\n"
-"MS-Windows 64 bit GUI version"
+"MS-Windows 64-bit GUI version"
 msgstr ""
 "\n"
 "64 bitowa wersja GUI dla MS-Windows"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "32 bitowa wersja GUI dla MS-Windows"
@@ -5464,28 +5523,35 @@ msgstr " ze wspomaganiem OLE"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 64-bit console version"
+msgstr ""
+"\n"
+"32 bitowa wersja na konsolê dla MS-Windows"
+
+msgid ""
+"\n"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "32 bitowa wersja na konsolê dla MS-Windows"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "16 bitowa wersja dla MS-Windows"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "32 bitowa wersja dla MS-DOS"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "16 bitowa wersja dla MS-DOS"
@@ -5703,7 +5769,7 @@ msgid "type  :help cp-default<Enter> for info on this"
 msgstr "wprowad¼ :help cp-default<Enter>  dla informacji to tym  "
 
 msgid "menu  Help->Orphans           for information    "
-msgstr "wprowad¼ :help iccf<Enter>        dla informacji to tym  "
+msgstr "menu Pomoc->Sieroty        dla informacji to tym  "
 
 msgid "Running modeless, typed text is inserted"
 msgstr "Uruchomiony bez trybów, wpisany tekst jest wprowadzany"
index 3415cad8fc880827c2d6328881b587e54eee1c15..efbe0601ab1e05352d24c225ed69f826b691c053 100644 (file)
@@ -1348,7 +1348,7 @@ msgstr ""
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: Êîëè÷åñòâî ñòðîê èçìåíåíî àâòîêîìàíäîé íåîæèäàííûì îáðàçîì"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans íå ïîçâîëÿåò âûïîëíÿòü çàïèñü íåèçìåí¸ííûõ áóôåðîâ"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -4563,14 +4563,14 @@ msgstr "E440: 
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "Âåðñèÿ ñ ãðàôè÷åñêèì èíòåðôåéñîì äëÿ MS-Windows 16/32 áèò"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "Âåðñèÿ ñ ãðàôè÷åñêèì èíòåðôåéñîì äëÿ MS-Windows 32 áèò"
@@ -4583,28 +4583,28 @@ msgstr " 
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "Êîíñîëüíàÿ âåðñèÿ äëÿ MS-Windows 32 áèò"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "Âåðñèÿ äëÿ MS-Windows 16 áèò"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "Âåðñèÿ äëÿ MS-DOS 32 áèò"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "Âåðñèÿ äëÿ MS-DOS 16 áèò"
index 9a6310750c36aec133a491d2755fa69293a82429..797852bfa9ede2f2f434bb220c1541b887ed16e3 100644 (file)
@@ -1348,7 +1348,7 @@ msgstr ""
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: Количество строк изменено автокомандой неожиданным образом"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans не позволяет выполнять запись неизменённых буферов"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -4563,14 +4563,14 @@ msgstr "E440: потеряна строка отмены"
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "Версия с графическим интерфейсом для MS-Windows 16/32 бит"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "Версия с графическим интерфейсом для MS-Windows 32 бит"
@@ -4583,28 +4583,28 @@ msgstr " с поддержкой OLE"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "Консольная версия для MS-Windows 32 бит"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "Версия для MS-Windows 16 бит"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "Версия для MS-DOS 32 бит"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "Версия для MS-DOS 16 бит"
index eb4e3b0e5235d082d0ab0f2d6fc3fa6791323828..262a96301e74107c93aa14b793dfbe55e4e3c5b6 100644 (file)
@@ -544,13 +544,13 @@ msgstr "(Chybn
 msgid "E677: Error writing temp file"
 msgstr "E677: Chyba pri zápise doèasného súboru"
 
-msgid "E703: Using a Funcref as a number"
+msgid "E703: Using a Funcref as a Number"
 msgstr "E703: Pou\9eitý odkaz na Funkciu (Funcref) ako èíslo"
 
-msgid "E745: Using a List as a number"
+msgid "E745: Using a List as a Number"
 msgstr "E745: Zoznam (List) pou\9eitý ako èíslo"
 
-msgid "E728: Using a Dictionary as a number"
+msgid "E728: Using a Dictionary as a Number"
 msgstr "E728: Slovník (Dictionary) pou\9eitý ako èíslo"
 
 msgid "E729: using Funcref as a String"
@@ -1439,7 +1439,7 @@ msgstr ""
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: Automatický príkaz neoèakávaným spôsobom zmenil poèet riadkov"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans rozhranie nedovolilo zapísa\9d nemodifikované buffre"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -5126,14 +5126,14 @@ msgstr "E440: ch
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "16/32 bitová GUI verzia pre MS Windows"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "32 bitová GUI verzia pre MS Windows"
@@ -5146,28 +5146,28 @@ msgstr " s OLE podporou"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "32 bitová verzia pre MS Windows konzolu"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "16 bitová verzia pre MS Windows"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "32 bitová verzia pre MS-DOS"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "16 bitová MS-DOS verzia"
index 8d62d3bb9ca9d596ca086b8c3c7f800efdc96532..9bc2b94999b9df193487bf1c54aecb36e1a0e9b3 100644 (file)
@@ -544,13 +544,13 @@ msgstr "(Chybn
 msgid "E677: Error writing temp file"
 msgstr "E677: Chyba pri zápise doèasného súboru"
 
-msgid "E703: Using a Funcref as a number"
+msgid "E703: Using a Funcref as a Number"
 msgstr "E703: Pou¾itý odkaz na Funkciu (Funcref) ako èíslo"
 
-msgid "E745: Using a List as a number"
+msgid "E745: Using a List as a Number"
 msgstr "E745: Zoznam (List) pou¾itý ako èíslo"
 
-msgid "E728: Using a Dictionary as a number"
+msgid "E728: Using a Dictionary as a Number"
 msgstr "E728: Slovník (Dictionary) pou¾itý ako èíslo"
 
 msgid "E729: using Funcref as a String"
@@ -1439,7 +1439,7 @@ msgstr ""
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: Automatický príkaz neoèakávaným spôsobom zmenil poèet riadkov"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans rozhranie nedovolilo zapísa» nemodifikované buffre"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -5126,14 +5126,14 @@ msgstr "E440: ch
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "16/32 bitová GUI verzia pre MS Windows"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "32 bitová GUI verzia pre MS Windows"
@@ -5146,28 +5146,28 @@ msgstr " s OLE podporou"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "32 bitová verzia pre MS Windows konzolu"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "16 bitová verzia pre MS Windows"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "32 bitová verzia pre MS-DOS"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "16 bitová MS-DOS verzia"
index 7a61e402d92ac32df8879a0eb80fd9434fbe1c91..cdcf6075706bca09d3f0b38e1a703270c76eec65 100644 (file)
@@ -589,13 +589,13 @@ msgstr "(Ogiltig)"
 msgid "E677: Error writing temp file"
 msgstr "E677: Fel vid skrivning av temporär fil"
 
-msgid "E703: Using a Funcref as a number"
+msgid "E703: Using a Funcref as a Number"
 msgstr "E703: Använder en Funcref som en siffra"
 
-msgid "E745: Using a List as a number"
+msgid "E745: Using a List as a Number"
 msgstr "E745: Använder en Lista som en siffra"
 
-msgid "E728: Using a Dictionary as a number"
+msgid "E728: Using a Dictionary as a Number"
 msgstr "E728: Använder en Tabell som en siffra"
 
 msgid "E729: using Funcref as a String"
@@ -1551,7 +1551,7 @@ msgstr ""
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: Autokommado ändrade antal rader på ett oväntat sätt"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans tillåter inte skrivning av omodifierade buffertar"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -5454,21 +5454,21 @@ msgstr "E440: 
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 16/32-bitars GUI-version"
 
 msgid ""
 "\n"
-"MS-Windows 64 bit GUI version"
+"MS-Windows 64-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 64-bitars GUI-version"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 32-bitars GUI-version"
@@ -5481,28 +5481,28 @@ msgstr " med OLE-st
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "MS-Windows 32-bitars konsollversion"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "MS-Windows 16-bitars version"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "32-bitars MS-DOS-version"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "16-bitars MS-DOS-version"
index e77f930cfe06d7805b84b359012321933eda4e34..723072caa5d6203bfb4d3b108a37c165ec955a62 100644 (file)
@@ -607,13 +607,13 @@ msgstr "(
 msgid "E677: Error writing temp file"
 msgstr "E677: Íå âäàëîñÿ çàïèñàòè òèì÷àñîâèé ôàéë"
 
-msgid "E703: Using a Funcref as a number"
+msgid "E703: Using a Funcref as a Number"
 msgstr "E703: Ôóíêö³þ âæèòî ÿê ÷èñëî"
 
-msgid "E745: Using a List as a number"
+msgid "E745: Using a List as a Number"
 msgstr "E745: Ñïèñîê âæèòî ÿê ÷èñëî"
 
-msgid "E728: Using a Dictionary as a number"
+msgid "E728: Using a Dictionary as a Number"
 msgstr "E728: Ñëîâíèê âæèòî ÿê ÷èñëî"
 
 msgid "E729: using Funcref as a String"
@@ -1611,7 +1611,7 @@ msgstr "E203: 
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: Àâòîêîìàíäà íåñïîä³âàíèì ÷èíîì çì³íèëà ê³ëüê³ñòü ðÿäê³â"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans íå äîçâîëÿº çàïèñóâàòè ó íåçì³íåí³ áóôåðè"
 
 # msgstr "E391: "
@@ -5601,21 +5601,21 @@ msgstr "E440: ³
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "Âåðñ³ÿ äëÿ 16/32-ðîçðÿäíî¿ Windows ç GUI"
 
 msgid ""
 "\n"
-"MS-Windows 64 bit GUI version"
+"MS-Windows 64-bit GUI version"
 msgstr ""
 "\n"
 "Âåðñ³ÿ ç GUI äëÿ 64-ðîçðÿäíî¿ MS-Windows"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "Âåðñ³ÿ äëÿ 32-ðîçðÿäíî¿ Windows ç GUI"
@@ -5628,28 +5628,28 @@ msgstr " 
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "Êîíñîëüíà âåðñ³ÿ äëÿ 32-ðîçðÿäíî¿ Windows"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "Âåðñ³ÿ äëÿ 16-ðîçðÿäíî¿ Windows"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "Âåðñ³ÿ äëÿ 32-ðîçðÿäíî¿ MS-DOS"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "Âåðñ³ÿ äëÿ 16-ðîçðÿäíî¿ MS-DOS"
index d369c8e65491b7688559f0ede1991543e292e896..e43153f088cfe30fcb65b32d09b7dbc9e5411859 100644 (file)
@@ -607,13 +607,13 @@ msgstr "(Неможливо)"
 msgid "E677: Error writing temp file"
 msgstr "E677: Не вдалося записати тимчасовий файл"
 
-msgid "E703: Using a Funcref as a number"
+msgid "E703: Using a Funcref as a Number"
 msgstr "E703: Функцію вжито як число"
 
-msgid "E745: Using a List as a number"
+msgid "E745: Using a List as a Number"
 msgstr "E745: Список вжито як число"
 
-msgid "E728: Using a Dictionary as a number"
+msgid "E728: Using a Dictionary as a Number"
 msgstr "E728: Словник вжито як число"
 
 msgid "E729: using Funcref as a String"
@@ -1611,7 +1611,7 @@ msgstr "E203: Автокоманда знищила або вивантажил
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: Автокоманда несподіваним чином змінила кількість рядків"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans не дозволяє записувати у незмінені буфери"
 
 # msgstr "E391: "
@@ -5601,21 +5601,21 @@ msgstr "E440: Відсутній рядок скасування"
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "Версія для 16/32-розрядної Windows з GUI"
 
 msgid ""
 "\n"
-"MS-Windows 64 bit GUI version"
+"MS-Windows 64-bit GUI version"
 msgstr ""
 "\n"
 "Версія з GUI для 64-розрядної MS-Windows"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "Версія для 32-розрядної Windows з GUI"
@@ -5628,28 +5628,28 @@ msgstr " з підтримкою OLE"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "Консольна версія для 32-розрядної Windows"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "Версія для 16-розрядної Windows"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "Версія для 32-розрядної MS-DOS"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "Версія для 16-розрядної MS-DOS"
index f1bfb31f550d41277636d35151ea7240bad71263..d5ea6e16184b8cea02e5d6197d1a93ec2cc0ad44 100644 (file)
@@ -1337,7 +1337,7 @@ msgstr "E203: Câu lệnh tự động đã xóa hoặc bỏ nạp bộ đệm c
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: Câu lệnh tự động đã thay đổ số dòng theo cách không mong muốn"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans không cho phép ghi nhớ bộ đệm chưa có thay đổi nào"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -4543,14 +4543,14 @@ msgstr "E440: bị mất dòng hủy thao tác"
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "Phiên bản với giao diện đồ họa GUI cho MS-Windows 16/32 bit"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "Phiên bản với giao diện đồ họa GUI cho MS-Windows 32 bit"
@@ -4563,28 +4563,28 @@ msgstr " với hỗ trợ OLE"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "Phiên bản console cho MS-Windows 32 bit"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "Phiên bản cho MS-Windows 16 bit"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "Phiên bản cho MS-DOS 32 bit"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "Phiên bản cho MS-DOS 16 bit"
index 0182318748fb9160782daab4080c35766acaf328..80eb06ae4248f72a1b29603878cfa1185473e006 100644 (file)
@@ -575,13 +575,13 @@ msgstr "(无效)"
 msgid "E677: Error writing temp file"
 msgstr "E677: 写临时文件出错"
 
-msgid "E703: Using a Funcref as a number"
+msgid "E703: Using a Funcref as a Number"
 msgstr "E703: 将 Funcref 作数字使用"
 
-msgid "E745: Using a List as a number"
+msgid "E745: Using a List as a Number"
 msgstr "E745: 将 List 作数字使用"
 
-msgid "E728: Using a Dictionary as a number"
+msgid "E728: Using a Dictionary as a Number"
 msgstr "E728: 将 Dictionary 作数字使用"
 
 msgid "E729: using Funcref as a String"
@@ -1538,7 +1538,7 @@ msgstr "E203: 自动命令删除或释放了要写入的缓冲区"
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: 自动命令意外地改变了行数"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans 不允许未修改的缓冲区写入"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -5360,14 +5360,14 @@ msgstr "E440: 找不到要撤销的行"
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 16/32 位图形界面版本"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 32 位图形界面版本"
@@ -5380,28 +5380,28 @@ msgstr " 带 OLE 支持"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "MS-Windows 32 位控制台版本"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "MS-Windows 16 位控制台版本"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "32 位 MS-DOS 版本"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "16 位 MS-DOS 版本"
index 96b25276ff2a8fc309e3335e97a95a1d00e142c8..a17d31ab012f9a97c5f24422c8ee8e60066e169d 100644 (file)
@@ -575,13 +575,13 @@ msgstr "(
 msgid "E677: Error writing temp file"
 msgstr "E677: Ð´ÁÙʱÎļþ³ö´í"
 
-msgid "E703: Using a Funcref as a number"
+msgid "E703: Using a Funcref as a Number"
 msgstr "E703: ½« Funcref ×÷Êý×ÖʹÓÃ"
 
-msgid "E745: Using a List as a number"
+msgid "E745: Using a List as a Number"
 msgstr "E745: ½« List ×÷Êý×ÖʹÓÃ"
 
-msgid "E728: Using a Dictionary as a number"
+msgid "E728: Using a Dictionary as a Number"
 msgstr "E728: ½« Dictionary ×÷Êý×ÖʹÓÃ"
 
 msgid "E729: using Funcref as a String"
@@ -1538,7 +1538,7 @@ msgstr "E203: 
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: ×Ô¶¯ÃüÁîÒâÍâµØ¸Ä±äÁËÐÐÊý"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans ²»ÔÊÐíδÐ޸ĵĻº³åÇøдÈë"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -5360,14 +5360,14 @@ msgstr "E440: 
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 16/32 Î»Í¼ÐνçÃæ°æ±¾"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 32 Î»Í¼ÐνçÃæ°æ±¾"
@@ -5380,28 +5380,28 @@ msgstr " 
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "MS-Windows 32 Î»¿ØÖÆ̨°æ±¾"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "MS-Windows 16 Î»¿ØÖÆ̨°æ±¾"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "32 Î» MS-DOS °æ±¾"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "16 Î» MS-DOS °æ±¾"
index 5d9aceb5f20566e10ba4a6b1a22c78db10aa1d74..114840e6ece6f5a538168a2d917e9ba3f1290086 100644 (file)
@@ -575,13 +575,13 @@ msgstr "(
 msgid "E677: Error writing temp file"
 msgstr "E677: Ð´ÁÙʱÎļþ³ö´í"
 
-msgid "E703: Using a Funcref as a number"
+msgid "E703: Using a Funcref as a Number"
 msgstr "E703: ½« Funcref ×÷Êý×ÖʹÓÃ"
 
-msgid "E745: Using a List as a number"
+msgid "E745: Using a List as a Number"
 msgstr "E745: ½« List ×÷Êý×ÖʹÓÃ"
 
-msgid "E728: Using a Dictionary as a number"
+msgid "E728: Using a Dictionary as a Number"
 msgstr "E728: ½« Dictionary ×÷Êý×ÖʹÓÃ"
 
 msgid "E729: using Funcref as a String"
@@ -1538,7 +1538,7 @@ msgstr "E203: 
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: ×Ô¶¯ÃüÁîÒâÍâµØ¸Ä±äÁËÐÐÊý"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans ²»ÔÊÐíδÐ޸ĵĻº³åÇøдÈë"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -5360,14 +5360,14 @@ msgstr "E440: 
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 16/32 Î»Í¼ÐνçÃæ°æ±¾"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 32 Î»Í¼ÐνçÃæ°æ±¾"
@@ -5380,28 +5380,28 @@ msgstr " 
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "MS-Windows 32 Î»¿ØÖÆ̨°æ±¾"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "MS-Windows 16 Î»¿ØÖÆ̨°æ±¾"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "32 Î» MS-DOS °æ±¾"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "16 Î» MS-DOS °æ±¾"
index 3ef058dddd54503fd7543d65163fe2805d4440c5..a046816a6efe7c8077b8669acf8568266316e499 100644 (file)
@@ -1374,7 +1374,7 @@ msgstr "E203: Autocommand 刪除或釋放了要寫入的緩衝區"
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: Autocommand 意外地改變了行號"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans 不能寫出未修改的緩衝區"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -4528,14 +4528,14 @@ msgstr "E440: 找不到要 undo 的行 "
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 16/32 Bit 圖型界面版本"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 32 Bit 圖型界面版本"
@@ -4548,28 +4548,28 @@ msgstr "支援 OLE"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "MS-Windows 32 Bit console 版本"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "MS-Windows 32 Bit console 版本"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "32 Bit MS-DOS 版本"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "16 Bit MS-DOS 版本"
index 6dba3a2f6d970460f9def088fb41c8df8e291d68..b3af29a2b10e980542f59a413d2ab4b047d6dd37 100644 (file)
@@ -1367,7 +1367,7 @@ msgstr "E203: Autocommand 
 msgid "E204: Autocommand changed number of lines in unexpected way"
 msgstr "E204: Autocommand ·N¥~¦a§ïÅܤF¦æ¸¹"
 
-msgid "NetBeans dissallows writes of unmodified buffers"
+msgid "NetBeans disallows writes of unmodified buffers"
 msgstr "NetBeans ¤£¯à¼g¥X¥¼­×§ïªº½w½Ä°Ï"
 
 msgid "Partial writes disallowed for NetBeans buffers"
@@ -4521,14 +4521,14 @@ msgstr "E440: 
 #. Only MS VC 4.1 and earlier can do Win32s
 msgid ""
 "\n"
-"MS-Windows 16/32 bit GUI version"
+"MS-Windows 16/32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 16/32 Bit ¹Ï«¬¬É­±ª©¥»"
 
 msgid ""
 "\n"
-"MS-Windows 32 bit GUI version"
+"MS-Windows 32-bit GUI version"
 msgstr ""
 "\n"
 "MS-Windows 32 Bit ¹Ï«¬¬É­±ª©¥»"
@@ -4541,28 +4541,28 @@ msgstr "
 
 msgid ""
 "\n"
-"MS-Windows 32 bit console version"
+"MS-Windows 32-bit console version"
 msgstr ""
 "\n"
 "MS-Windows 32 Bit console ª©¥»"
 
 msgid ""
 "\n"
-"MS-Windows 16 bit version"
+"MS-Windows 16-bit version"
 msgstr ""
 "\n"
 "MS-Windows 32 Bit console ª©¥»"
 
 msgid ""
 "\n"
-"32 bit MS-DOS version"
+"32-bit MS-DOS version"
 msgstr ""
 "\n"
 "32 Bit MS-DOS ª©¥»"
 
 msgid ""
 "\n"
-"16 bit MS-DOS version"
+"16-bit MS-DOS version"
 msgstr ""
 "\n"
 "16 Bit MS-DOS ª©¥»"
index fcc7d851e1d9900fc8666dd78684459475999c00..10a5edf2784feede00a994c98dba537f95cf5e0f 100644 (file)
@@ -183,11 +183,10 @@ redo:
     /* Calculate column */
 #ifdef FEAT_RIGHTLEFT
     if (curwin->w_p_rl)
-       col = W_WINCOL(curwin) + W_WIDTH(curwin) - curwin->w_wcol -
-                                                       curwin->w_leftcol - 1;
+       col = W_WINCOL(curwin) + W_WIDTH(curwin) - curwin->w_wcol - 1;
     else
 #endif
-       col = W_WINCOL(curwin) + curwin->w_wcol - curwin->w_leftcol;
+       col = W_WINCOL(curwin) + curwin->w_wcol;
 
     /* if there are more items than room we need a scrollbar */
     if (pum_height < size)
index ef11dc7e46042b9fe8bd481ad9f2012b28c71abb..cac9ba805f1c85e3bf345d3954cdb148a8db711d 100644 (file)
@@ -82,6 +82,7 @@ void xim_init __ARGS((void));
 void im_shutdown __ARGS((void));
 int xim_get_status_area_height __ARGS((void));
 int im_get_status __ARGS((void));
+int preedit_get_status __ARGS((void));
 int im_is_preediting __ARGS((void));
 int convert_setup __ARGS((vimconv_T *vcp, char_u *from, char_u *to));
 int convert_input __ARGS((char_u *ptr, int len, int maxlen));
index 8840dd5f49aad995fa8b3e8fb478ef115efd125b..6d67dd734539f29e1476a7110af94b826aa4254c 100644 (file)
@@ -774,7 +774,7 @@ restofline:
                    *namebuf = NUL;
                    if (tail && *tail)
                    {
-                       STRCPY(IObuff, skipwhite(tail));
+                       STRMOVE(IObuff, skipwhite(tail));
                        multiscan = TRUE;
                        goto restofline;
                    }
index 78dd27787da475c52f6bee2d37e04f56b7490c03..ec4077f05016f8b95bb89769d4f0473a0c7f94b6 100644 (file)
@@ -6261,6 +6261,17 @@ screen_puts_len(text, len, row, col, attr)
     if (ScreenLines == NULL || row >= screen_Rows)     /* safety check */
        return;
 
+#ifdef FEAT_MBYTE
+    /* When drawing over the right halve of a double-wide char clear out the
+     * left halve.  Only needed in a terminal. */
+    if (has_mbyte
+# ifdef FEAT_GUI
+           && !gui.in_use
+# endif
+           && mb_fix_col(col, row) != col)
+       screen_puts_len(" ", 1, row, col - 1, 0);
+#endif
+
     off = LineOffset[row] + col;
 #ifdef FEAT_MBYTE
     max_off = LineOffset[row] + screen_Columns;
@@ -7116,6 +7127,23 @@ screen_fill(start_row, end_row, start_col, end_col, c1, c2, attr)
                            t_colors <= 1);
     for (row = start_row; row < end_row; ++row)
     {
+#ifdef FEAT_MBYTE
+       if (has_mbyte
+# ifdef FEAT_GUI
+               && !gui.in_use
+# endif
+          )
+       {
+           /* When drawing over the right halve of a double-wide char clear
+            * out the left halve.  When drawing over the left halve of a
+            * double wide-char clear out the right halve.  Only needed in a
+            * terminal. */
+           if (mb_fix_col(start_col, row) != start_col)
+               screen_puts_len(" ", 1, row, start_col - 1, 0);
+           if (mb_fix_col(end_col, row) != end_col)
+               screen_puts_len(" ", 1, row, end_col, 0);
+       }
+#endif
        /*
         * Try to use delete-line termcap code, when no attributes or in a
         * "normal" terminal, where a bold/italic space is just a
@@ -8855,8 +8883,18 @@ showmode()
        {
            MSG_PUTS_ATTR("--", attr);
 #if defined(FEAT_XIM)
+# if 0  /* old version, changed by SungHyun Nam July 2008 */
            if (xic != NULL && im_get_status() && !p_imdisable
                                        && curbuf->b_p_iminsert == B_IMODE_IM)
+# else
+           if (
+#  ifdef HAVE_GTK2
+                   preedit_get_status()
+#  else
+                   im_get_status()
+#  endif
+              )
+# endif
 # ifdef HAVE_GTK2 /* most of the time, it's not XIM being used */
                MSG_PUTS_ATTR(" IM", attr);
 # else
index 29893de760262d111468a1f4cfc2e404eb7ff775..7d79e8093801303377ddad5810ebdc768916b5a8 100644 (file)
--- a/src/tag.c
+++ b/src/tag.c
@@ -11,7 +11,7 @@
  * Code to handle tags and the tag stack
  */
 
-#if defined MSDOS || defined WIN32 || defined(_WIN64)
+#if defined(MSDOS) || defined(WIN16) || defined(WIN32) || defined(_WIN64)
 # include "vimio.h"    /* for lseek(), must be before vim.h */
 #endif
 
index 9d9b89b3cfbd39199a92613d4657f1fc8aa7b079..2815c1a3c74cfe3aa840752034dbf3a7113b74a5 100644 (file)
@@ -1,5 +1,7 @@
 Test for a lot of variations of the 'fileformats' option
 
+Note: This test will fail if "cat" is not available.
+
 STARTTEST
 :so small.vim
 :" first write three test files, one in each format
index d44083afb0e9856859754b69948a70d341976040..21d7b143c23093b535b98a4bac438adc1a0eac2f 100644 (file)
@@ -676,44 +676,6 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
-/**/
-    19,
-/**/
-    18,
-/**/
-    17,
-/**/
-    16,
-/**/
-    15,
-/**/
-    14,
-/**/
-    13,
-/**/
-    12,
-/**/
-    11,
-/**/
-    10,
-/**/
-    9,
-/**/
-    8,
-/**/
-    7,
-/**/
-    6,
-/**/
-    5,
-/**/
-    4,
-/**/
-    3,
-/**/
-    2,
-/**/
-    1,
 /**/
     0
 };
index 28af85a0edd804e44a033de9d32c3b42d136ab7a..9f10429660c997b40e8713ad39fbfb0d2637cd55 100644 (file)
@@ -19,9 +19,9 @@
 #define VIM_VERSION_MINOR_STR          "2"
 #define VIM_VERSION_100            (VIM_VERSION_MAJOR * 100 + VIM_VERSION_MINOR)
 
-#define VIM_VERSION_BUILD               266
-#define VIM_VERSION_BUILD_BCD          0x10a
-#define VIM_VERSION_BUILD_STR          "266"
+#define VIM_VERSION_BUILD               267
+#define VIM_VERSION_BUILD_BCD          0x10b
+#define VIM_VERSION_BUILD_STR          "267"
 #define VIM_VERSION_PATCHLEVEL          0
 #define VIM_VERSION_PATCHLEVEL_STR     "0"
 /* Used by MacOS port should be one of: development, alpha, beta, final */
@@ -33,8 +33,8 @@
  * VIM_VERSION_MEDIUM is used for the startup-screen.
  * VIM_VERSION_LONG is used for the ":version" command and "Vim -h".
  */
-#define VIM_VERSION_NODOT      "vim72a"
-#define VIM_VERSION_SHORT      "7.2a"
-#define VIM_VERSION_MEDIUM     "7.2a BETA"
-#define VIM_VERSION_LONG       "VIM - Vi IMproved 7.2a BETA (2008 Jun 24)"
-#define VIM_VERSION_LONG_DATE  "VIM - Vi IMproved 7.2a BETA (2008 Jun 24, compiled "
+#define VIM_VERSION_NODOT      "vim72b"
+#define VIM_VERSION_SHORT      "7.2b"
+#define VIM_VERSION_MEDIUM     "7.2b BETA"
+#define VIM_VERSION_LONG       "VIM - Vi IMproved 7.2b BETA (2008 Jul 13)"
+#define VIM_VERSION_LONG_DATE  "VIM - Vi IMproved 7.2b BETA (2008 Jul 13, compiled "
index aeea667d5ce6cd63bd46d8975405b0ee9978b2b9..2d3087ab5f6c12726ef54b83b02a6b1c6792f85f 100644 (file)
@@ -1,4 +1,4 @@
 CODE PRELOAD EXECUTEONLY
 DATA MULTIPLE SHARED
-DESCRIPTION 'Vim 7.2a'
+DESCRIPTION 'Vim 7.2b'
 HEAPSIZE 0,0
index d77d4b719780899a53ee189247d5399538f6ee34..111723f4735ddef7e84cd740291d62a95ffec8fe 100644 (file)
--- a/src/vim.h
+++ b/src/vim.h
@@ -1008,7 +1008,7 @@ extern char *(*dyn_libintl_textdomain)(const char *domainname);
 #define TAG_INS_COMP   64      /* Currently doing insert completion */
 #define TAG_KEEP_LANG  128     /* keep current language */
 
-#define TAG_MANY       200     /* When finding many tags (for completion),
+#define TAG_MANY       300     /* When finding many tags (for completion),
                                   find up to this many tags */
 
 /*
index 223ddaf0792b605fe110052667c8bfc5100940a4..beaaaa72abe87ac1758a0d2bcdc4f0d74508a55d 100644 (file)
@@ -1,5 +1,5 @@
 CODE PRELOAD EXECUTEONLY
 DATA MULTIPLE SHARED
-DESCRIPTION 'Vim 7.2a'
+DESCRIPTION 'Vim 7.2b'
 STACKSIZE 16000
 HEAPSIZE 10000