aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-06-28 14:07:51 +0200
committerRobin Jarry <robin@jarry.cc>2023-06-29 16:24:00 +0200
commit320d961dc87084add8c0c254f77be7f4fc76732d (patch)
tree81d2bab7fe41d21e4bf9a21fca24a2c682f843e0
parentdfabb5232875663884d35f7d69b752f0b56ad64b (diff)
downloadaerc-320d961dc87084add8c0c254f77be7f4fc76732d.tar.gz
doc: mention :search in aerc(1)
:search is mentioned in the help of :filter of aerc(1), but is not "documented" which might be confusing for new users. Add a shallow entry that points to aerc-search(1). Signed-off-by: Robin Jarry <robin@jarry.cc> Reviewed-by: Inwit <inwit@sindominio.net>
-rw-r--r--doc/aerc-search.1.scd8
-rw-r--r--doc/aerc.1.scd5
2 files changed, 11 insertions, 2 deletions
diff --git a/doc/aerc-search.1.scd b/doc/aerc-search.1.scd
index 8cfbfd6a..66cfecab 100644
--- a/doc/aerc-search.1.scd
+++ b/doc/aerc-search.1.scd
@@ -6,10 +6,13 @@ aerc-search - search and filter patterns and options for *aerc*(1)
# MAILDIR & IMAP
-*search* [*-ruba*] [*-x* _<flag>_] [*-X* _<flag>_] [*-H* _Header: Value_] [*-f* _<from>_] [*-t* _<to>_] [*-c* _<cc>_] [*-d* _<start[,end]>_] [_<terms>_...]
+*:filter* [*-ruba*] [*-x* _<flag>_] [*-X* _<flag>_] [*-H* _Header: Value_] [*-f* _<from>_] [*-t* _<to>_] [*-c* _<cc>_] [*-d* _<start[,end]>_] [_<terms>_...]
+*:search* [*-ruba*] [*-x* _<flag>_] [*-X* _<flag>_] [*-H* _Header: Value_] [*-f* _<from>_] [*-t* _<to>_] [*-c* _<cc>_] [*-d* _<start[,end]>_] [_<terms>_...]
Searches the current folder for messages matching the given set of
conditions.
+ *:filter* restricts the displayed messages to only the search results.
+
Each space separated term of _<terms>_, if provided, is searched
case-insensitively among subject lines unless *-b* or *-a* are
provided.
@@ -70,7 +73,8 @@ aerc-search - search and filter patterns and options for *aerc*(1)
# NOTMUCH
-*search* _query_...
+*:filter* _query_...
+*:search* _query_...
You can use the full notmuch query language as described in
*notmuch-search-terms*(7).
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd
index 4002e339..c067929c 100644
--- a/doc/aerc.1.scd
+++ b/doc/aerc.1.scd
@@ -382,6 +382,11 @@ message list, the message in the message viewer, etc).
*:prev-result*
Selects the next or previous search result.
+*:search* [_<options>_] _<terms>_...
+ Searches the current folder for messages matching the given set of
+ conditions. The search syntax is dependent on the underlying backend.
+ Refer to *aerc-search*(1) for details.
+
*:select* _<n>_++
*:select-message* _<n>_
Selects the _<n>_\th message in the message list (and scrolls it into