r1151 - in /trunk/packages/vim: debian/changelog patches/netrwPlugin.vim-bwipe.diff patches/series
jamessan at users.alioth.debian.org
jamessan at users.alioth.debian.org
Tue Jan 15 05:02:52 UTC 2008
Author: jamessan
Date: Tue Jan 15 05:02:51 2008
New Revision: 1151
URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=1151
Log:
* patches/netrwPlugin.vim-bwipe.diff:
- Call bwipe when opening file:// URLs to remove the extra buffers that
get created. Their creation is inevitable but this will clean up the
buffer list. (Closes: #370082)
Added:
trunk/packages/vim/patches/netrwPlugin.vim-bwipe.diff
Modified:
trunk/packages/vim/debian/changelog
trunk/packages/vim/patches/series
Modified: trunk/packages/vim/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/debian/changelog?rev=1151&op=diff
==============================================================================
--- trunk/packages/vim/debian/changelog (original)
+++ trunk/packages/vim/debian/changelog Tue Jan 15 05:02:51 2008
@@ -18,8 +18,12 @@
list of recognized architectures. (Closes: #455993)
* patches/tex.vim-syntax_additions.diff:
- Disable spell checking for verbatim sections. (Closes: #445295)
-
- -- James Vega <jamessan at debian.org> Mon, 14 Jan 2008 18:12:49 -0500
+ * patches/netrwPlugin.vim-bwipe.diff:
+ - Call bwipe when opening file:// URLs to remove the extra buffers that
+ get created. Their creation is inevitable but this will clean up the
+ buffer list. (Closes: #370082)
+
+ -- James Vega <jamessan at debian.org> Tue, 15 Jan 2008 00:01:21 -0500
vim (1:7.1-175+2) unstable; urgency=low
Added: trunk/packages/vim/patches/netrwPlugin.vim-bwipe.diff
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/netrwPlugin.vim-bwipe.diff?rev=1151&op=file
==============================================================================
--- trunk/packages/vim/patches/netrwPlugin.vim-bwipe.diff (added)
+++ trunk/packages/vim/patches/netrwPlugin.vim-bwipe.diff Tue Jan 15 05:02:51 2008
@@ -1,0 +1,60 @@
+Index: vim/runtime/plugin/netrwPlugin.vim
+===================================================================
+--- vim/runtime/plugin/netrwPlugin.vim.orig
++++ vim/runtime/plugin/netrwPlugin.vim
+@@ -1,6 +1,6 @@
+ " netrwPlugin.vim: Handles file transfer and remote directory listing across a network
+ " PLUGIN SECTION
+-" Date: Jan 05, 2007
++" Date: Aug 09, 2007
+ " Maintainer: Charles E Campbell, Jr <NdrOchip at ScampbellPfamily.AbizM-NOSPAM>
+ " GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
+ " Copyright: Copyright (C) 1999-2005 Charles E. Campbell, Jr. {{{1
+@@ -22,7 +22,7 @@
+ if &cp || exists("g:loaded_netrwPlugin")
+ finish
+ endif
+-let g:loaded_netrwPlugin = 1
++let g:loaded_netrwPlugin = "v118b"
+ 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
+@@ -47,10 +47,10 @@
+ augroup Network
+ au!
+ if has("win32") || has("win95") || has("win64") || has("win16")
+- au BufReadCmd file://* exe "silent doau BufReadPre ".netrw#RFC2396(expand("<amatch>"))|exe 'e '.substitute(netrw#RFC2396(expand("<amatch>")),'file://\(.*\)','\1',"")|exe "silent doau BufReadPost ".netrw#RFC2396(expand("<amatch>"))
++ au BufReadCmd file://* exe "silent doau BufReadPre ".netrw#RFC2396(expand("<amatch>"))|exe 'e '.substitute(netrw#RFC2396(expand("<amatch>")),'file://\(.*\)','\1',"")|exe "bwipe ".expand("<amatch>")|exe "silent doau BufReadPost ".netrw#RFC2396(expand("<amatch>"))
+ else
+- au BufReadCmd file://* exe "silent doau BufReadPre ".netrw#RFC2396(expand("<amatch>"))|exe 'e '.substitute(netrw#RFC2396(expand("<amatch>")),'file://\(.*\)','\1',"")|exe "silent doau BufReadPost ".netrw#RFC2396(expand("<amatch>"))
+- au BufReadCmd file://localhost/* exe "silent doau BufReadPre ".netrw#RFC2396(expand("<amatch>"))|exe 'e '.substitute(netrw#RFC2396(expand("<amatch>")),'file://localhost/\(.*\)','\1',"")|exe "silent doau BufReadPost ".netrw#RFC2396(expand("<amatch>"))
++ au BufReadCmd file://* exe "silent doau BufReadPre ".netrw#RFC2396(expand("<amatch>"))|exe 'e '.substitute(netrw#RFC2396(expand("<amatch>")),'file://\(.*\)','\1',"")|exe "bwipe ".expand("<amatch>")|exe "silent doau BufReadPost ".netrw#RFC2396(expand("<amatch>"))
++ au BufReadCmd file://localhost/* exe "silent doau BufReadPre ".netrw#RFC2396(expand("<amatch>"))|exe 'e '.substitute(netrw#RFC2396(expand("<amatch>")),'file://localhost/\(.*\)','\1',"")|exe "bwipe ".substitute(expand("<amatch>"),'file://\(\k\+@\)\=','','')|exe "silent doau BufReadPost ".netrw#RFC2396(expand("<amatch>"))
+ endif
+ au BufReadCmd ftp://*,rcp://*,scp://*,http://*,dav://*,rsync://*,sftp://* exe "silent doau BufReadPre ".expand("<amatch>")|exe '2Nread "'.expand("<amatch>").'"'|exe "silent doau BufReadPost ".expand("<amatch>")
+ au FileReadCmd ftp://*,rcp://*,scp://*,http://*,dav://*,rsync://*,sftp://* exe "silent doau FileReadPre ".expand("<amatch>")|exe 'Nread "' .expand("<amatch>").'"'|exe "silent doau FileReadPost ".expand("<amatch>")
+@@ -64,11 +64,10 @@
+ augroup END
+
+ " Commands: :Nread, :Nwrite, :NetUserPass {{{2
+-com! -count=1 -nargs=* Nread call netrw#NetSavePosn()<bar>call netrw#NetRead(<count>,<f-args>)<bar>call netrw#NetRestorePosn()
+-com! -range=% -nargs=* Nwrite call netrw#NetSavePosn()<bar><line1>,<line2>call netrw#NetWrite(<f-args>)<bar>call netrw#NetRestorePosn()
++com! -count=1 -nargs=* Nread call netrw#NetrwSavePosn()<bar>call netrw#NetRead(<count>,<f-args>)<bar>call netrw#NetrwRestorePosn()
++com! -range=% -nargs=* Nwrite call netrw#NetrwSavePosn()<bar><line1>,<line2>call netrw#NetWrite(<f-args>)<bar>call netrw#NetrwRestorePosn()
+ com! -nargs=* NetUserPass call NetUserPass(<f-args>)
+-com! -nargs=+ Ncopy call netrw#NetObtain(<f-args>)
+-com! -nargs=* Nsource call netrw#NetSavePosn()<bar>call netrw#NetSource(<f-args>)<bar>call netrw#NetRestorePosn()
++com! -nargs=* Nsource call netrw#NetrwSavePosn()<bar>call netrw#NetSource(<f-args>)<bar>call netrw#NetrwRestorePosn()
+
+ " Commands: :Explore, :Sexplore, Hexplore, Vexplore {{{2
+ com! -nargs=* -bar -bang -count=0 -complete=dir Explore call netrw#Explore(<count>,0,0+<bang>0,<q-args>)
+@@ -80,7 +79,8 @@
+ com! -nargs=* -bar -bang Pexplore call netrw#Explore(-2,0,0,<q-args>)
+
+ " Commands: NetrwSettings {{{2
+-com! -nargs=0 NetrwSettings :call netrwSettings#NetrwSettings()
++com! -nargs=0 NetrwSettings call netrwSettings#NetrwSettings()
++com! -bang NetrwClean call netrw#NetrwClean(<bang>0)
+
+ " Maps:
+ if !exists("g:netrw_nogx") && maparg('g','n') == ""
Modified: trunk/packages/vim/patches/series
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/series?rev=1151&op=diff
==============================================================================
--- trunk/packages/vim/patches/series (original)
+++ trunk/packages/vim/patches/series Tue Jan 15 05:02:51 2008
@@ -29,3 +29,4 @@
filetype.vim-debfiles.diff -p0
spellfile.vim-doc.diff -p0
configure-tcl_detection.diff -p0
+netrwPlugin.vim-bwipe.diff -p0
More information about the pkg-vim-maintainers
mailing list