Nicknames don't tab-complete when preceded by non-nickname characters like punctuation #441

Open
amalmurali47 opened this Issue Mar 7, 2013 · 12 comments

6 participants

@amalmurali47

When I try to tab complete a nick after typing a word (without a space) it won't work. For example, if a person's nick is JohnDoe:

Hello world.John[tab-key] doesn't autocomplete.

but:

Hello world. John[tab-key] does.

;)

@TingPing
hexchat member

Well I wouldn't really call this a bug, otherwise every single word could be completed with random nicks when you accidentally hit tab...

Well upon actually reading the title, i see you just meant punctuation.

@amalmurali47

I guess people don't hit Tab key so often. Anyway, is there any work-around/fix for this?

@vampiricwulf

"If special characters are used (e.g. !,.?&$@|) Tab-completion should treat it the same way as a space."
Is what you're saying, correct?

@amalmurali47

@vampiricwulf: Yes, that's correct.

@TingPing
hexchat member

Yea just change this - src/fe-gtk/fkeys.c#L1467 , ill look into it later.

@vampiricwulf

@amalmurali47 Then I second this enhancement 👍.

@PrplHaz4

I run into this all the time trying to direct a comment to someone:
@JohnDoe please accept this enhancement request!

In fact, @ is pretty much the only character i really care about being able to precede a nick for autocomplete....

@Farow

IRC isn't twitter though, there's no need for silly characters like that.

@PrplHaz4

@Farow it works great for helping bots to tokenize input as a nickname...but thanks for the reminder - I keep forgetting IRC != twitter 👍

@TingPing TingPing closed this in b296839 Dec 9, 2014
@TingPing
hexchat member

Hmm, that commit doesn't quite fix the original issue. Things like +nick or @nick will work now though.

@TingPing TingPing reopened this Dec 9, 2014
@danonline

I was trying to figure out, why this wasn't working (@nick wouldn't do anything), and then I saw, that the build from the download section on hexchat.org was compiled on November 25th 2014. Is there an ETA for an update that has this feature?

@TingPing
hexchat member

@danonline Tab completing with a valid prefix works absolutely fine.

EDIT: Oh sorry your comment was about the age of the stable version, you can grab a new build here: https://dl.hexchat.net/hexchat/testing/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment