Next: , Previous: Reconnecting, Up: Useful features


10.5 Tracking activity

When you're working on something important you might want to delay responding to incoming messages. However, when you're done working, will you remember them? If you're anything like me, you'll have a lot of buffers in your Emacs session, and a Jabber chat buffer can easily get lost.

When jabber-activity-mode is enabled (by default, it is), Emacs keeps track of the buddies which have messaged you since last you visited their buffer, and will display them in mode line. As soon as you visit their buffer they disappear from the mode line, indicating that you've read their message.

If your mode line fills over because of these notifications, you can customize jabber-activity-make-strings to shorten them to the shortest possibly unambiguous form.

If you try to exit Emacs while you still have unread messages, you will be notified and asked about this. If you don't like that, set jabber-activity-query-unread to nil.

If you want to display the number of unread buffers in the frame title, set jabber-activity-count-in-title to t. The format of the number can be changed through jabber-activity-count-in-title-format.

To hide activity notifications for some contacts, use jabber-activity-banned variable - just add boring JIDs (as regexps) here.

For complete customizability, write a hook function for jabber-activity-update-hook. From that function, you can take action based on jabber-activity-jids, jabber-activity-mode-string, and jabber-activity-count-string.