diff options
author | Amin Bandali <bandali@gnu.org> | 2019-06-05 23:26:52 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2019-06-05 23:26:52 -0400 |
commit | 109a3e041d2585e1d4260f74bc84843734bf3371 (patch) | |
tree | 9670a52f2a316b8849854d61c1fe21f6f3b5c103 | |
parent | 0c53f5ae4c908b19df2f473c3f2781ac705a1c68 (diff) | |
download | configs-109a3e041d2585e1d4260f74bc84843734bf3371.tar.gz configs-109a3e041d2585e1d4260f74bc84843734bf3371.tar.xz configs-109a3e041d2585e1d4260f74bc84843734bf3371.zip |
Revert "emacs: remove slack"
This reverts commit 216b87f104cb38dea4c71f2e5890f665a4c37820.
Well, sadly I do have to drop by slack every now and again this
summer. So let’s keep this installed for now.
-rw-r--r-- | .emacs.d/init.el | 45 | ||||
-rw-r--r-- | .emacs.d/straight/versions/default.el | 5 |
2 files changed, 50 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 0dc3610..b02ab90 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1541,6 +1541,51 @@ For disabling the behaviour for certain buffers and/or modes." org-ref-bibliography-notes "~/usr/org/notes.org" org-ref-pdf-directory "~/usr/org/bibtex-pdfs/")) +;; ugh, temporary (still better than using the proprietary web app) +(use-package slack + :commands (slack-start) + :init + (eval-when-compile ; silence the byte-compiler + (defvar url-http-data nil) + (defvar url-http-extra-headers nil) + (defvar url-http-method nil) + (defvar url-callback-function nil) + (defvar url-callback-arguments nil) + (defvar oauth--token-data nil)) + (setq slack-buffer-emojify t + slack-prefer-current-team t) + :config + (slack-register-team + :name "nday-students" + :default t + :token nday-students-token + :subscribed-channels '(general) + :full-and-display-names t) + (add-to-list 'swiper-font-lock-exclude 'slack-message-buffer-mode t) + (setq lui-time-stamp-format "[%Y-%m-%d %H:%M:%S]" + lui-time-stamp-only-when-changed-p t + lui-time-stamp-position 'right) + :bind + (("C-c s s" . slack-start) + ("C-c s u" . slack-select-unread-rooms) + ("C-c s b" . slack-select-rooms) + ("C-c s t" . slack-change-current-team) + ("C-c s c" . slack-ws-close) + :map slack-mode-map + ("M-p" . slack-buffer-goto-prev-message) + ("M-n" . slack-buffer-goto-next-message) + ("C-c e" . slack-message-edit) + ("C-c k" . slack-message-delete) + ("C-c C-k" . slack-channel-leave) + ("C-c r a" . slack-message-add-reaction) + ("C-c r r" . slack-message-remove-reaction) + ("C-c r s" . slack-message-show-reaction-users) + ("C-c p l" . slack-room-pins-list) + ("C-c p a" . slack-message-pins-add) + ("C-c p r" . slack-message-pins-remove) + ("@" . slack-message-embed-mention) + ("#" . slack-message-embed-channel))) + (use-package alert :commands (alert) :init (setq alert-default-style 'notifications)) diff --git a/.emacs.d/straight/versions/default.el b/.emacs.d/straight/versions/default.el index 5e60d0f..383d800 100644 --- a/.emacs.d/straight/versions/default.el +++ b/.emacs.d/straight/versions/default.el @@ -6,6 +6,7 @@ ("biblio.el" . "d1b2286f4ffc9f77919d916763eb2469f532027a") ("boxquote.el" . "7e47e0e2853bc1215739b2e28f260e9eed93b2c5") ("bui.el" . "508577a7225b3d07eaefa9444064410af2518675") + ("circe" . "6ccd4b494cbae9d28091217654f052eaea321007") ("cl-lib" . "deb92588d9d83d46c4698936ea31c5f58d244f04") ("closql" . "012b94f8695e194455111fd54eff0b94dd0dd0db") ("company-ebdb" . "3b463fe1236ac6445657f3a1df20357a7a2fa8f6") @@ -24,6 +25,9 @@ ("emacs-emojify" . "302d16e9bac72faf94984e0c48ecd0e4b8d66738") ("emacs-htmlize" . "8db0aa6aab77475a732b7363f0d57bd3933c18fd") ("emacs-memoize" . "9a561268ffb550b257a08710489a95cd087998b6") + ("emacs-request" . "db88fd21d25399ff9940c208173665b12493992b") + ("emacs-slack" . "75e5263e22a602df5c299f68f4c50af5b217e381") + ("emacs-websocket" . "d8ef1b764a7047b1163e8b9664bac5bd819058ed") ("emacs-which-key" . "77586e62b6d306bae07e4e3e093ba488724f4131") ("emacsql" . "d5c37d905d133a3887bc582e4a0126671816beaa") ("emmet-mode" . "1acb821e0142136344ccf40c1e5fb664d7db2e70") @@ -68,6 +72,7 @@ ("multiple-cursors.el" . "5ffb19af48bf8a76ddc9f81745be052f050bddef") ("mwim.el" . "b4f3edb4c0fb8f8b71cecbf8095c2c25a8ffbf85") ("no-littering" . "99ae007ead688689b5b25a9482f98ec67663bb61") + ("oauth2" . "bf4903b5a4a2af0327832bdcb20f3149176e1c1d") ("org" . "c103bc5acf7592b5c4bfebae488a67053ded2630") ("org-ref" . "b737a942e83c26e645e8070aaa6219a361b93bf2") ("packed" . "c41c3dfda86ae33832ffc146923e2a4675cbacfa") |