Delete last message in a folder generates a folder-empty error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VM |
Fix Released
|
Low
|
Uday Reddy |
Bug Description
In current VM dev trunk, deleting the last message in a folder generates the following backtrace when you try to quit
Debugger entered--Lisp error: (folder-empty)
ad-Orig-
signal(
vm-error-
vm-expunge-
vm-save-folder()
ad-Orig-
vm-quit(nil)
call-
Note the defadvice calls (i.e. ad-Orig-*f) are from emacspeak. The defadvice does nothing but sound auditory icons and provide spoken feedback and I don't believe has any impact.
Recipie to reproduce
1. Save a message to a new folder
2. Visit thqt folder
3. Delete the message
4. Try to quit.
Not that I do have debug-on-error set to t and therefore see a backtrace. If I then set it to nil via M-x set-variable, I don't get the backtrace, but don't exit the folder either.
The result is that you cannot cleanly exit the folder. All you can do is kill the buffer.
This can cause all sorts of sync problems with imap folders.
Changed in vm: | |
status: | Fix Committed → Fix Released |
Can no longer reproduce this error with latest bzr head and latest emacs 24.0.50. Therefore suspect either changes in later versions of emacs or vm have fixed this issue and therefore will close this bug.