]> granicus.if.org Git - neomutt/commit
feat: use mailbox description for spoolfile 1708/head
authorAustin Ray <austin@austinray.io>
Fri, 10 May 2019 00:05:22 +0000 (20:05 -0400)
committerRichard Russon <rich@flatcap.org>
Fri, 10 May 2019 21:36:36 +0000 (22:36 +0100)
commit6735894ca5ce48957b567d123819ee909edcb447
tree292ce7f6f954ba7c2f1fd53a386f2e3933423933
parent8e6eb4ec8030fd2cf30b4da47a6063596ee4c939
feat: use mailbox description for spoolfile

'spoolfile' is limited to mailboxes paths so if one wants to use a
'named-mailboxes' or 'virtual-mailboxes' as the spoolfile, its path must
be duplicated in the 'spoolfile' assignment. 'virtual-mailboxes' has a
helper variable, 'virtual_spoolfile', for selecting the first
'virtual-mailboxes' entry as the spoolfile.

This commit allows one to use a mailbox description for the 'spoolfile,
which removes the need to duplicate a 'named-mailboxes' or
'virtual-mailboxes' path and makes 'virtual_spoolfile' defunct. The
configuration syntax is now more consistent.

It is important to note that mailbox descriptions are preferred to
paths.

To reflect the change, documentation was updated:
 - Add note to 'spoolfile' about using a string to specify a
   'named-mailboxes' or 'virtual-mailboxes' description.
 - Add a note to the 'virtual_spoolfile' documentation saying that it is no
   longer necessary since 'spoolfile' supports descriptions now.
doc/manual.xml.head
init.h
main.c