It's indeed strange, I also experienced it when I first tried, all I had
to do was:

1. Install `smtpmail-async' Emacs module/package.

2. Require it in the ".emacs" file, with something like:

--8<---------------cut here---------------start------------->8---
(require 'smtpmail-async nil t)
--8<---------------cut here---------------end--------------->8---

3. In the ".gnus" file, do something like:

--8<---------------cut here---------------start------------->8---
(setq send-mail-function 'async-smtpmail-send-it
      message-send-mail-function 'async-smtpmail-send-it)
--8<---------------cut here---------------end--------------->8---

You can also apply all this things live in order to test them. Here are
two ways of doing so (after installing `smtpmail-async'):

For each of the ways described here, the following commands can be used:

--8<---------------cut here---------------start------------->8---
(require 'smtpmail-async nil t)
(setq send-mail-function 'async-smtpmail-send-it
      message-send-mail-function 'async-smtpmail-send-it)
--8<---------------cut here---------------end--------------->8---

a) using the "*scratch*" buffer, in this case, you would have to press
   C-j --- Ctrl + J --- for every new line in order for it to be
   applied. For example: type "(require 'smtpmail-async nil t)", then
   C-j, then continue;

b) using the Inferior Emacs Lisp Mode (IELM), by doing M-x ielm RET ---
   which means Alt + x (or ESC then X) and typing "ielm" then pressing
   Return/Enter. Every line given in the example above will be applied
   immediately when it's possible to find a new line which comes after a
   closing parenthesis sufficient to finish the outer command. For
   example, by trying to type:

--8<---------------cut here---------------start------------->8---
(cond ((string= "a" "b")
       (print "a"))
      (t (print "b")))
--8<---------------cut here---------------end--------------->8---

The first new line (after '(cond ((string= "a" "b")') won't evaluate
yet, because you have to close the parenthesis of '(cond', which will be
done in the last/third line.

Finally, another thing that helps is to use POP3 account. IMAP is OK,
but I also found that IMAP takes a lot of time to load, not only in
Gnus, but in other email clients.

2017-12-01T10:11:02-0600 Caleb Herbert wrote:
> Gnus locks up my environment.  Why do you like it?
>

Reply via email to