Bug#361286: vim-common: Syntax error in commented-out part of vimrc

Michal Sojka sojkam1 at fel.cvut.cz
Fri Apr 7 17:25:21 UTC 2006


Package: vim-common
Version: 1:6.4-007+1
Severity: minor
Tags: patch

Uncommenting the following part in vimrc leads to errors on
startup. The patch fixes this.

--- /etc/vim/vimrc.dpkg-dist	2006-02-12 15:39:20.000000000 +0100
+++ vimrc.dpkg-dist-fixed	2006-04-07 19:18:23.000000000 +0200
@@ -54,7 +54,7 @@
 " reopening a file
 " if has("autocmd")
 "   au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
-"                    \| exe normal g'\"" | endif
+"                    \| exe "normal g'\"" | endif
 " endif
 
 " Set paper size from /etc/papersize if available (Debian-specific)




-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686-smp
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2)

Versions of packages vim-common depends on:
ii  libc6                         2.3.6-4    GNU C Library: Shared libraries an

Versions of packages vim-common recommends:
ii  vim                          1:6.4-007+1 Vi IMproved - enhanced vi editor

-- no debconf information




More information about the pkg-vim-maintainers mailing list