Under Development
stars

Compose Options#

$compose_confirm_detach_first#

Description:

Prevent the accidental deletion of the composed message

Type:

Boolean

Default:
set compose_confirm_detach_first = yes

When set, NeoMutt will prompt for confirmation when trying to use <detach-file> on the first entry in the compose menu. This is to help prevent irreversible loss of the typed message by accidentally hitting ‘D’ in the menu.

Note

NeoMutt only prompts for the first entry. It doesn’t keep track of which message is the typed message if the entries are reordered, or if the first entry was already deleted.


$compose_format#

Description:

Format string for the Compose Dialog’s status bar

Type:

Expando

Notes:

Localised String, Pipe Support

Default:
set compose_format = "-- NeoMutt: Compose  [Approx. msg size: %l   Atts: %a]%>-"
Alternative:
set compose_format = "-- NeoMutt: Compose  [Approx. msg size: %{attach-size}   Atts: %{attach-count}]%{padding-hard:-}"

Specify the format of the data displayed in the Compose Dialog’s status bar.

Format Sequences

Short

Long Name

Description

%a

%{attach-count}

Total number of attachments

%h

%{hostname}

Local hostname

%l

%{attach-size}

Approximate size (in bytes) of the current message (see Bytes Size Display)

%v

%{version}

NeoMutt version string

%*X

%{padding-soft:X}

Soft-fill with character X as padding

%>X

%{padding-hard:X}

Right justify the rest of the string and pad with character X

%|X

%{padding-eol:X}

Pad to the end of the line with character X


$compose_preview_above_attachments#

Description:

Show the message preview above the attachments list. By default it is shown below it.

Type:

Boolean

Default:
set compose_preview_above_attachments = no

Show the message preview above the attachments list. By default it is shown below it.


$compose_preview_min_rows#

Description:

Hide the preview if it has fewer than this number of rows

Type:

Number

Notes:

Not Negative

Default:
set compose_preview_min_rows = 5

Specify the minimum number of rows that must be available for the message preview window to be shown.


$compose_show_preview#

Description:

Display a preview of the message body in the Compose Dialog

Type:

Boolean

Default:
set compose_show_preview = yes

When set, NeoMutt will display a preview of message in the compose view.


$compose_show_user_headers#

Description:

Controls whether or not custom headers are shown in the compose envelope

Type:

Boolean

Default:
set compose_show_user_headers = yes

When set, NeoMutt will display user-defined headers (set via :my-header or from editing with edit-headers).


$copy#

Description:

Save outgoing emails to $record

Type:

Quad-Option

Default:
set copy = yes

Control whether copies of your outgoing messages are saved for later reference.


$edit_headers#

Description:

Let the user edit the email headers whilst editing an email

Type:

Boolean

Default:
set edit_headers = no

Allow editing the header of your outgoing messages along with the body of your message.

Although the compose menu may have localized header labels, the labels passed to your editor will be standard RFC2822 headers, (e.g. To:, Cc:, Subject:). Headers added in your editor must also be RFC2822 headers, or one of the pseudo headers listed in “$edit-header”. NeoMutt will not understand localized header labels, just as it would not when parsing an actual email.

Note

Changes made to the References: and Date: headers are ignored for interoperability reasons.


$ispell#

Description:

External command to perform spell-checking

Type:

Command (String)

Default:
set ispell = "ispell"

How to invoke ispell (GNU’s spell-checking software).


$postpone#

Description:

Save messages to the $postponed folder

Type:

Quad-Option

Default:
set postpone = ask-yes

Controls whether or not messages are saved in the $postponed mailbox when you elect not to send immediately. If set to ask-yes or ask-no, you will be prompted with “Save (postpone) draft message?” when quitting from the Compose Dialog.

See also

$recall