diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2022-08-31 22:33:02 +0300 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2022-09-01 22:32:33 +0300 |
commit | aa99b0d787463be4267913b801117bd4d2ea5003 (patch) | |
tree | d7adc73cc10810dce96bb954c152c2cb69a9203d /docs | |
parent | da9c80ccfd7aa87842c2c3c089ba2b784a583ab6 (diff) | |
download | meli-aa99b0d787463be4267913b801117bd4d2ea5003.zip |
compose: implement configurable subject prefix stripping when replying
Introduce functionality to strip email subject from a set list of
prefixes or from a user set list.
Also, added a setting for the reply prefix (default is "Re:").
Closes #142
Diffstat (limited to 'docs')
-rw-r--r-- | docs/meli.conf.5 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/meli.conf.5 b/docs/meli.conf.5 index 078d324d..87aa1641 100644 --- a/docs/meli.conf.5 +++ b/docs/meli.conf.5 @@ -540,6 +540,24 @@ Whether the strftime call for the attribution string uses the POSIX locale inste Forward emails as attachment? (Alternative is inline). .\" default value .Pq Em ask +.It Ic reply_prefix_list_to_strip Ar [String] +.Pq Em optional +Alternative lists of reply prefixes (etc. ["Re:", "RE:", ...]) to strip. +.\" default value +.Pq Em ["Re:", "RE:", "Fwd:", "Fw:", "回复:", "回覆:", "SV:", "Sv:", "VS:", "Antw:", "Doorst:", "VS:", "VL:", "REF:", "TR:", "TR:", "AW:", "WG:", "ΑΠ:", "Απ:", "απ:", "ΠΡΘ:", "Πρθ:", "πρθ:", "ΣΧΕΤ:", "Σχετ:", "σχετ:", "ΠΡΘ:", "Πρθ:", "πρθ:", "Vá:", "Továbbítás:", "R:", "I:", "RIF:", "FS:", "BLS:", "TRS:", "VS:", "VB:", "RV:", "RES:", "Res", "ENC:", "Odp:", "PD:", "YNT:", "İLT:", "ATB:", "YML:"] +.It Ic reply_prefix Ar String +.Pq Em optional +The prefix to use in reply subjects. +The de facto prefix is "Re:". +.\" default value +.Pq Em `Re:` +.Pp +RFC 2822, "Internet Message Format" has this to say on the matter: +.Bd -literal -offset indent -compact +When used in a reply, the field body MAY start with the string "Re: " (from +the Latin "res", in the matter of) followed by the contents of the "Subject:" +field body of the original message. +.Ed .El .Sh SHORTCUTS Shortcuts can take the following values: |