Virtual folders of IMAP folders can't get new mail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VM |
Fix Released
|
High
|
Uday Reddy |
Bug Description
This problem occurred twice, using Emacs 22. Doing a get new mail in an IMAP folder ended up getting multiple copies, apparently in an infinite loop. The *Messages* buffer shows the following sequence being repeated:
Checking for new mail for d:/Home/
Logging into the IMAP server...
Updating attributes on the IMAP server... done
Retrieving message attributes and labels...
Retrieving message atrributes and labels... done
Retrieving new messages...
Updating summary...
Sorting... done
3859 messages, 17 new, 207 unread, 6 deleted
Decoding MIME message...
Inlining text/html by emacs-w3m...
Decoding base64... done
Inlining text/html by emacs-w3m... done.
Decoding MIME message... done
3859 messages, 17 new, 207 unread, 6 deleted
Checking for new mail for d:/Home/
Eventually, Decoding base64 line is followed by
Inline text/html by emacs-w3m display failed: (error "Variable binding depth exceeds max-specpdl-size")
Decoding MIME message... done
3882 messages, 40 new, 207 unread, 6 deleted
Checking for new mail for d:/Home/
Logging into the IMAP server...
Updating attributes on the IMAP server... done
Retrieving message attributes and labels...
Retrieving message atrributes and labels... done
Retrieving new messages...
Updating summary...
Sorting... done
font-lock-
9 copies of the retrieved messages appear in the INBOX. All of them have 0 as the size.
9 IMAP sessions have been created and destroyed, and a final one created in the end but not terminated.
The messages in the INBOX have
body-to-
body-to-
uid = nil
uidvalidity = nil
spam-score = nil
Related branches
summary: |
- Variable binding depth error during IMAP get new mail + Variable depth binding error during IMAP get new mail |
Changed in vm: | |
milestone: | 8.1.93a → 8.1.94a |
summary: |
- Variable depth binding error during IMAP get new mail + Virtual folders of IMAP folders can't get new mail |
Changed in vm: | |
status: | In Progress → Fix Committed |
tags: | added: 8.2 |
Changed in vm: | |
status: | Fix Committed → Fix Released |
no longer affects: | vm/8.1.x |
debug-on-entry shows the following. Why is vm-imap- synchronize- folder being entered recursively?
* vm-imap- synchronize- folder( t nil t t t t) spooled- mail(t) /Home/udr/ mail/cache/ imap-cache- edb15217b986b74 f2751726a69a193 f6" nil nil) folder( "d:/Home/ udr/mail/ cache/imap- cache-edb15217b 986b74f2751726a 69a193f6" ) virtual- message- list(.. .) -new-messages( t) synchronize- folder( t nil t t t t) spooled- mail(t) new-mail( nil) interactively( vm-get- new-mail)
vm-get-
byte-code(... 10)
vm("d:
vm-visit-
vm-build-
vm-assimilate
byte-code(... 9)
* vm-imap-
vm-get-
vm-get-
call-