<<< Date Index >>>     <<< Thread Index >>>

link-thread in Gmail imap folder removes label



When I have a Gmail IMAP folder (aka "label") open in mutt and use
link-thread, the message I linked to the other one has the label
removed. 

Example: 

I am in the IMAP folder 
imaps://imap.gmail.com/whatever 
(i.e. all messages labeled "whatever" in Gmail).

One message has subject "foo". 
One message has subject "bar".

They are not related, hence not threaded in mutt.

I tag message "bar", move to message "foo" and hit "&" for
link-thread. The messages are linked in a thread:

foo 
'--> bar

Fine so far. 

I hit "$" to sync the mailbox, and message "bar" disappears. 

When I log in to Gmail using their web interface, message "bar" is
still in "All Mail", but has the label "whatever" removed.

To me, this makes Gmail unusable for reading mailing lists *). 

Am I doing something wrong? Is there a fix? (Detailed info about my
mutt version at bottom of this message)

m.

*) especially since I normally don't use IMAP directly, but
offlineimap, with "realdelete=yes", and that means the linked message
is actually moved to the Trash. (I'm assuming this is something
between how mutt links threads and Gmail, and not offlineimap, since I
experience it directly in IMAP as well, as described). 


Output of mutt -v:

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.27-9-generic (i686)
ncurses: ncurses 5.6.20071124 (compiled with 5.6)
libidn: 1.8 (compiled with 1.8)
hcache backend: GDBM version 1.8.3. 10/15/2002 (built Jun 15 2006 21:19:27)
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  +COMPRESSED  +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="/usr/share/mutt"
SYSCONFDIR="/etc"
EXECSHELL="/bin/sh"
MIXMASTER="mixmaster"
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please visit http://bugs.mutt.org/.

patch-1.5.13.cd.ifdef.2
patch-1.5.13.cd.purge_message.3.4
patch-1.5.13.nt+ab.xtitles.4
patch-1.5.4.vk.pgp_verbose_mime
patch-1.5.6.dw.maildir-mtime.1
patch-1.5.8.hr.sensible_browser_position.3