Composition Update: Slack links in your Org Agenda
This is a mini update about how I compose my previous work on Slack messages in the Org Agenda and Org Mode Links for Emacs Slack: essentially if you use ol-emacs-slack just change your code from what is here to:
(use-package alert :after slack :init (alert-define-style 'my/alert-style :title "Make Org headings for messages I receive - Style" :notifier (lambda (info) (when (get-buffer "Slack.org") (with-current-buffer "Slack.org" (save-buffer))) (write-region (s-concat "* TODO " (plist-get info :title) " : " (format "[[emacs-slack:%s][%s]] :slack:" (plist-get info :title) (s-truncate 127 (s-replace "\n" ";" (plist-get info :message)))) "\n" (format "<%s>" (format-time-string "%Y-%m-%d %H:%M")) "\n" (plist-get info :message) "\n") nil "~/<yourPath>/Slack.org" t))) (setq alert-default-style 'message) (add-to-list 'alert-user-configuration '(((:category . "slack")) my/alert-style nil)))
You will now have entries in your agenda that will bring you to the related Emacs Slack room! Easy and quick to reply to new messages.
Happy hacking!
P.S.: thanks to Jolle for improving ol-emacs-slack and making me remember to share this!