Pager Read Delay Feature

Delay when the pager marks a previewed message as read

1. Support

Since: NeoMutt 2021-06-16

Dependencies: None

2. Introduction

The Pager Read Delay feature adds a new config variable to allow the pager to operate in a preview mode. A new message is not marked as read merely because the pager opened it, but only after the pager remains on the message for a given length of time.

3. Functions

The Pager Read Delay feature adds no new functions to NeoMutt. Existing pager functions for navigating to a different message now check whether to mark a message as read.

4. Variables

The Pager Read Delay feature adds one new config variable, $pager_read_delay, which is an integer for how many seconds the pager must remain on a given message before marking it as read. The variable defaults to 0 for the original behavior of marking a message as read the moment the pager visits it.

5. neomuttrc

# Example NeoMutt config file for the pager-read-delay feature.

# Stay at least 5 seconds on a message before the pager marks it as read
set pager_read_delay = 5

# vim: syntax=neomuttrc

6. Known Bugs

When $pager_index_lines is non-zero, the N status indicator from the %Z expando of $index_format does not actively reflect the current new/read status of the message.

7. Credits

Eric Blake

Search by Algolia