diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2012-04-05 20:26:09 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2012-04-05 20:26:09 +0100 |
commit | 29d47ee694dece2faa3b776e91e6c014ab6a653e (patch) | |
tree | dd19e736154d5407f16c630840ab3c988ab7f74e /alot | |
parent | 2cb5996bc6cea048b981ea26bdfe90d8ae7dcd60 (diff) |
replace string_list with force_list
in config spec. This results in singletons given w/o a trailing comma
to be accepted as a singleton list.
Diffstat (limited to 'alot')
-rw-r--r-- | alot/defaults/alot.rc.spec | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/alot/defaults/alot.rc.spec b/alot/defaults/alot.rc.spec index b3927844..fa95a7a7 100644 --- a/alot/defaults/alot.rc.spec +++ b/alot/defaults/alot.rc.spec @@ -27,10 +27,10 @@ theme = string(default=None) display_content_in_threadline = boolean(default=False) # headers that get displayed by default -displayed_headers = string_list(default=list(From,To,Cc,Bcc,Subject)) +displayed_headers = force_list(default=list(From,To,Cc,Bcc,Subject)) # headers that are hidden in envelope buffers by default -envelope_headers_blacklist = string_list(default=list(In-Reply-To,References)) +envelope_headers_blacklist = force_list(default=list(In-Reply-To,References)) # Replace own email addresses with "me" in author lists # Uses own addresses and aliases in all configured accounts. @@ -61,10 +61,10 @@ editor_in_thread = boolean(default=False) # Which header fields should be editable in your editor # used are those that match the whitelist and don't match the blacklist. # in both cases '*' may be used to indicate all fields. -edit_headers_whitelist = string_list(default=list(*,)) +edit_headers_whitelist = force_list(default=list(*,)) # see :ref:`edit_headers_whitelist <edit-headers-whitelist>` -edit_headers_blacklist = string_list(default=list(Content-Type,MIME-Version,References,In-Reply-To)) +edit_headers_blacklist = force_list(default=list(Content-Type,MIME-Version,References,In-Reply-To)) # timeout in seconds after a failed attempt to writeout the database is repeated flush_retry_timeout = integer(default=5) @@ -145,7 +145,7 @@ prompt_suffix = string(default=':') realname = string # used to clear your addresses/ match account when formatting replies - aliases = string_list(default=list()) + aliases = force_list(default=list()) # sendmail command. This is the shell command used to send out mails via the sendmail protocol sendmail_command = string(default='sendmail') @@ -158,7 +158,7 @@ prompt_suffix = string(default=':') draft_box = mail_container(default=None) # list of tags to automatically add to outgoing messages - sent_tags = string_list(default=list('sent')) + sent_tags = force_list(default=list('sent')) # path to signature file that gets attached to all outgoing mails from this account, optionally # renamed to ref:`signature_filename <signature-filename>`. |