[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

erc-avatars.el 1.0

From: Benjamin Drieu
Subject: erc-avatars.el 1.0
Date: Thu, 19 Apr 2012 13:11:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

This module insert custom avatar in front of nicks speaking through IRC.
It has also been designed to work with the bitlbee gateway (probably)
out of the box.

To use is, just load this module, for instance:

  (load-file "/path/to/erc-avatars.el")

ERC avatars will try to match nicks with filenames in the
erc-avatars-dir path, removing common decoration (leading/trailing
underscores or backquotes).  I.e. benj.png will match "_benj_" or

Additionally, configuration can be made through the erc-avatar-list
customizable variable in the same manner.

The following will associate <erc-avatars-dirs>/benj.png to "benj",
"_benj_", "bEnj[work]", "moi" or any other combination.  Also, del.png
will be associated to "del", "ailee" and the like.

  (setq erc-avatars-list '(("benj.png" "benj.*" "moi")
                            "del.png" "del" "ailee"))

Code included as an attachement.

* Benjamin Drieu <address@hidden> -
* Soutenez le logiciel libre, rejoignez l'April
* La comptabilité personnelle libre pour tous -

Attachment: erc-avatars.el
Description: application/emacs-lisp

reply via email to

[Prev in Thread] Current Thread [Next in Thread]