Bug#440843: vim-addon-manager: add bash completion for vim-addons

Stefano Zacchiroli zack at debian.org
Thu Sep 6 08:45:04 UTC 2007


On Tue, Sep 04, 2007 at 03:28:11PM -0300, Antonio Terceiro wrote:
> Please consider adding the bash completion script in this message.  The
> attached patch was made against the current state of vim-addon-manager
> subversion repository.

Thanks, I was indeed considering doing one by myself but never got the
time to write it down :)

I'll surely add it to the next upload of the package, but I've some
comments / requests:
- I've changed (not yet committed though) the license of
  vim-addon-manager to GPL v3 or above, do you mind changing the license
  of your completion script accordingly? It won't be a big deal to have
  both licenses in the package, but I would prefer to have uniformity
  ...
- I've changed a bit the packaging part of your patch, mainly to install
  as /etc/bash_completion.d/vim-addon-manager to match package name
  rather than executable name
- feature requests (nothing strongly required, but which would be pretty
  handy I think):
  1) after "install" only list addons which are not in the "installed"
     state; after "remove" only list addons which are not in the
     "removed" state and so on ...
  2) after "list" do not complete addon names
  If you're interested in adding support for (1) I can add a "-q" option
  (for "query" or "quiet") which when passed to status will only show
  the status wrt the current target directory and output it in a more
  easily parsable way (e.g. "name <TAB> status"). At that point the
  completion will just invoke something like "vim-addon -q status" and
  grep for the appropriate statuses. Just let me know if you want to
  work on that (I can do the "vim-addons" part)

Cheers.

-- 
Stefano Zacchiroli -*- PhD in Computer Science ............... now what?
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
(15:56:48)  Zack: e la demo dema ?    /\    All one has to do is hit the
(15:57:15)  Bac: no, la demo scema    \/    right keys at the right time
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20070906/1f2d4f10/attachment-0001.pgp 


More information about the pkg-vim-maintainers mailing list