2.3.7.3. Commands in thread modeΒΆ

The following commands are available in thread mode

pipeto

pipe message(s) to stdin of a shellcommand

argument
shellcommand to pipe to
optional arguments
—all:pass all messages.
—format:output format. Valid choices are: `raw`,`decoded`,`id`,`filepath` (Defaults to: ‘raw’).
—separately:call command once for each message.
—background:don’t stop the interface.
—add_tags:add ‘Tags’ header to the message.
—shell:let the shell interpret the command.
—notify_stdout:
 display command’s stdout as notification message.
editnew

edit message in as new

optional arguments
—spawn:open editor in new window.
toggleheaders

display all headers

optional arguments
—all:affect all messages.
print

print message(s)

optional arguments
—all:print all messages.
—raw:pass raw mail string.
—separately:call print command once for each message.
—add_tags:add ‘Tags’ header to the message.
remove

remove message(s) from the index

optional arguments
—all:remove whole thread.
togglesource

display message source

optional arguments
—all:affect all messages.
retag

set message(s) tags.

argument
comma separated list of tags
optional arguments
—all:tag all messages in thread.
—no-flush:postpone a writeout to the index (Defaults to: ‘True’).
fold

fold message(s)

optional arguments
—all:fold all messages.
tag

add tags to message(s)

argument
comma separated list of tags
optional arguments
—all:tag all messages in thread.
—no-flush:postpone a writeout to the index (Defaults to: ‘True’).
untag

remove tags from message(s)

argument
comma separated list of tags
optional arguments
—all:tag all messages in thread.
—no-flush:postpone a writeout to the index (Defaults to: ‘True’).
unfold

unfold message(s)

optional arguments
—all:unfold all messages.
forward

forward message

optional arguments
—attach:attach original mail.
—spawn:open editor in new window.
reply

reply to message

optional arguments
—all:reply to all.
—spawn:open editor in new window.
save

save attachment(s)

argument
path to save to
optional arguments
—all:save all attachments.
toggletags

flip presence of tags on message(s)

argument
comma separated list of tags
optional arguments
—all:tag all messages in thread.
—no-flush:postpone a writeout to the index (Defaults to: ‘True’).
select
select focussed element. The fired action depends on the focus:
  • if message summary, this toggles visibility of the message,
  • if attachment line, this opens the attachment

Previous topic

2.3.7.2. Commands in search mode

Next topic

2.3.7.4. Commands in envelope mode

This Page