[Mutt] #3092: mutt-1.5.18: sync on thread sorted mailbox mispositions index message position
#3092: mutt-1.5.18: sync on thread sorted mailbox mispositions index message
position
{{{
Package: mutt
Version: 1.5.18
Severity: normal
-- Please type your report below this line
This has been bothering me for a while, and I think I have finally
characterised the behaviour.
Enter a mail folder in threaded view using:
set sort=reverse-threads
set sort_aux=last-date
I use maildirs, but I believe the behaviour is related to the sorting,
not the mail folder format.
Find a thread whose message dates span the date of some other
messages outside the thread. Choose one of those outside messages.
Delete the later messages from the thread until it no longer spans
the chosen outside message. Position the cursor on one of the
remaining messages in the thread. Type '$' (well, do a sync).
The mailbox gets reordered. The cursor seems to remain at the same
linear position in the index (thus on a different message). This
is not desirable behaviour. It should remain on the same message
it was on before the sync.
This does leave open the behaviour when the cursor points at a
deleted message. Personally I would choose to have the cursor move
to the "next undeleted" message before the sync.
-- System Information
System Version: Linux janus 2.6.23-gentoo-r9adaptec #1 SMP Sat Mar 8
12:02:22 EST 2008 x86_64 Intel(R) Xeon(TM) CPU 3.00GHz GenuineIntel
GNU/Linux
-- Build environment information
(Note: This is the build environment installed on the system
muttbug is run on. Information may or may not match the environment
used to build mutt.)
- gcc version information
x86_64-pc-linux-gnu-gcc
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-
devel/gcc-4.1.2/work/gcc-4.1.2/configure --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/info --with-gxx-
include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib --disable-
checking --disable-werror --enable-secureplt --disable-libunwind-
exceptions --enable-multilib --enable-libmudflap --disable-libssp
--disable-libgcj --enable-languages=c,c++,treelang,fortran --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.2 (Gentoo 4.1.2 p1.0.2)
- CFLAGS
-Wall -pedantic -march=nocona -pipe -O2
-- Mutt Version Information
Mutt 1.5.18 (2008-05-17)
Copyright (C) 1996-2008 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.
System: Linux 2.6.23-gentoo-r9adaptec (x86_64)
ncurses: ncurses 5.6.20061217 (compiled with 5.6)
libidn: 1.5 (compiled with 1.5)
hcache backend: GDBM version 1.8.3. 10/15/2002 (built Apr 17 2007
01:56:24)
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE
+USE_FCNTL -USE_FLOCK
+USE_POP +USE_IMAP +USE_SMTP -USE_GSS +USE_SSL_OPENSSL
-USE_SSL_GNUTLS -USE_SASL +HAVE_GETADDRINFO
+HAVE_REGCOMP -USE_GNU_REGEX
+HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET
+HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM
+CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME
+CRYPT_BACKEND_GPGME
+EXACT_ADDRESS -SUN_ATTACHMENT
+ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET
+HAVE_LANGINFO_YESEXPR
+HAVE_ICONV -ICONV_NONTRANS +HAVE_LIBIDN +HAVE_GETSID +USE_HCACHE
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/opt/mutt-1.5.18-gentoo-amd64/share/mutt"
SYSCONFDIR="/opt/mutt-1.5.18-gentoo-amd64/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please visit http://bugs.mutt.org/.
}}}
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3092>