Although fine-tuning your slack notifications is already reason enough to run
slack in Emacs, that’s only the beginning. Once everything is up and running
you get to decide what you want out of your slack. Some of the snippets below
simply make up for missing functionality, other customize the package beyond
what you can do on the Slack Webapp.
Priorities first. The most important improvement you can implement is install
emojify-mode and turn it on for slack chats.
Secondly, make sure you customize the chat faces to your liking. Just open a
chat buffer, place your cursor on a piece of text whose face you want to
customize, and call customize-face.
In order to keep track of new messages in the mode-line, slack.el uses a package
called tracking, which is the same one circe uses for IRC chats. The command
tracking-next-buffer is a fantastic way to cycle through your pending
messages, bind it to something short.
I’ll never know who thought user statuses were a good idea for Slack. But, thanks
to a tip by _asummers on HackerNews, I can live in a world where they don’t exist.
I like notifications with minimal titles, and the package is kind enough to make
these configurable.
Slack.el uses lui for the chat buffers. If you, like me, are a heavy user of
abbrevs in Emacs, you’ll find it annoying that the final word of each message
won’t get expanded unless you explicitly hit SPC before RET. That’s easy to
remedy with an advice.
Finally, the biggest missing feature from this package is that it displays the
author on every message output.
Never mind, this feature has now been implemented by the package author!
You don’t have to stop here, of course. Want to fine-tune which buffers get
tracked on the mode-line? Hack into tracking.el. Want to change the face used
for your own messages, or even align them to the right? Redefine
slack-buffer-insert. Your workflow is yours to build.
Update 17 mar 2019
Noted that the message-merging is now part of the package.
Mold Slack entirely to your liking with Emacs
09 Oct 2017, by Artur Malabarba.Although fine-tuning your slack notifications is already reason enough to run slack in Emacs, that’s only the beginning. Once everything is up and running you get to decide what you want out of your slack. Some of the snippets below simply make up for missing functionality, other customize the package beyond what you can do on the Slack Webapp.
Priorities first. The most important improvement you can implement is install emojify-mode and turn it on for slack chats.
Secondly, make sure you customize the chat faces to your liking. Just open a chat buffer, place your cursor on a piece of text whose face you want to customize, and call
customize-face
.In order to keep track of new messages in the mode-line, slack.el uses a package called tracking, which is the same one circe uses for IRC chats. The command
tracking-next-buffer
is a fantastic way to cycle through your pending messages, bind it to something short.I’ll never know who thought user statuses were a good idea for Slack. But, thanks to a tip by _asummers on HackerNews, I can live in a world where they don’t exist.
I like notifications with minimal titles, and the package is kind enough to make these configurable.
Slack.el uses lui for the chat buffers. If you, like me, are a heavy user of abbrevs in Emacs, you’ll find it annoying that the final word of each message won’t get expanded unless you explicitly hit SPC before RET. That’s easy to remedy with an advice.
Finally, the biggest missing feature from this package is that it displays the author on every message output.Never mind, this feature has now been implemented by the package author!
You don’t have to stop here, of course. Want to fine-tune which buffers get tracked on the mode-line? Hack into
tracking.el
. Want to change the face used for your own messages, or even align them to the right? Redefineslack-buffer-insert
. Your workflow is yours to build.Update 17 mar 2019
Noted that the message-merging is now part of the package.
Tags: slack, init.el, emacs,
What tests you shouldn’t write: an essay on negative tests »
« Turbo up your Ruby console in Emacs
Related Posts
Keep your Slack distractions under control with Emacs in slack
Content © 2019, All rights reserved. Icons under CC3.0.