Your message dated Sun, 16 Feb 2025 02:44:05 +0000
with message-id <[email protected]>
and subject line Bug#1095155: fixed in vim 2:9.1.1113-1
has caused the Debian Bug report #1095155,
regarding vim-common: debian.vim history=50 conflicts with new upstream default
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1095155: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095155
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vim
Version: 2:9.1.0967-1
Severity: minor
Tags: patch
Hi, with patch 9.1.0895 Vim started defaulting to a history of 200
instead of 50. This was already the case when sourcing defaults.vim in
one's vimrc, or when using no vimrc at all.
What patch 9.1.0895 done was removing the `set history=200` from
defaults.vim and altering the actual history option default in the
C source.
For some reason, though, Debian's `debian.vim` file contains a `set
history=50` setting, which overrides the new built-in default.
The issue is manifesting itself only now that `history=200` has been
removed from `defaults.vim`; before that, sourcing the file in the
user's vimrc would override `debian.vim`'s override.
Could this option be dropped from `debian.vim`, please? Patch attached.
Apart from this issue in particular, though, I feel that `debian.vim`'s
role should be revised. Now that Vim has a `defaults.vim` file which
contains lots of goodies, some of `debian.vim`'s settings seem
redundant. As an example, both of them set the `nocompatible`,
`backspace`, `history`, and `ruler` options are duplicated. In my
opinion, these should be removed, and the file should keep containing
only some truly Debian-specific improvements and security-relevant
options (like `/etc/papersize` and `nomodeline`). But this can be
discussed and fixed later.
Bye!
From e334c65f65d00e53454605a83cd968a8aee32b1d Mon Sep 17 00:00:00 2001
From: Andrea Pappacoda <[email protected]>
Date: Tue, 4 Feb 2025 15:45:09 +0100
Subject: [PATCH] Drop backspace and history from debian.vim
They are now redundant, as they have been made Vim's defaults in patches
9.1.0899 and 9.1.0895, respectively.
---
debian/runtime/debian.vim | 2 --
1 file changed, 2 deletions(-)
diff --git a/debian/runtime/debian.vim b/debian/runtime/debian.vim
index 0856148c4..a8ddb0110 100644
--- a/debian/runtime/debian.vim
+++ b/debian/runtime/debian.vim
@@ -1,10 +1,8 @@
" Normally we use vim-extensions. If you want true vi-compatibility
" remove change the following statements
set nocompatible " Use Vim defaults instead of 100% vi compatibility
-set backspace=indent,eol,start " more powerful backspacing
" Now we set some defaults for the editor
-set history=50 " keep 50 lines of command line history
set ruler " show the cursor position all the time
" modelines have historically been a source of security/resource
--
2.47.2
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: vim
Source-Version: 2:9.1.1113-1
Done: James McCoy <[email protected]>
We believe that the bug you reported is fixed in the latest version of
vim, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
James McCoy <[email protected]> (supplier of updated vim package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 15 Feb 2025 20:43:27 -0500
Source: vim
Architecture: source
Version: 2:9.1.1113-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Vim Maintainers <[email protected]>
Changed-By: James McCoy <[email protected]>
Closes: 1095155
Changes:
vim (2:9.1.1113-1) unstable; urgency=medium
.
[ James McCoy ]
* Merge upstream tag v9.1.1113
+ Security fixes:
- 9.1.1003: heap-buffer overflow with visual mode when using :all,
CVE-2025-22134
- 9.1.1043: segfault in win_line(), CVE-2025-24014
- 9.1.1097: crash when using --log with non-existent path, CVE-2025-1215
.
[ Andrea Pappacoda ]
* Drop backspace and history from debian.vim (Closes: #1095155)
Checksums-Sha1:
3a38aa48d661090b373966c19171d41ee2931528 3230 vim_9.1.1113-1.dsc
fcfc02637e173bdbe30274d11cdc09545d938f1f 12238172 vim_9.1.1113.orig.tar.xz
697b2b9f20de5529f69aae1737d05eaef554a679 191084 vim_9.1.1113-1.debian.tar.xz
Checksums-Sha256:
16ea6c861083e9135805b8506f3a9fba2ca5f8ad7e959b36fdaf6b153c8060d0 3230
vim_9.1.1113-1.dsc
05c658958880af5d37506e96c125e43b3a21c7ee2cb905d9370a5b1b9d4640dc 12238172
vim_9.1.1113.orig.tar.xz
dce5f877ba2887f0ed81b1700042f939f2836269a6d20ad7991ca8f92a0c2bed 191084
vim_9.1.1113-1.debian.tar.xz
Files:
aa53870ca71d44953d965909bcbb6488 3230 editors optional vim_9.1.1113-1.dsc
262bfb239ea1fbbbb617e32706fb05be 12238172 editors optional
vim_9.1.1113.orig.tar.xz
8bafbe6d42ea6afdce295504edf07501 191084 editors optional
vim_9.1.1113-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQKoBAEBCgCSFiEEkb+/TWlWvV33ty0j3+aRrjMbo9sFAmexQyZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDkx
QkZCRjRENjk1NkJENURGN0I3MkQyM0RGRTY5MUFFMzMxQkEzREIUHGphbWVzc2Fu
QGRlYmlhbi5vcmcACgkQ3+aRrjMbo9v5qA/9FPaSA3G1/p4pCRDGbv1ybKc4bznR
rLxTGzq3DmtBDxzDmRKGi9m1snfssY2zod3HZ4rTaH2VoAkSxNXv+spGRFkdUdos
uCpZNmz/+mjLWFMmOwIjYhhT0dp4JWTx/d/AT/4VASgIViq/fsOdv8LPijtEnx71
7GbYfujc3RAlG+1p68cBpbAavSmHmHDh/3bW/VmUew69PO6TOZPu9Rlffle08r/Y
E9BmoUvOGa7kzKpBCSUTKIcU9bEmtXDW6qdWVebzI3cvqcaa731Ay9c2y882lwoB
6+6G0N+QCXnKDMmKcafIF9ivhlW+nSxiT9cy9Qdv5/yEYCUgqf3mGJUrANIk5BZ9
J6er8XGj7fOiYvX/B4MJ3S7oyg9Z1oTyuz4rcKZxaBSnJxjnritWeepIqgF8Bw1g
Ki8zGcqTNWHryjkmDyu2Ul6Ryl/jfFCaqamQ3xufaUaEu2G4dc2rM7lIjJCx3lGH
3XCjxsRRH12yto+P1QEPVPzmJHNxWvuRogWUJTFqrISyUQt7JU9tkMcPV+nOy7HV
b9JthI80HUKJgcrqWj1YKkNWKVo5O7ScVAT5WbSvFqT6aEWHgkCPLysBmqOQBI+Z
+B0mKl5uOlH6g4ZG2DcJALe9RvYrFI47Lcv13gpYe806txwlqCETY5KYUzmzxLMv
tdJlEDGWHTiAV2I=
=4kcq
-----END PGP SIGNATURE-----
pgpRxYA_iEDfF.pgp
Description: PGP signature
--- End Message ---