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

Bug 58666

Summary: Tab completion is quirky in XChat
Product: Gentoo Linux Reporter: David Lloyd <dmlloyd>
Component: Current packagesAssignee: Packages in net-irc <net-irc>
Status: VERIFIED TEST-REQUEST    
Severity: minor CC: gnome
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David Lloyd 2004-07-28 08:27:56 UTC
If you're in an IRC channel and there's two people with similar nicks, like this:

david
DavidLloyd

and you type 'dav' then hit tab to complete, it completes to 'David' instead of 'david', which is kind of annoying.

The reason for this, as far as I can see, is that the sorting of nicks is wrong.  It seems to internally sort in this order: coolguy DavidLloyd david egad
rather than the more correct: coolguy david DavidLloyd egad


Reproducible: Always
Steps to Reproduce:
1. Join IRC channel that has two nicks that differ in case, with one being a lowercase prefix to the other (i.e., foo and FOOBAR)
2. Type a full or partial match to the shorter nick, hit tab
3. See the incorrect caps

Actual Results:  
i.e., FOO

Expected Results:  
foo
Comment 1 David Lloyd 2004-07-28 08:36:39 UTC
After further testing, I have conculded that in general, longer nicks are sorted before shorter nicks:

aaa
bbbbb
bbb
ccc

rather than:

aaa
bbb
bbbbb
ccc
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-07-28 17:52:55 UTC
i believe net-irc deals with xchat now?
Comment 3 Sven Wegener gentoo-dev 2004-07-31 05:33:33 UTC
I've commited a fix for this to CVS, please test.
Comment 4 David Lloyd 2004-11-29 14:39:08 UTC
It looks as if tab completion was completely redone in some later version of xchat (I'm using 2.4.0 now).  As far as I'm concerned, this can be closed.
Comment 5 foser (RETIRED) gentoo-dev 2004-11-29 14:42:53 UTC
it was in 2.4 afaik