Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 521152

Summary: app-editors/vim: bash-completion files are not (fully) compatible with autoloading
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Vim Maintainers <vim>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 521146    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-08-26 18:02:30 UTC
$ ./get-completions | ./completion-qa-check.py  | grep vim
rvim: missing completion symlink for command (declared in /usr/share/bash-completion/completions/vim)
view: missing completion symlink for command (declared in /usr/share/bash-completion/completions/vim)
evim: missing completion symlink for command (declared in /usr/share/bash-completion/completions/vim)
ex: missing completion symlink for command (declared in /usr/share/bash-completion/completions/vim)
rview: missing completion symlink for command (declared in /usr/share/bash-completion/completions/vim)
gview: missing completion symlink for command (declared in /usr/share/bash-completion/completions/gvim)
rgview: missing completion symlink for command (declared in /usr/share/bash-completion/completions/gvim)

In other words, vim should install symlinks like

  $completionsdir/rvim -> vim

etc. so that the autoloader could find the completions for every command.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-10-11 09:46:30 UTC
The package also provides completions for 'ex' and 'view' commands that are controlled by eselect-vi. We may want to control completion symlinks there as well.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-10-11 18:36:01 UTC
+  11 Oct 2014; Michał Górny <mgorny@gentoo.org> files/vim-completion,
+  vim-7.4.430.ebuild, vim-9999.ebuild:
+  Install necessary bash-completion aliases, bug #521152. Update completed
+  command list in the file.

+  11 Oct 2014; Michał Górny <mgorny@gentoo.org> files/gvim-completion,
+  gvim-7.4.430.ebuild:
+  Install necessary bash-completion aliases, bug #521152. Update completed
+  command list in the file.