Package: vim
Version: 2:8.2.3565-1+b1
Severity: minor
Tags: upstream
X-Debbugs-Cc: colomar.6....@gmail.com

Dear Maintainer,

If you have a small file that fits in a single screen
(in my case, it was 38 lines, which is smaller than half a FullHD screen),
and
you delete the last lines of the file in the following way:

        If you're going to remove from line 30 to the end,
        - goto line 30          30G
        - set visual mode       V
        - advance a screen      ^f
        - delete                d
        - go back a screen      ^b

You'll end up with an empty screen (all ~s) after the deletion,
and when you then go up with ^b,
you'll receive an error message:
E315: ml_get invalid lnum: 37


It's not a problem,
and it doesn't affect usability,
but it would be nicer if that error didn't show up,
since there's really no error;
is there?


Thanks,
Alex

        

-- Package-specific info:

--- real paths of main Vim binaries ---
/usr/bin/vi is /usr/bin/vim.basic
/usr/bin/vim is /usr/bin/vim.basic

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-7-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages vim depends on:
ii  libacl1      2.3.1-1
ii  libc6        2.31-12
ii  libgpm2      1.20.7-9
ii  libselinux1  3.1-3
ii  libsodium23  1.0.18-1
ii  libtinfo6    6.2+20210905-1
ii  vim-common   2:8.2.3565-1
ii  vim-runtime  2:8.2.3565-1

vim recommends no packages.

Versions of packages vim suggests:
pn  ctags        <none>
pn  vim-doc      <none>
pn  vim-scripts  <none>

-- no debconf information

Reply via email to