Package: ldapvi Version: 1.7-8 Followup-For: Bug #688129 This bug can be easily fixed using the patch on:
http://lists.askja.de/pipermail/ldapvi/2011-January/000088.html That makes ldapvi use fileencoding instead of encoding on the modeline The fedora package has a similar patch: https://bugzilla.redhat.com/691958 but instead of changing the option it removes the modeline I'm attaching the first patch ready to be put on debian/patches. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages ldapvi depends on: ii libc6 2.13-35 ii libglib2.0-0 2.33.12+really2.32.4-1 ii libldap-2.4-2 2.4.31-1 ii libncurses5 5.9-10 ii libpopt0 1.16-7 ii libreadline6 6.2-9 ii libtinfo5 5.9-10 ldapvi recommends no packages. ldapvi suggests no packages. -- no debconf information -- Sergio Talens-Oliag <s...@debian.org> <http://people.debian.org/~sto/> Key fingerprint = 29DF 544F 1BD9 548C 8F15 86EF 6770 052B B8C1 FA69
Description: use fileencoding instead of encoding for vim Origin: http://lists.askja.de/pipermail/ldapvi/2011-January/000088.html Bug-Debian: http://bugs.debian.org/688129, http://bugs.debian.org/663121 Author: Devin J. Pohly <djpo...@gmail.com> --- a/ldapvi.c +++ b/ldapvi.c @@ -1414,7 +1414,7 @@ write_file_header(FILE *s, cmdline *cmdl int nlines = 0; if (print_binary_mode == PRINT_UTF8 && !cmdline->ldif) { - fputs("# -*- coding: utf-8 -*- vim:encoding=utf-8:\n", s); + fputs("# -*- coding: utf-8 -*- vim:fileencoding=utf-8:\n", s); nlines++; } if (cmdline->ldif) {