Emacs isn’t only a best-class editor which offers you productivity boost for free. It’s also all-in-one environment which embeds most frequently used tools like console (eshell), irc (erc), news reader (gnus) and… well known “social” gadgets like gtalk and twitter. Yes, that means, you may communicate with friends and check your tweets not even leaving editor window.
Let me show how to configure both.
Gtalk bases on open protocol (jabber), so the only thing we need is a jabber client. Looking at emacs wiki you will easily find this one along with exhaustive documentation.
There is also additional wiki page dedicated to jabber+gtalk configuration, so if you need details take a look at it.
You may also base on my own configuration:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
It looks complicated at the first sight, but in fact there is nothing more than setting account details
jabber-account-list, disabling retrieval of other people’s avatars
jabber-vcard-avatars-retrieve and customizing prompts and header line
To launch jabber just with one command I use following function:
1 2 3 4 5 6 7
M-x jabber connects immediately to gtalk kindly asking for password.
Twittering Mode is all you need here. Similar to gtalk, I wrote a function which simplifies twitter launching:
1 2 3 4
and simple configuration:
1 2 3 4 5
twittering-use-master-password avoid having to authorize twittering-mode each time it’s launched. It keeps tokens in encrypted
.twittering-mode.gpg file. As you noticed, encryption is based on gpg so you also need GnuPG and either EasyPG or alpaca.el which I found here.
Once it’s all installed, you are ready to start twittering mode
M-x twitter. If it’s run first time, twittering mode will ask for authorizing PIN number which you can gather from twitter page. This page shows up immediately in your browser if you only allow emacs running web browser for you.
Last thing is setting a password to
.twittering-mode.gpg and exactly this password you have to provide each time you will run twittering-mode in the future.