r920 - in /trunk/packages/vim: debian/changelog patches/netrw.vim-tmpfile_suffix_escape.diff patches/series

jamessan at users.alioth.debian.org jamessan at users.alioth.debian.org
Tue Mar 20 23:29:10 UTC 2007


Author: jamessan
Date: Tue Mar 20 22:29:09 2007
New Revision: 920

URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=920
Log:
Add patches/netrw.vim-tmpfile_suffix_escape.diff, which escapes the suffix of
the tmpfile filename.

Added:
    trunk/packages/vim/patches/netrw.vim-tmpfile_suffix_escape.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=920&op=diff
==============================================================================
--- trunk/packages/vim/debian/changelog (original)
+++ trunk/packages/vim/debian/changelog Tue Mar 20 22:29:09 2007
@@ -1,4 +1,4 @@
-vim (1:7.0-219+1) UNRELEASED; urgency=low
+vim (1:7.0-219+1) unstable; urgency=low
 
   [ Debian Vim Maintainers ]
   * New upstream patches (165 - 219), see README.gz for details.
@@ -18,8 +18,10 @@
     the alternative isn't changed from auto to manual.
   * Remove the 'iskeyword' setting in Ruby's ftplugin as suggested by Tim
     Pope in #389332.
-
- -- James Vega <jamessan at debian.org>  Tue, 20 Mar 2007 15:09:57 -0400
+  * Add patches/netrw.vim-tmpfile_suffix_escape.diff, which escapes the suffix
+    of the tmpfile filename.
+
+ -- James Vega <jamessan at debian.org>  Tue, 20 Mar 2007 18:27:27 -0400
 
 vim (1:7.0-164+3) unstable; urgency=low
 

Added: trunk/packages/vim/patches/netrw.vim-tmpfile_suffix_escape.diff
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/netrw.vim-tmpfile_suffix_escape.diff?rev=920&op=file
==============================================================================
--- trunk/packages/vim/patches/netrw.vim-tmpfile_suffix_escape.diff (added)
+++ trunk/packages/vim/patches/netrw.vim-tmpfile_suffix_escape.diff Tue Mar 20 22:29:09 2007
@@ -1,0 +1,14 @@
+Index: vim/runtime/autoload/netrw.vim
+===================================================================
+--- vim/runtime/autoload/netrw.vim.orig
++++ vim/runtime/autoload/netrw.vim
+@@ -419,7 +419,8 @@
+    " use filename's suffix for the temporary file
+    if b:netrw_fname =~ '\.[^./]\+$'
+     let suffix = substitute(b:netrw_fname,'^.*\(\.[^./]\+\)$','\1','e')
+-    let tmpfile= substitute(tmpfile,"$",suffix,'e')
++    let suffix = escape(suffix, g:netrw_tmpfile_escape)
++    let tmpfile .= suffix
+ "    call Decho("chgd tmpfile<".tmpfile."> (added ".suffix." suffix) netrw_fname<".b:netrw_fname.">")
+    endif
+ 

Modified: trunk/packages/vim/patches/series
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/series?rev=920&op=diff
==============================================================================
--- trunk/packages/vim/patches/series (original)
+++ trunk/packages/vim/patches/series Tue Mar 20 22:29:09 2007
@@ -17,3 +17,4 @@
 html.vim-syntax_spell.diff -p0
 changelog.vim-ftplugin_buffer-split.diff -p0
 zh_TW.po-swap_recovery_typo.diff -p0
+netrw.vim-tmpfile_suffix_escape.diff -p0




More information about the pkg-vim-maintainers mailing list