irssi-import / bugs.irssi.org

bugs.irssi.org archive
https://github.com/irssi/irssi/issues
0 stars 0 forks source link

Revert bug 316 - default tab completion should NOT stop signal #917

Open irssibot opened 10 years ago

irssibot commented 10 years ago

I'm writing a script which puts @ in front of nicks when completing them in a twitter channel on bitlbee.

In bug #316 there was a request to make default tab completions in the irssi source stop the 'complete word' signal. This was because the author was printing out debug output, and was surprised when they caught a signal with data filled in by previous functions.

I would consider this a feature, not a bug. I tried using this signal today, having looked at it in signals.txt, and considering the design where an arrayref is passed into the function for you to populate it, I was surprised that it was not coming through populated by the earlier functions that caught this signal - and in fact the signal was being stopped. It didn't seem consistent with the irssi signal design generally.

I think the behaviour introduced in bug 316 isn't useful behaviour because:

I've searched online for existing scripts that use this signal and might break on this change: