From a2ff1142ce2d4c372f34283d1807c766400a1e46 Mon Sep 17 00:00:00 2001 From: brady Date: Sat, 5 Jan 2019 21:51:35 -0600 Subject: ~ expansion for .config/alot/config pep8! Better variable names, new feature into docs. Make sphinx documentation. --- docs/source/configuration/accounts.rst | 3 ++- docs/source/configuration/accounts_table | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/source/configuration/accounts.rst b/docs/source/configuration/accounts.rst index f925b7a9..81f45b35 100644 --- a/docs/source/configuration/accounts.rst +++ b/docs/source/configuration/accounts.rst @@ -17,7 +17,8 @@ Here is an example configuration gpg_key = D7D6C5AA sendmail_command = msmtp --account=wayne -t sent_box = maildir:///home/bruce/mail/work/Sent - draft_box = maildir:///home/bruce/mail/work/Drafts + # ~ expansion also works + draft_box = maildir://~/mail/work/Drafts [[secret]] realname = Batman diff --git a/docs/source/configuration/accounts_table b/docs/source/configuration/accounts_table index db727898..7d1c12dc 100644 --- a/docs/source/configuration/accounts_table +++ b/docs/source/configuration/accounts_table @@ -52,7 +52,7 @@ .. describe:: draft_box - where to store draft mails, e.g. `maildir:///home/you/mail/Drafts`. + where to store draft mails, e.g. `maildir:///home/you/mail/Drafts` or `maildir://~/mail/Drafts`. You can use mbox, maildir, mh, babyl and mmdf in the protocol part of the URL. .. note:: You will most likely want drafts indexed by notmuch to be able to @@ -166,7 +166,7 @@ .. describe:: sent_box - where to store outgoing mails, e.g. `maildir:///home/you/mail/Sent`. + where to store outgoing mails, e.g. `maildir:///home/you/mail/Sent` or `maildir://~/mail/Sent`. You can use mbox, maildir, mh, babyl and mmdf in the protocol part of the URL. .. note:: If you want to add outgoing mails automatically to the notmuch index -- cgit v1.2.3