Bug#365811: vim: setting eol does not mark the buffer modified

Andrew Pimlott andrew at pimlott.net
Wed May 3 05:51:41 UTC 2006


Package: vim
Version: 1:6.4-007+1
Severity: minor

Setting the eol option does not mark the buffer modified, even when it
would cause a change in the contents of the file:

    % echo -n hello > out
    % ls -l out
    -rw-rw-r-- 1 andrew andrew 5 2006-04-06 15:46 out
    % vim out

Note the [noeol].

    :set eol

Note no [+].

    :set modified?
    nomodfiied
    :wq
    % ls -l out
    -rw-rw-r-- 1 andrew andrew 6 2006-04-06 15:48 out

Andrew

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages vim-perl depends on:
ii  libatk1.0-0               1.11.3-1       The ATK accessibility toolkit
ii  libc6                     2.3.6-4        GNU C Library: Shared libraries an
ii  libcairo2                 1.0.2-3        The Cairo 2D vector graphics libra
ii  libfontconfig1            2.3.2-5        generic font configuration library
ii  libglib2.0-0              2.10.1-2       The GLib library of C routines
ii  libgpmg1                  1.19.6-22      General Purpose Mouse - shared lib
ii  libgtk2.0-0               2.8.16-1       The GTK+ graphical user interface 
ii  libice6                   6.9.0.dfsg.1-5 Inter-Client Exchange library
ii  libncurses5               5.5-1          Shared libraries for terminal hand
ii  libpango1.0-0             1.12.0-2       Layout and rendering of internatio
ii  libperl5.8                5.8.8-3        Shared Perl library
ii  libsm6                    6.9.0.dfsg.1-5 X Window System Session Management
ii  libx11-6                  6.9.0.dfsg.1-5 X Window System protocol client li
ii  libxcursor1               1.1.3-1        X cursor management library
ii  libxext6                  6.9.0.dfsg.1-5 X Window System miscellaneous exte
ii  libxi6                    6.9.0.dfsg.1-5 X Window System Input extension li
ii  libxinerama1              6.9.0.dfsg.1-5 X Window System multi-head display
ii  libxrandr2                6.9.0.dfsg.1-5 X Window System Resize, Rotate and
ii  libxrender1               1:0.9.0.2-1    X Rendering Extension client libra
ii  libxt6                    6.9.0.dfsg.1-5 X Toolkit Intrinsics
ii  vim-gui-common            1:6.4-007+1    Vi IMproved - Common GUI files
ii  vim-runtime               1:6.4-007+1    Vi IMproved - Runtime files

vim-perl recommends no packages.

-- no debconf information




More information about the pkg-vim-maintainers mailing list