[SCM] Vim packaging branch, debian, updated. upstream/7.1.285-94-gf5acd99

James Vega jamessan at debian.org
Sun May 4 07:13:36 UTC 2008

The following commit has been merged in the debian branch:
commit f5acd993b8f28a23c8a429bc58ce2f384ac1ff85
Author: James Vega <jamessan at debian.org>
Date:   Sun May 4 03:13:29 2008 -0400

    Update README.Debian's information about modelines.
    Add a snippet to mimic Vim's default behavior and a pointer to the
    securemodelines script from vim.org.

diff --git a/debian/README.Debian b/debian/README.Debian
index 016fc4c..9563a63 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -55,4 +55,16 @@ and are therefore disabled by default in /usr/share/vim/vimcurrent/debian.vim.
 You can enable them in ~/.vimrc or /etc/vim/vimrc with "set modeline".
- -- Daniel Hahler <ubuntu at thequod.de> Mon, 24 Mar 2008 17:10:42 +0100
+In order to mimic Vim's default setting (modelines disabled when root, enabled
+otherwise), you may instead want to use the following snippet:
+  if $USER != 'root'
+    set modeline
+  else
+    set nomodeline
+  endif
+The securemodelines script from vim.org may also be of interest as it provides
+a way to whitelist exactly which options may be set from a modeline.
+ -- James Vega <jamessan at debian.org>  Sun, 04 May 2008 03:11:51 -0400

Vim packaging

More information about the pkg-vim-maintainers mailing list