Bug#517030: vim does not recognize in-file options

Aki Tuomi cmouse at desteem.org
Wed Feb 25 07:55:55 UTC 2009


Package: vim
Version: 1:7.1.314-3+lenny2
Severity: normal


vim ignores in-file options:

$ vim -u NONE -U NONE index.php.utf8

<?php
// vim: set syntax=php
echo "Ehlo, world\n";

?>

:set
--- Options ---
  helplang=en         scroll=11           ttymouse=xterm
noloadplugins         ttyfast
  fileencoding=utf-8
  fileencodings=ucs-bom,utf-8,default,latin1

This happens also when vim is ran normally without -u NONE -U NONE.

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.27.10grsec-grsec
Locale: LANG=en_US.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages vim depends on:
ii  libacl1               2.2.47-2           Access control list shared library
ii  libc6                 2.7-18             GNU C Library: Shared libraries
ii  libgpm2               1.20.4-3.1         General Purpose Mouse - shared lib
ii  libncurses5           5.7+20081213-1     shared libraries for terminal hand
ii  libselinux1           2.0.65-5           SELinux shared libraries
ii  vim-common            1:7.1.314-3+lenny2 Vi IMproved - Common files
ii  vim-runtime           1:7.1.314-3+lenny2 Vi IMproved - Runtime files

vim recommends no packages.

Versions of packages vim suggests:
ii  exuberant-ctags [ctag 1:5.7-4            build tag file indexes of source c
ii  vim-doc               1:7.1.314-3+lenny2 Vi IMproved - HTML documentation
ii  vim-scripts           20080722-1         plugins for vim, adding bells and 

-- no debconf information





More information about the pkg-vim-maintainers mailing list