Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353216 - =app-shells/bash-completion-1.2 - tab completion does not work for kompare
Summary: =app-shells/bash-completion-1.2 - tab completion does not work for kompare
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Shell Tools project
URL: http://alioth.debian.org/tracker/?fun...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-30 10:48 UTC by Christoph Erhardt
Modified: 2011-02-08 16:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch removing the useless rule (bash-completion-1.2-kompare.patch,380 bytes, patch)
2011-01-30 10:50 UTC, Christoph Erhardt
Details | Diff
Updated ebuild (revision-bumped) (bash-completion-1.2-r1.ebuild,2.81 KB, text/plain)
2011-01-30 10:52 UTC, Christoph Erhardt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Erhardt 2011-01-30 10:48:34 UTC
The "base" module of bash-completion contains the following rule:

complete -f -X '!*.@(dif?(f)|?(d)patch)' kompare

This is utterly useless and counterproductive because it prevents tab completion when trying to diff two arbitrary local files with kompare. The rule has already been removed upstream (see URL), but no new version of bash-completion has been released yet.

Reproducible: Always

Steps to Reproduce:
1. Enable bash-completion
2. Try to use tab completion when diff'ing two local files with kompare:
   kompare foo.c.orig foo.c
Actual Results:  
Tab completion does not work

Expected Results:  
Tab completion should work
Comment 1 Christoph Erhardt 2011-01-30 10:50:45 UTC
Created attachment 261083 [details, diff]
Patch removing the useless rule
Comment 2 Christoph Erhardt 2011-01-30 10:52:31 UTC
Created attachment 261084 [details]
Updated ebuild (revision-bumped)
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-02-01 17:32:45 UTC
I'll consider adding the patch if upstream takes much longer to release a new version. (This would be my only complaint of b-c upstream).

As a sidenote, "diff -u <old> <new>" output is more convienient to read quickly.
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-02-08 16:53:21 UTC
+*bash-completion-1.3 (08 Feb 2011)
+
+  08 Feb 2011; Jeremy Olexa <darkside@gentoo.org>
+  +bash-completion-1.3.ebuild:
+  Upstream version bump, closes Gentoo bugs: 321241, 339059, 353216