r1215 - in /trunk/packages/vim: debian/changelog debian/runtime/vimrc patches/last-position-jump.diff patches/pushed-upstream.txt patches/series

jamessan at users.alioth.debian.org jamessan at users.alioth.debian.org
Fri Feb 22 19:40:32 UTC 2008


Author: jamessan
Date: Fri Feb 22 19:40:32 2008
New Revision: 1215

URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=1215
Log:
* Correct a typo in /etc/vim/vimrc's (Closes: #467057) and eval.txt's (via
  new last-position-jump.diff patch) 'last-position-jump' code snippet which
  would cause it to fail if the g key were remapped.

Added:
    trunk/packages/vim/patches/last-position-jump.diff
Modified:
    trunk/packages/vim/debian/changelog
    trunk/packages/vim/debian/runtime/vimrc
    trunk/packages/vim/patches/pushed-upstream.txt
    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=1215&op=diff
==============================================================================
--- trunk/packages/vim/debian/changelog (original)
+++ trunk/packages/vim/debian/changelog Fri Feb 22 19:40:32 2008
@@ -16,6 +16,11 @@
 
   [ martin f. krafft ]
   * add Tim Pope's vim-git integration (v1.1, commit a53cabb) to vim-runtime.
+
+  [ James Vega ]
+  * Correct a typo in /etc/vim/vimrc's (Closes: #467057) and eval.txt's (via
+    new last-position-jump.diff patch) 'last-position-jump' code snippet which
+    would cause it to fail if the g key were remapped.
 
  -- martin f. krafft <madduck at debian.org>  Thu, 21 Feb 2008 17:00:37 +0100
 

Modified: trunk/packages/vim/debian/runtime/vimrc
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/debian/runtime/vimrc?rev=1215&op=diff
==============================================================================
--- trunk/packages/vim/debian/runtime/vimrc (original)
+++ trunk/packages/vim/debian/runtime/vimrc Fri Feb 22 19:40:32 2008
@@ -27,7 +27,7 @@
 " reopening a file
 "if has("autocmd")
 "  au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
-"    \| exe "normal g'\"" | endif
+"    \| exe "normal! g'\"" | endif
 "endif
 
 " Uncomment the following to have Vim load indentation rules according to the

Added: trunk/packages/vim/patches/last-position-jump.diff
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/last-position-jump.diff?rev=1215&op=file
==============================================================================
--- trunk/packages/vim/patches/last-position-jump.diff (added)
+++ trunk/packages/vim/patches/last-position-jump.diff Fri Feb 22 19:40:32 2008
@@ -1,0 +1,13 @@
+Index: vim/runtime/doc/eval.txt
+===================================================================
+--- vim/runtime/doc/eval.txt.orig
++++ vim/runtime/doc/eval.txt
+@@ -3511,7 +3511,7 @@
+ <							*last-position-jump*
+ 		This autocommand jumps to the last known position in a file
+ 		just after opening it, if the '" mark is set: >
+-	:au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal g'\"" | endif
++	:au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
+ 
+ line2byte({lnum})					*line2byte()*
+ 		Return the byte count from the start of the buffer for line

Modified: trunk/packages/vim/patches/pushed-upstream.txt
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/pushed-upstream.txt?rev=1215&op=diff
==============================================================================
--- trunk/packages/vim/patches/pushed-upstream.txt (original)
+++ trunk/packages/vim/patches/pushed-upstream.txt Fri Feb 22 19:40:32 2008
@@ -11,11 +11,13 @@
 spellfile.vim-doc.diff
 verilog.vim_ftplugin-cpoptions.diff
 fstab.vim-syntax.diff
+vim-git.diff
 
 Patches pushed upstream:
 dosini.vim-hash_comment.diff
 option.c-langmap_comma.diff
 spell.c_getc-eof.diff
+last-position-jump.diff
 
 Debian-specific patches:
 filetype.vim-better_tex_vs_plaintex.diff

Modified: trunk/packages/vim/patches/series
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/series?rev=1215&op=diff
==============================================================================
--- trunk/packages/vim/patches/series (original)
+++ trunk/packages/vim/patches/series Fri Feb 22 19:40:32 2008
@@ -34,3 +34,4 @@
 option.c-langmap_comma.diff -p0
 make.vim-syntax.diff -p0
 vim-git.diff -p2
+last-position-jump.diff -p0




More information about the pkg-vim-maintainers mailing list