VM

Delete last message in a folder generates a folder-empty error

Bug #682869 reported by Tim Cross
6
This bug affects 1 person
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(folder-empty nil)
  signal(folder-empty nil)
  vm-error-if-folder-empty()
  vm-expunge-folder()
  vm-save-folder()
  ad-Orig-vm-quit(nil nil)
  vm-quit(nil)
  call-interactively(vm-quit nil nil)

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.

Revision history for this message
Tim Cross (tcross) wrote :

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.

Changed in vm:
status: New → Invalid
Revision history for this message
Uday Reddy (reddyuday) wrote :

Fixed in revno. 1004? Needs to be double checked.

Changed in vm:
status: Invalid → Fix Committed
assignee: nobody → Uday Reddy (reddyuday)
milestone: none → 8.1.94a
importance: Undecided → Low
Uday Reddy (reddyuday)
Changed in vm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.