Skip to main content

Module muttrc

Module muttrc 

Source
Expand description

Muttrc importer: translate the common muttrc directives into rmut’s TOML config. Meant for a one-time rmut --import-muttrc run whose output the user reviews and saves; everything that does not map is kept visible as # not imported: comments, never dropped silently.

Structs§

Import
Parsed import: the TOML text plus the alias lines found, in muttrc form. rmut reads mutt-format alias files as they are, so these belong in one of those rather than in the TOML; the caller either writes them to the alias file or shows them with alias_block.

Functions§

alias_block
The alias lines as a comment block, for the printed-for-review form of an import, which writes nothing anywhere.
convert_key
mutt key syntax → rmut key syntax (None: no equivalent).
import
dir anchors relative source includes.
import_file
index_function
pager_function