wee-slack / wee-slack

A WeeChat script for Slack.com. Supports threads and reactions, synchronizes read markers, provides typing notification, etc..
MIT License
2.51k stars 227 forks source link

Convert irc-style mentions to slack mentions #388

Open chreekat opened 7 years ago

chreekat commented 7 years ago

As an alternative to #314, I would love it if messages I send like

bob: did you do the thing?

Get translated to

@bob did you do the thing?

This would make my muscle memory very happy.

Hm, come to think of it, I guess a weechat macro could do this for me...

chreekat commented 7 years ago

(Sorry bob, if you really exist on github)

bob commented 7 years ago

Yes, I do, no problem, it happens everyday lol

ToxicFrog commented 7 years ago

Weeslack kind of supports this: bo => tab => bob: => tab => @bob:.

It would be nice if bob: got translated automatically, though, without needing to tab multiple times. Shouldn't be too hard to implement.

auscompgeek commented 7 years ago

Why not just "fix" the tab completion to prefer @bob: first at the beginning of a message?

ToxicFrog commented 7 years ago

That works fine if you're using tab completion, but for short names I usually just type the name: manually, so it would be nice to have both (as options, perhaps?)

auscompgeek commented 7 years ago

Hm. wee-slack's tab completion appears to behave differently depending on Slack team settings (in both scenarios it's not what I really want/expect).

Wait, never mind, was just typing their full username.

tfheen commented 7 years ago

Why not just "fix" the tab completion to prefer @bob: first at the beginning of a message?

Because I have a strong preference for the current behaviour.

I doubt we'll implement this feature, but if somebody shows up with a clean patch to implement it (not as a default), I'll review it. (Just to be super clear: Not saying it'll be merged, but we'll look at it.)