By using the jabber plug-in, you can perform instant messaging and chat in Emacs, which can be viewed on Emacs-wiki. How can this problem be solved ?! We can use several instant messaging tools in Emacs through jabber. Here we will take Gtalk as an example to briefly describe the basic usage of jabber.
Emacs-Jabber packages can be directly installed from the source on Ubuntu/Debian.
For example, if you want to configure Google Talk, you can use the following method to configure it in. emacs:
(Setq jabber-account-list '((Waterlin.org@gmail.com"(: Network-Server."Talk.google.com")(: Connection-type. SSL ))))
After the configuration is complete, you can use M-x jabber-connect to log on. It will allow you to enter the jid, And you can directly enter the mailbox name you set.
After successful login, emacs will have a buffer \ *-Jabber-roster-\ * from which you can find the person you want to chat.
To chat with a person, run the M-x jabber-chat-with command to enter the account of the person, you can also find someone's account in \ *-Jabber-roster-\ * buffer and press enter to display \ *-Jabber-chat -: -person-\ * is a buffer. In this buffer, you can chat with him/her. If the recipient receives a message, emacs will prompt the recipient's name in minibuffer, prompting you to have a new message.
When chatting, press enter to send a message, and use C-J to create a new line to input a message.
By default, you will be displayed online. If you need to modify the status, such as changing to away, you can use the command M-x jabber-send-presence or the shortcut key C-x C-j c-P to switch the status.
Other common commands:
- Exit the M-x jabber-Disconnect command;
- To add someone as a friend, run the M-x jabber-send-subparts-Request command;
- Run the M-x jabber-mimize command to configure the jabber.
This is a good tool, especially as a Gtalk client in Linux. It not only supports chatting, but also supports saving chat records in Gmail.