diff options
author | Robin Jarry <robin@jarry.cc> | 2023-01-25 01:11:52 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-01-26 00:21:16 +0100 |
commit | 1367fd4246716e3f693f8a1d70630c438489ce03 (patch) | |
tree | 19e46557bfa17167c9ba96142969dd9ff5ec0463 /config/compose.go | |
parent | 63f0e0cbc9a5f072d8915717c89d7ab4f4ff94af (diff) | |
download | aerc-1367fd4246716e3f693f8a1d70630c438489ce03.tar.gz |
compose: allow sending format=flowed messages
Allow composing and sending messages with:
Content-Type: text/plain; Format=Flowed
This requires additional configuration in the text editor to actually
produce the required trailing spaces at the end of lines that are part
of the same paragraph. For example, with vim:
"~/.vim/ftplugin/mail.vim
setlocal textwidth=72
setlocal formatoptions=1jnwtcql
setlocal comments+=nb:>
Link: https://www.rfc-editor.org/rfc/rfc3676.html
Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Moritz Poldrack <moritz@poldrack.dev>
Diffstat (limited to 'config/compose.go')
-rw-r--r-- | config/compose.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/compose.go b/config/compose.go index 80d93204..14a3087b 100644 --- a/config/compose.go +++ b/config/compose.go @@ -15,6 +15,7 @@ type ComposeConfig struct { ReplyToSelf bool `ini:"reply-to-self"` NoAttachmentWarning *regexp.Regexp `ini:"-"` FilePickerCmd string `ini:"file-picker-cmd"` + FormatFlowed bool `ini:"format-flowed"` } func defaultComposeConfig() *ComposeConfig { |