From 68ea0089aaf86775208f342872d5d0c6aae0db0d Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 18 Aug 2017 11:14:13 -0700 Subject: defaults/alot.rc.spec Mark all values for [account]encrypt_by_default as deprecated --- alot/defaults/alot.rc.spec | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'alot/defaults') diff --git a/alot/defaults/alot.rc.spec b/alot/defaults/alot.rc.spec index ad61c178..97de329d 100644 --- a/alot/defaults/alot.rc.spec +++ b/alot/defaults/alot.rc.spec @@ -332,23 +332,23 @@ thread_focus_linewise = boolean(default=True) # Outgoing messages will be GPG signed by default if this is set to True. sign_by_default = boolean(default=False) - # Alot will try to GPG encrypt outgoing messages by default when this - # is set to `all` or `trusted`. If set to `all` the message will be - # encrypted for all recipients for who a key is available in the key - # ring. If set to `trusted` it will be encrypted to all - # recipients if a trusted key is available for all recipients (one - # where the user id for the key is signed with a trusted signature). - # - # .. note:: If the message will not be encrypted by default you can - # still use the :ref:`toggleencrypt - # `, :ref:`encrypt - # ` and :ref:`unencrypt - # ` commands to encrypt it. - # .. note:: The values `True` and `False` are interpreted as `all` and - # `none` respectively. They are kept for backwards - # compatibility to give users a change to migrate to the new - # option type. They might become deprecated in future - # versions. + # Alot will try to GPG encrypt outgoing messages by default when this + # is set to `all` or `trusted`. If set to `all` the message will be + # encrypted for all recipients for who a key is available in the key + # ring. If set to `trusted` it will be encrypted to all + # recipients if a trusted key is available for all recipients (one + # where the user id for the key is signed with a trusted signature). + # + # .. note:: If the message will not be encrypted by default you can + # still use the :ref:`toggleencrypt + # `, :ref:`encrypt + # ` and :ref:`unencrypt + # ` commands to encrypt it. + # .. deprecated:: 0.4 + # The values `True` and `False` are interpreted as `all` and + # `none` respectively. `0`, `1`, `true`, `True`, `false`, + # `False`, `yes`, `Yes`, `no`, `No`, will be removed before + # 1.0, please move to `all`, `none`, or `trusted`. encrypt_by_default = option('all', 'none', 'trusted', 'True', 'False', 'true', 'false', 'Yes', 'No', 'yes', 'no', '1', '0', default='none') # The GPG key ID you want to use with this account. If unset, alot will -- cgit v1.2.3