branch: externals/minimail
commit 670fd7049d58ffae646565b9ed79d46a92216bcd
Author: Augusto Stoffel <[email protected]>
Commit: Augusto Stoffel <[email protected]>
Default minimail-accounts with Yhetil
---
README.org | 22 ++++++++++++++--------
minimail.el | 3 ++-
2 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/README.org b/README.org
index 9800797716..057b8a3744 100644
--- a/README.org
+++ b/README.org
@@ -2,9 +2,8 @@
Minimail is a simple, non-blocking IMAP email client for Emacs.
-Currently Minimail provides the bare minimum necessary to read and
-reply to messages. Here is a listing of implemented and planned
-features.
+Minimail currently covers the basics needed for reading and replying
+to messages. Below is a listing of implemented and planned features.
- [X] Read messages, including MIME (rendering via Gnus)
- [X] Compose, reply to and forward messages
@@ -17,18 +16,25 @@ features.
- [ ] Fancy algorithm based on reference message IDs.
- [X] Move messages (also archive, move to trash, flag as junk)
- [ ] Mark and operate on sets of messages (move, etc.)
+- [ ] "Load more messages" button
- [ ] Notifications (polling or IDLE)
- [ ] OAuth
Being non-blocking doesn't mean Minimail has excellent performance
(spoiler: it doesn't, yet); it simply means that it has one of the
necessary condition for such. In fact, Minimail currently doesn't
-include any other kind of optimization:
+include any of these possible optimizations:
-- [ ] Message caching
+- [ ] Caching
- [ ] Connection pool (for concurrent requests)
- [ ] Prefetching of messages in the background
+** Try it out
+
+Minimail comes pre-configured to access the Emacs mailing lists served
+by [[https://yhetil.org/][Yhetil]] via anonymous IMAP. Just type
=minimail-find-mailbox= to
+try it out.
+
** Configuration
Just set =mail-user-agent= to =minimail= and customize the variable
@@ -45,13 +51,13 @@ Just set =mail-user-agent= to =minimail= and customize the
variable
:mail-address "[email protected]"
:incoming-url "imaps://imap.gmail.com"
:outgoing-url "smtps://smtp.gmail.com"
- :signature-file "~/.signature")
+ :signature (file "~/work/.signature"))
(uni
:mail-address "[email protected]"
;; Include a username in the server URLs if it doesn't match
;; your email address.
- ;; Use the `imap' and `smtp' as URL scheme if your server
- ;; only supports STARTTLS.
+ ;; Use `imap' and `smtp' as URL scheme if your server only
+ ;; supports STARTTLS.
:incoming-url "imap://[email protected]"
:outgoing-url "smtp://[email protected]")))
#+end_src
diff --git a/minimail.el b/minimail.el
index 7839d6e8d8..c51afbcbd3 100644
--- a/minimail.el
+++ b/minimail.el
@@ -236,7 +236,8 @@ Give up after MAX-TRIES, if that is non-negative."
:prefix "minimail-"
:group 'mail)
-(defcustom minimail-accounts nil
+(defcustom minimail-accounts
+ '((yhetil :incoming-url "imaps://:@yhetil.org/yhetil.emacs"))
"Account configuration for the Minimail client.
This is an alist where keys are names used to refer to each account and
values are a plist with the following information: