3

How can I connect to a group chat using a bookmark with jabber.el? I figured out how to look at the bookmarks via M-x jabber-edit-bookmarks, but I can't find any commands to actually use them! (Actually editing bookmarks seems unsupported, at least in my version of jabber.el.)

I have a few bookmarks already set up with another service that do show up in the Jabber bookmarks buffer, but I have no idea of how to actually connect through them.

1
  • 1
    I'd say you use M-x jabber-chat-with and give the name of the bookmark as jid; caveat: I don't use jabber.el, I just skimmed the sources because you made me curious :-)
    – user295
    Commented Oct 9, 2014 at 11:06

1 Answer 1

4

There is a command for connecting to all bookmarked group chats that have the "autojoin" flag set: M-x jabber-muc-autojoin. This is included in jabber-post-connect-hooks by default, so you should only need to use it just after modifying bookmarks.

You can join a room manually with M-x jabber-muc-join. It currently doesn't offer the bookmarked rooms for completion (though it probably should), but if you enter the JID, it will pick up the nickname configured in the bookmark.

Editing bookmarks is supported by jabber.el, but sometimes the server doesn't allow it. You should see an error message in the echo area in that case.

3
  • I did get an error message: Storing bookmarks failed: Feature not implemented. I thought it meant that it wasn't implemented in jabber.el, but I guess it could mean that it's not implemented on the server. I could also just have an old version of jabber.el. Commented Oct 9, 2014 at 17:28
  • 1
    Ah, I can see how that message is misleading. It is actually just reporting what the server returned, but perhaps that could be made clearer...
    – legoscia
    Commented Oct 9, 2014 at 20:17
  • Yeah, that makes sense. Server error messages are a pain. Perhaps it could just have a note that it's a server response? Something like Jabber server error: Storing bookmarks failed: .... Commented Oct 9, 2014 at 20:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.