[neomutt-users] Limit is sometimes applied automatically when returning to index

Andy Smith andy at strugglers.net
Mon Oct 31 18:02:33 CET 2022


Hi,

I just upgraded my system to Debian 11 from Debian 9, and I'm seeing
changed behaviour in NeoMutt which is quite confusing.

It's a little hard to explain but, if I have the folder limited to New
messages and I view one of them, then sometimes when I return to the
index the limit is re-applied immediately so the message I just viewed
is hidded (as it's no longer new).

This doesn't always happen. I suspect it happens when new mail arrives
in the folder while I was viewing the message.

It's quite confusing as I "lose" the message I was just looking at, and
my position in the folder can jump about quite a bit when this happens.

This did not happen with the version of NeoMutt I was using in Debian 9.
There, any new messages would appear but the limit would not be
re-applied on returning to the index unless I forced that with l ~N <cr>.
The message I had just viewed would be visible but shown as read.

Is there any setting to return to this previous behaviour?

My config and version details appear below.

Cheers,
Andy

set mbox_type=Maildir
set timeout=5
set nomark_old
set spoolfile=/home/andy/Maildir/
set folder=/home/andy/Maildir/
set abort_nosubject=no
set alias_file=~/.mutt/aliases
set editor="vim"
set bounce_delivered=no
set include=yes
set mark_old=no
set menu_scroll=no
set move=no
set pager_context=0
set pager_index_lines=5
set pager_stop=yes
set pager_format="%4C %Z %.20n: %s%* %[!%F %T %Z] – (%P)"
set record=~/Maildir/.sent-mail/
set realname="Andy Smith"
set from="andy at strugglers.net"
set use_from=yes
set reverse_alias=yes
set reverse_name=yes
set sort=threads
set sort_aux=last-date-received
set sort_re=yes
set tilde
set mailcap_sanitize
set delete=yes
set postpone=yes
set charset=utf8
set bounce_delivered=no
set query_command="lbdbq %s"
set read_inc=100
set write_bcc=no
set ignore_list_reply_to=yes
set index_format="%4C %Z %{%b %d} %-15.15F (%4c) %s"
set envelope_from
set header_cache=~/.mutt/hcache
set smart_wrap
set wrap_search=yes
unset markers
alternative_order text/plain text/enriched text
set xterm_set_titles=yes
set xterm_title="%v: %f [Msgs:%M/%m New:%n%?t? Tagged:%t?] (%s/%S)"

mailboxes /home/andy/postponed `find $HOME/Maildir -type d -name cur | sed -e s:/cur$:: | sort | xargs`

ignore *
unignore from: date: subject: to: cc: reply-to:
unignore priority: importance:
unignore organization: organisation:
unignore user-agent: x-agent: x-mailer: x-newsreader:
unignore x-mailing-list: x-editor:
unignore newsgroups: posted-to: posted-and-mailed:
unignore x-also-posted-to: x-newsgroups:
unignore rt-originator: x-mailfrom: x-rt-originator:
unignore x-bitfolk-domain:
unhdr_order *

hdr_order \
	Date: \
	From: \
	X-MailFrom: \
	X-RT-Originator: \
	To: \
	Subject:

bind	generic	<F98>		first-entry
bind	generic	<F121>		last-entry

bind	index	<pagedown>	next-page
bind	index	<pageup>	previous-page
bind	index	<F98>		first-entry
bind	index	<F121>		last-entry

bind	editor	<F98>		bol
bind	editor	<F121>		eol

bind	pager	<F98>		top
bind	pager	<F121>		bottom

open-hook \\.gz$ "gzip -cd %f > %t"
close-hook \\.gz$ "gzip --best --rsyncable -c %t > %f"
append-hook \\.gz$ "gzip --best --rsyncable -c %t >> %f"

macro index <F5> ":source ~/.muttrc\n" \
	"Reload the muttrc"
macro pager <F5> ":source ~/.muttrc\n" \
	"Reload the muttrc"

auto_view text/html
auto_view text/x-vcard

$ neomutt -v
NeoMutt 20201127
Copyright (C) 1996-2020 Michael R. Elkins and others.
NeoMutt comes with ABSOLUTELY NO WARRANTY; for details type 'neomutt -vv'.
NeoMutt is free software, and you are welcome to redistribute it
under certain conditions; type 'neomutt -vv' for details.

System: Linux 5.10.0-19-amd64 (x86_64)
ncurses: ncurses 6.2.20201114 (compiled with 6.2.20201114)
libidn: 1.33 (compiled with 1.33)
GPGME: 1.14.0-unknown
GnuTLS: 3.7.1
libnotmuch: 5.3.0
storage: tokyocabinet

Configure options: --build=i686-linux-gnu --prefix=/usr {--includedir=${prefix}/include} {--mandir=${prefix}/share/man}
{--infodir=${prefix}/share/info} --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules
 {--libdir=${prefix}/lib/i386-linux-gnu} {--libexecdir=${prefix}/lib/i386-linux-gnu} --disable-maintainer-mode --disable
-dependency-tracking --mandir=/usr/share/man --libexecdir=/usr/libexec --with-mailpath=/var/mail --gpgme --lua --notmuch
 --with-ui --gnutls --gss --idn --mixmaster --sasl --tokyocabinet --sqlite --autocrypt

Compilation CFLAGS: -g -O2 -ffile-prefix-map=/build/neomutt-8uPELd/neomutt-20201127+dfsg.1=. -fstack-protector-strong -W
format -Werror=format-security -std=c99 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -D_FILE_OFFSET_BITS=64 -I/usr/i
nclude -I/usr/include/lua5.4 -DNCURSES_WIDECHAR -isystem /usr/include/mit-krb5

Default options:
  +attach_headers_color +compose_to_sender +compress +cond_date +debug
  +encrypt_to_self +forgotten_attachments +forwref +ifdef +imap +index_color
  +initials +limit_current_thread +multiple_fcc +nested_if +new_mail +nntp +pop
  +progress +quasi_delete +regcomp +reply_with_xorig +sensible_browser +sidebar
  +skip_quoted +smtp +status_color +timeout +tls_sni +trash

Compile options:
  +autocrypt +bkgdset +color +curs_set +fcntl -flock -fmemopen +futimens
  +getaddrinfo +gnutls +gpgme +gss +hcache -homespool +idn +inotify
  -locales_hack +lua +meta +mixmaster +nls +notmuch -openssl +pgp +regex +sasl
  +smime +sqlite +start_color +sun_attachment +typeahead
MAILPATH="/var/mail"
MIXMASTER="mixmaster"
PKGDATADIR="/usr/share/neomutt"
SENDMAIL="/usr/sbin/sendmail"
SYSCONFDIR="/etc"


More information about the neomutt-users mailing list