Processed: Re: Bug#1027766: vim: backspace doesn't remove characters anymore

2023-01-03 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 - patch
Bug #1027766 [vim-common] vim-common: debian.vim installed into the wrong 
directory
Bug #1027771 [vim-common] vim-common: debian.vim installed into the wrong 
directory
Removed tag(s) patch.
Removed tag(s) patch.

-- 
1027766: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027766
1027771: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027771
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1027766: vim: backspace doesn't remove characters anymore

2023-01-03 Thread Sven Joachim
Control: tags -1 - patch

On 2023-01-03 11:03 +0100, Sven Joachim wrote:

> Control: reassign -1 vim-common 2:9.0.1000-2
> Control: retitle -1 vim-common: debian.vim installed into the wrong directory
> Control: severity -1 serious
> Control: tags -1 patch
>
> On 2023-01-03 10:20 +0400, Cyril Lacoux wrote:
>
>> Same here, it seems that the M from VIM is gone : no history on undo command,
>> no completion when opening a new file and a lot things are broken.
>>
>> $ dpkg -L vim-common | grep debian.vim
>> /usr/share/vim/@VIMCUR@/debian.vim
>
> This is obviously very wrong and breaks vim quite badly.  I have
> therefore increased the severity again.
>
>> Everything seem ok after moving the file to /usr/share/vim/vim90.
>
> Looks like commit 9526d1380774 ("Update to debhelper-compat 13") created
> the problem.  Attached patch should fix that, but I have not tested it
> yet.

Tested the patch now, and it did not work. :-(

> diff --git a/debian/rules b/debian/rules
> index 4c4f8e6ef..0f05d2cf7 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -148,7 +148,8 @@ VERSION = $(basename $(DEB_VERSION_UPSTREAM))
>  VIMCUR = $(NAME)$(subst .,,$(VERSION))
>  LANGS = da de fr it ja pl ru tr
>
> -DOT_IN_DEPS = debian/vim-runtime.postrm
> +DOT_IN_DEPS = vim-common.install
> +DOT_IN_DEPS += debian/vim-runtime.postrm
>  DOT_IN_DEPS += debian/vim-runtime.preinst
>  DOT_IN_DEPS_TINY = debian/tiny/vimrc.tiny

This resulted in the following error.

,
| make[1]: Leaving directory '/<>'
|debian/rules override_dh_install-indep
| make[1]: Entering directory '/<>'
| /usr/bin/make -f debian/rules vim-common.install debian/vim-runtime.postrm 
debian/vim-runtime.preinst
| make[2]: Entering directory '/<>'
| make[2]: warning: -j2 forced in makefile: resetting jobserver mode.
| dh vim-common.install.in
| dh: error: Unknown sequence vim-common.install.in (choose from: binary 
binary-arch binary-indep build build-arch build-indep clean install 
install-arch install-indep)
| make[2]: *** [debian/rules:162: vim-common.install.in] Error 25
`

For now I leave it up to the package maintainers to figure out a fix.

Cheers,
   Sven



Processed: Re: Bug#1027766: vim: backspace doesn't remove characters anymore

2023-01-03 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 vim-common 2:9.0.1000-2
Bug #1027766 [vim] vim: "Error detected while processing /usr/share/vim..."
Bug #1027771 [vim] vim: "Error detected while processing /usr/share/vim..."
Bug reassigned from package 'vim' to 'vim-common'.
Bug reassigned from package 'vim' to 'vim-common'.
No longer marked as found in versions vim/2:9.0.1000-2.
No longer marked as found in versions vim/2:9.0.1000-2.
Ignoring request to alter fixed versions of bug #1027766 to the same values 
previously set
Ignoring request to alter fixed versions of bug #1027771 to the same values 
previously set
Bug #1027766 [vim-common] vim: "Error detected while processing 
/usr/share/vim..."
Bug #1027771 [vim-common] vim: "Error detected while processing 
/usr/share/vim..."
Marked as found in versions vim/2:9.0.1000-2.
Marked as found in versions vim/2:9.0.1000-2.
> retitle -1 vim-common: debian.vim installed into the wrong directory
Bug #1027766 [vim-common] vim: "Error detected while processing 
/usr/share/vim..."
Bug #1027771 [vim-common] vim: "Error detected while processing 
/usr/share/vim..."
Changed Bug title to 'vim-common: debian.vim installed into the wrong 
directory' from 'vim: "Error detected while processing /usr/share/vim..."'.
Changed Bug title to 'vim-common: debian.vim installed into the wrong 
directory' from 'vim: "Error detected while processing /usr/share/vim..."'.
> severity -1 serious
Bug #1027766 [vim-common] vim-common: debian.vim installed into the wrong 
directory
Bug #1027771 [vim-common] vim-common: debian.vim installed into the wrong 
directory
Severity set to 'serious' from 'important'
Severity set to 'serious' from 'important'
> tags -1 patch
Bug #1027766 [vim-common] vim-common: debian.vim installed into the wrong 
directory
Bug #1027771 [vim-common] vim-common: debian.vim installed into the wrong 
directory
Added tag(s) patch.
Added tag(s) patch.

-- 
1027766: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027766
1027771: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027771
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1027766: vim: backspace doesn't remove characters anymore

2023-01-02 Thread Christoph Anton Mitterer
Control: tags -1 - ftbfs
Control: severity -1 important

Still not used to reportbug's new numbering...



Bug#1027766: vim: backspace doesn't remove characters anymore

2023-01-02 Thread Christoph Anton Mitterer
Package: vim
Version: 2:9.0.1000-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)


Hey.

The following probably still worked with 2:9.0.1000-1, but definitely works 
again
when going back to the version in testing (2:9.0.0813-1+b1).

When I edit a file (pre-existing or new) I can only remove characters with
backspace when I've added them previously when in edit-mode.
As soon as I leave that, then go back into edit-mode and then backspace, it 
doesn't
work anymore.

Seemed to be "specific to "my" configuration though, as it does work with 
--clean.
However, after bisecting all my vimrc’s options, none seemed to have caused it 
and
even if I fully empty the file it still doesn't work (only when I move it away).

Find my .vim/vimrc attached.


Thanks,
Chris.

-- Package-specific info:

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

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'unstable'), (500, 'testing')
merged-usr: no
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-6-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages vim depends on:
ii  libacl1  2.3.1-2
ii  libc62.36-7
ii  libgpm2  1.20.7-10+b1
ii  libselinux1  3.4-1+b4
ii  libsodium23  1.0.18-1
ii  libtinfo66.4-1
ii  vim-common   2:9.0.1000-2
ii  vim-runtime  2:9.0.1000-2

vim recommends no packages.

Versions of packages vim suggests:
ii  universal-ctags [ctags]  5.9.20210829.0-1
ii  vim-doc  2:9.0.1000-2
ii  vim-scripts  20210124.2

-- no debconf information
set viminfo+=n~/.vim/viminfo
set termguicolors


filetype plugin on

highlight Normal guifg=White guibg=Black
syntax enable

autocmd ColorScheme * highlight ExtraWhitespace ctermbg=red guibg=red
highlight ExtraWhitespace ctermbg=red guibg=red
autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@  :silent :set hlsearch! hlsearch?:if 
ExtraWhitespace:match none:let ExtraWhitespace=0:else:match 
ExtraWhitespace /\s\+$\| \+\ze\t/:redraw!:let 
ExtraWhitespace=1:endif
"noremap   :silent :set hlsearch! hlsearch?

set nowrap