Package: vim-common
Version: 1:6.4-001+2
Severity: important

`/etc/vim/vimrc' says:
  set runtimepath=...,/etc/vim,/usr/share/vim/vimfiles,...

But the latter is a symlink to the former. So, when the
user creates the `plugin' subdirectory and puts scripts into
it, they are sourced twice and every "function" and
"command" without an appended bang ("func!", "com!") yields
an ugly error message.

Simply create a file `/etc/vim/plugin/test.vim' and put into
it:

--------------------
function s:SomeFunc()
  echo "Some message."
endfunc
command SomeFunc   call s:SomeFunc()
--------------------

The directory `/usr/share/vim/vimfiles' is even mentioned
twice.

This bug does appear in may earlier versions of the package.


-- 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.4.27-2-386
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages vim-common depends on:
ii  vim                          1:6.4-001+2 Vi IMproved - enhanced vi editor

vim-common recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to