Wee-slack: Convert irc-style mentions to slack mentions

Created on 10 Jul 2017  路  7Comments  路  Source: wee-slack/wee-slack

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...

enhancement

Most helpful comment

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

All 7 comments

(Sorry bob, if you really exist on github)

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

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.

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

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?)

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).

  • If @ is not required for mentions (the default): bo<tab> => bob: <tab> => @bob:, but
  • if @ _is_ required for mentions: bo<tab> => @bob<tab> (note lack of space) => @bob:.

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

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.)

Was this page helpful?
0 / 5 - 0 ratings