[gutsy] Tabcompletion makes bad assumption

Bug #149494 reported by Evan Carroll
6
Affects Status Importance Assigned to Milestone
bash-completion (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: bash

Tab completion will not work on archives, when using a utility like vim even though the Ubuntu distributed copy has the zip.vim version v14 extension.

This is unfair because emacs which also has the ability isn't restricted in /etc/tab-completion. IE, vim can open compressed files, let's not impose an assumption that it can't.

I've attached a patch for fix.

Revision history for this message
Evan Carroll (evancarroll) wrote :
Changed in bash:
status: New → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

why do you remove the completion for compressed files?

Changed in bash:
status: Confirmed → Incomplete
Revision history for this message
Evan Carroll (evancarroll) wrote :

Because vim can browse compressed files... just like Emacs can. So the behavior should be consistent. Why extract an archive just to edit a copy of the file if vim can take care of it for you?

Mika Fischer (zoop)
Changed in bash-completion:
status: Incomplete → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bash-completion - 20060301-3ubuntu1

---------------
bash-completion (20060301-3ubuntu1) hardy; urgency=low

  * Bug fix upload (LP: #194860)
   - Fixed completion of filenames with spaces
   - Fixed completion of hostnames with scp
   - Fixed completion of filenames with scp
   - Fixed parsing of SSH config files to parse Host and HostName lines
     correctly. Previously "HostName host" lines were parsed as two hosts:
     "Name" and "host".
  * More bugfixes:
   - Fix tar completion to handle "tar rf" the same as "tar cf" (LP: #94407)
   - Complete .m4v and .M4V for media players (LP: #115224)
   - Complete .divx and .flv for media players (LP: #127605)
   - Complete all files for "gzip ... <" (LP: #127605)
   - Allow whitespace in front of GlobalKnownHostsFile etc. (LP: #128866)
   - Complete compressed files for vim (LP: #149494)
   - Always use /etc/hosts and $HOSTFILE for host completion too (LP: #184175)
  * Modify Maintainer value to match the DebianMaintainerField
    specification.

 -- Mika Fischer <email address hidden> Sat, 15 Mar 2008 19:46:17 +0100

Changed in bash-completion:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.