Home > emacs, fun, hack > Micro blogging with emacs addons

Micro blogging with emacs addons

Emacs has become my favourite application these days, Its now part of my digital life. I always wondered why i have missed such an nice app before.

For those who are n00bs and non-geeks goto http://www.gnu.org/software/emacs/tour/

Makes life colourful :D. It hasn’t made into Fedora repository yet, But package review is on at https://bugzilla.redhat.com/show_bug.cgi?id=501101

Add the following to your ~/.emacs file to get it working

(require ‘color-theme)

I used it to connect Gtalk from emacs, FYI gtalk uses a open protocol named XMPP (jabber).It is a great app. Find the package review request at https://bugzilla.redhat.com/show_bug.cgi?id=508316

Add the following to your ~/.emacs file to get it working

(setq jabber-account-list
(:network-server . “talk.google.com”)
(:connection-type . ssl))))

Back to Micro blogging:

Identi.ca is a free software microblogging service, similar to Twitter, based on the Laconi.ca code base. It has a Twitter bridge, which means you can associate your twitter account to identi.ca , so that the notices you post to identi.ca will be posted to your twitter account too;

It has a XMPP bridge, which means you can post notices to identi.ca from gtalk (gtalk uses XMPP). To post notices to identi.ca using gtalk add update@identi.ca bot to your gtalk contacts list and activate the bridge in identi.ca .

Facebook has a identi.ca app http://apps.facebook.com/identica/, which fetches notices from your identi.ca account and posts updates in facebook;

So the tree goes like,
XMPP (gtalk)-> Identi.ca ->{Twitter,facebook}

Now, the heck it relates to emacs? yes, use emacs-jabber and msg update@identi.ca to post notices;


Alternatively, you can use BitlBee; BitlBee brings IM (instant messaging) to IRC clients. It’s a great solution for people who have an IRC client running all the time and don’t want to run an additional MSN/AIM/whatever client.

Bitlbee and erc can be combined to get a good experience;

Configuring bitlbee:

cat /etc/bitlbee/bitlbee.conf |grep -v “#”

RunMode = inetd
User = bitlbee
DaemonInterface =
DaemonPort = 6667
ClientInterface =
AuthMode = Open
ConfigDir = /var/lib/bitlbee/
PingInterval = 0


We use xinetd to run bitlbee:

bash-4.0$ cat /etc/xinetd.d/bitlbee
# default: off
# description: bitlbee is an IRC gateway to other IM networks.
service ircd
disable = no
socket_type = stream
protocol = tcp
wait = no
user = bitlbee
bind =
server = /usr/sbin/bitlbee
port = 6667
log_on_failure += USERID

Start xinetd,

service xinetd start
chkconfig xinetd on

Now in emacs,

M-x erc
IRC Server:
IRC Port:6667

Above erc commands should get you inside bitlbee’s local irc server;

Register your nickname:

You should register your nick with local bitlbee irc server using,

register ‘password’

(Don’t forget to auto identify =P )

Add your IM account(s):

account add jabber email@gmail.com ‘password’

Activate your IM account(s):

account on 0

Now it should automatically connect you to gtalk; Bitlbee supports Various IM networks including yahoo;

Identica Mode for Emacs:

If you don’t want wasting your time with bitlbee, emacs-jabber and XMPP bridge; Then emacs-identica-mode is the one for you;Its under review at https://bugzilla.redhat.com/show_bug.cgi?id=532241

Identica mode for emacs HOWTO: http://blog.nethazard.net/identica-mode-for-emacs/

Categories: emacs, fun, hack
  1. அழகு செல்வன்,S.P
    November 1, 2009 at 11:32 am

    So ,with bitlbee i have even more coolness added to my mini-OS -> Emacs!Thanks for sharing 🙂

  2. Arun SAG
    November 1, 2009 at 11:36 am

    @அழகு செல்வன்You are most welcome! :-)Add the following to ~/.emacs to get the chats of individual users in separate window:;;; Private messages are in window (setq erc-auto-query 'window);;; Handle notices (add-hook 'erc-after-connect (lambda (server nick) (add-hook 'erc-server-NOTICE-hook 'erc-auto-query)))

  3. koolhead17
    November 4, 2009 at 5:26 am

    dude add sumwer that on ubuntu/debianapt-get install emacs-goodies-eldoes the magic for installing the emacs coloring pkg. ^^^nice blog keep more coming 🙂

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: