-
-
Save EchoAbstract/6117370 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Connect using jabber-connect | |
;; My username from the HipChat configuration | |
;; from https://www.hipchat.com/account/xmpp | |
(setq jabber-account-list '(("[email protected]"))) | |
;; To join HipChat rooms easily | |
(defvar hipchat-number "10804") | |
(defvar hipchat-nickname "Brian McKenna") | |
(defun hipchat-join (room) | |
(interactive "sRoom name: ") | |
(jabber-groupchat-join | |
(jabber-read-account) | |
(concat hipchat-number "_" room "@conf.hipchat.com") | |
hipchat-nickname | |
t)) | |
;; Mention nicknames in a way that HipChat clients will pickup | |
(defun hipchat-mention (nickname) | |
(interactive | |
(list (jabber-muc-read-nickname jabber-group "Nickname: "))) | |
(insert (concat "@\"" nickname "\" "))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment