mu-query: use mu info tables

This commit is contained in:
Dirk-Jan C. Binnema 2024-03-17 10:59:37 +02:00
parent 44c394316b
commit 7e89e3715b
1 changed files with 64 additions and 39 deletions

View File

@ -119,31 +119,39 @@ full table with all details, including single-char shortcuts, try the command:
~mu info fields~. ~mu info fields~.
#+ATTR_MAN: :disable-caption t #+ATTR_MAN: :disable-caption t
|------------+-----------+--------------------------------| #+begin_example
| field-name | alias | description | +-----------+----------+----------+-----------------------------+
| bcc | | Blind carbon-copy recipient | | flag | shortcut | category | description |
| body | | Message plain-text body | +-----------+----------+----------+-----------------------------+
| cc | | Carbon-copy recipient | | draft | D | file | Draft (in progress) |
| changed | | Last change time | +-----------+----------+----------+-----------------------------+
| date | | Message date | | flagged | F | file | User-flagged |
| embed | | Embedded text | +-----------+----------+----------+-----------------------------+
| file | | Attachment file name | | passed | P | file | Forwarded message |
| flags | flag | Message properties | +-----------+----------+----------+-----------------------------+
| from | | Message sender | | replied | R | file | Replied-to |
| language | lang | ISO 639-1 language code (*) | +-----------+----------+----------+-----------------------------+
| maildir | | Maildir path for message | | seen | S | file | Viewed at least once |
| list | | Mailing list (List-Id:) | +-----------+----------+----------+-----------------------------+
| message-id | msgid | Message-Id | | trashed | T | file | Marked for deletion |
| mime | mime-type | Attachment MIME-type | +-----------+----------+----------+-----------------------------+
| path | | File system path to message | | new | N | maildir | New message |
| priority | prio | Priority | +-----------+----------+----------+-----------------------------+
| references | | References to related messages | | signed | z | content | Cryptographically signed |
| size | | Message size in bytes | +-----------+----------+----------+-----------------------------+
| subject | | Message subject | | encrypted | x | content | Encrypted |
| tags | tag | Message tags | +-----------+----------+----------+-----------------------------+
| thread | | Thread a message belongs to | | attach | a | content | Has at least one attachment |
| to | | Message recipient | +-----------+----------+----------+-----------------------------+
|------------+-----------+--------------------------------| | unread | u | pseudo | New or not seen message |
+-----------+----------+----------+-----------------------------+
| list | l | content | Mailing list message |
+-----------+----------+----------+-----------------------------+
| personal | q | content | Personal message |
+-----------+----------+----------+-----------------------------+
| calendar | c | content | Calendar invitation |
+-----------+----------+----------+-----------------------------+
#+end_example
(*) The language code for the text-body if found. This works only if ~mu~ was (*) The language code for the text-body if found. This works only if ~mu~ was
built with CLD2 support. built with CLD2 support.
@ -217,20 +225,37 @@ size:10m..
The *flag/g* field allows you to match message flags. The following fields are The *flag/g* field allows you to match message flags. The following fields are
available: available:
#+begin_example #+begin_example
a,attach Message with attachment +-----------+----------+----------+-----------------------------+
c,calendar Calendar invitation | flag | shortcut | category | description |
d,draft Draft Message +-----------+----------+----------+-----------------------------+
f,flagged Flagged | draft | D | file | Draft (in progress) |
l,list Mailing-list message +-----------+----------+----------+-----------------------------+
n,new New message (in new/ Maildir) | flagged | F | file | User-flagged |
p,passed Passed (`Handled') +-----------+----------+----------+-----------------------------+
q,personal Personal message | passed | P | file | Forwarded message |
r,replied Replied +-----------+----------+----------+-----------------------------+
s,seen Seen | replied | R | file | Replied-to |
t,trashed Marked for deletion +-----------+----------+----------+-----------------------------+
u,unread new OR NOT seen | seen | S | file | Viewed at least once |
x,encrypted Encrypted message +-----------+----------+----------+-----------------------------+
z,signed Signed message | trashed | T | file | Marked for deletion |
+-----------+----------+----------+-----------------------------+
| new | N | maildir | New message |
+-----------+----------+----------+-----------------------------+
| signed | z | content | Cryptographically signed |
+-----------+----------+----------+-----------------------------+
| encrypted | x | content | Encrypted |
+-----------+----------+----------+-----------------------------+
| attach | a | content | Has at least one attachment |
+-----------+----------+----------+-----------------------------+
| unread | u | pseudo | New or not seen message |
+-----------+----------+----------+-----------------------------+
| list | l | content | Mailing list message |
+-----------+----------+----------+-----------------------------+
| personal | q | content | Personal message |
+-----------+----------+----------+-----------------------------+
| calendar | c | content | Calendar invitation |
+-----------+----------+----------+-----------------------------+
#+end_example #+end_example
Some examples: Some examples: