Lumail - The console email client

Lua primitives: display_filter()

NOTE: Lumail-legacy has been superseded by Lumail 2.x, which has a wholly unified Lua API.

When in message-mode an email will be displayed upon the screen. The display consists of two parts:

If you set a display_filter the body of the message being displayed will be filtered through it.

For example:

display_filter( "t-prot -cmekatlS --bigq --pgp-move-vrf -Mmutt -L/etc/t-prot/footers -A/etc/t-prot/ads" );

The following example would cause all messages to be displayed in upper-case:

display_filter( "tr '[:lower:]' '[:upper:]'" );


This function has been available since version 0.18.

See Also

See also headers, mail_filter, on_get_body, on_read_message.