Presence is the Jabber term for letting other people know that you are online, and additionally how “available” you are. There are three elements to presence: availability state (called “show”), status message, and priority.
Your show state may either be empty (meaning simply “online”), or
“away”, “extended away” (i.e. away for an extended period), “do
not disturb”, and “free for chat”, respectively. This information
is available to everyone subscribing to your presence, but technically
it does not restrict anyone's actions. You can chat with people even
if you claim to be away.
The status message is a short text complementing your show status, such as “at home”, “working”, “phone”, “playing games” or whatever you want. It is sent to everyone subscribing to your presence, but not all clients prominently display it to the user.
The priority is only interesting if you are running more than one Jabber client at a time accessing the same account. See Resources and priority.
To set your presence, use the function
(bound to C-x C-j C-p).
It can be called both interactively and in Lisp code. For the latter
case, use something like
(jabber-send-presence "away" "idle for
10 minutes" 10). There are a few shortcuts:
By default, jabber.el sets your presence when you connect. If you
want it not to do that, remove
jabber-post-connect-hooks. If you want to change the
presence that is sent, change the variables
With jabber.el, you can set your presence remotely. See Ad-Hoc Commands.