aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJason Cox <me@jasoncarloscox.com>2024-01-25 08:25:51 -0500
committerRobin Jarry <robin@jarry.cc>2024-01-26 21:36:15 +0100
commit11b035f120969758d1b08dddd761f9375504de55 (patch)
treebf028d7155ceb45deba3461cb73ed74413f3d965 /doc
parent0aab8ac318f6dee479afba13d09a5d1d1c0baa91 (diff)
downloadaerc-11b035f120969758d1b08dddd761f9375504de55.tar.gz
flags: add support for draft flag
Support the draft flag wherever flags are used. Automatically set it when postponing a message, and allow recalling a message without the -f flag if it has the draft flag set, regardless of what folder it's in. Notmuch doesn't seem to pick up on the draft flag when indexing even though the flag is set on the maildir file. Explicitly set all tags corresponding to set flags when appending a message in notmuch. Changelog-added: Support the `draft` flag. Signed-off-by: Jason Cox <me@jasoncarloscox.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc')
-rw-r--r--doc/aerc-config.5.scd7
-rw-r--r--doc/aerc-search.1.scd2
-rw-r--r--doc/aerc-templates.7.scd3
-rw-r--r--doc/aerc.1.scd2
4 files changed, 12 insertions, 2 deletions
diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd
index 043b738a..1aa9da5f 100644
--- a/doc/aerc-config.5.scd
+++ b/doc/aerc-config.5.scd
@@ -405,10 +405,15 @@ These options are configured in the *[ui]* section of _aerc.conf_.
Default: _\*_
+*icon-draft* = _<string>_
+ The icon to display in *column-flags* when the message is a draft.
+
+ Default: _d_
+
*icon-deleted* = _<string>_
The icon to display in *column-flags* when the message has been deleted.
- Default: _D_
+ Default: _X_
*fuzzy-complete* = _true_|_false_
When typing a command or option, the popover will now show not only the
diff --git a/doc/aerc-search.1.scd b/doc/aerc-search.1.scd
index 161a632f..fa630c1d 100644
--- a/doc/aerc-search.1.scd
+++ b/doc/aerc-search.1.scd
@@ -34,6 +34,8 @@ This syntax is common to all backends.
Replied messages
_Flagged_
Flagged messages
+ _Draft_
+ Draft messages
*-H*: Search in the headers of the messages, for a specific header
Syntax: _Header: Value_
diff --git a/doc/aerc-templates.7.scd b/doc/aerc-templates.7.scd
index 160fb77f..6e87c616 100644
--- a/doc/aerc-templates.7.scd
+++ b/doc/aerc-templates.7.scd
@@ -116,7 +116,8 @@ available always.
{{.Flags | join ""}}
```
-*IsReplied*, *HasAttachment*, *IsFlagged*, *IsRecent*, *IsUnread*, *IsMarked*
+*IsReplied*, *HasAttachment*, *IsFlagged*, *IsRecent*, *IsUnread*, *IsMarked*,
+*IsDraft*
Individual boolean flags. not available when composing, replying nor
forwarding.
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd
index d77bbf03..1ee61060 100644
--- a/doc/aerc.1.scd
+++ b/doc/aerc.1.scd
@@ -418,6 +418,8 @@ message list, the message in the message viewer, etc).
Message has been answered
_Flagged_
Message is flagged for urgent/special attention
+ _Draft_
+ Message is a draft
*:unflag* [*-t*] _<flag>_
Operates exactly like *:flag*, defaulting to unsetting (disabling) flags.