News for hackers. Stuff that matters.
Re:Tell HN: Slack decides to close down IRC and XMPP gateways by zeveb on Wednesday March 07, 2018 @05:44PM (#16540677)
I just use emacs-slack[0]; my entire emacs usage is currently a fraction of yours.

On X, this means emacs-slack displays images, emoji &c. just like the web or pseudo-native clients do.

[0] https://github.com/yuya373/emacs-slack

Re:Tell HN: Slack decides to close down IRC and XMPP gateways by dangom on Wednesday March 07, 2018 @05:57PM (#16540768)
I guess this is about to break because of the current announcement?
Re:Tell HN: Slack decides to close down IRC and XMPP gateways by anglebracket on Wednesday March 07, 2018 @06:05PM (#16540825)
I don't believe so. emacs-slack uses their official OAuth2 + Websocket integration https://github.com/yuya373/emacs-slack#how-to-get-token-the-...
Re:Tell HN: Slack decides to close down IRC and XMPP gateways by eadmund on Wednesday March 07, 2018 @07:58PM (#16541380)
This is, incidentally, an argument about how a well-designed system like emacs can make writing a truly-native app easy: so easy that some random guy was able to take the API and write a client for a text editor (granted, the greatest & best text editor the world has ever known …).

If it's so hard to write native macOS, Windows, gtk+ or Qt apps — maybe that's a fault of those development environments. Granted, 'display sequences of text, optionally with some images' is kinda in emacs's wheelhouse.

Re:Tell HN: Slack decides to close down IRC and XMPP gateways by pseudalopex on Thursday March 08, 2018 @02:09AM (#16542862)
It isn't hard to write native apps, but if you already have a web app, wrapping it in Electron is a lot cheaper.
Re:Tell HN: Slack decides to close down IRC and XMPP gateways by RaycatRakittra on Wednesday March 07, 2018 @06:36PM (#16541000)
Correct. emacs-slack uses WebSockets and Slack's Real-Time Messaging API.
Re:Tell HN: Slack decides to close down IRC and XMPP gateways by Y_Y on Thursday March 08, 2018 @03:37AM (#16543167)
Oh great, now every lazy developer is going to write their app on top of emacs and distribute a crappy Emactron version that uses almost eight megs of RAM.

But seriously, how hard would it be for a sneaky dev to make emacs with emacs-slack into a normal person application with clicky buttons and no ugly gnu? Could be worth a lot of money, or at least github stars.

Re:Tell HN: Slack decides to close down IRC and XMPP gateways by zeveb on Thursday March 08, 2018 @10:17AM (#16544798)
> But seriously, how hard would it be for a sneaky dev to make emacs with emacs-slack into a normal person application with clicky buttons and no ugly gnu?

Well, out of the box emacs has a clicky-button toolbar: https://i.stack.imgur.com/ml0UE.png

And using the keybindings folks expect from Windows is part of modern emacs: https://www.emacswiki.org/emacs/CuaMode

As an aside, I absolutely love the idea of every new app being written atop emacs, but I'm an incorrigible emacs user. I use emacs for email, for git, for slack and (often but not always) for web browsing. Oh, and also to edit text.

Re:Tell HN: Slack decides to close down IRC and XMPP gateways by ninjakeyboard on Wednesday March 07, 2018 @07:28PM (#16541266)
I was going to make a comment about using Slack from emacs but of course I'm not the only one. :)