VM

Saving a POP folder deleted it!

Bug #569804 reported by Uday Reddy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
Fix Released
Low
Uday Reddy

Bug Description

1. The POP folder got deleted when I saved it!

Messages from the *Messages* buffer:

Opening POP session to ...@pop.gmail.com...
Expunging messages in ...@pop.gmail.com...
No POP messages expunged.
Stuffing cached data...
Ordering updates...
Stuffing cached data... done
Saving...
Wrote ...l/pop-cache-8627cb1b13ea3e5f9995c6c5e6193496
.../pop-cache-8627cb1b13ea3e5f9995c6c5e6193496 removed

Some of the messages were deleted, but not all. Removal should have happened only if all the messages got deleted and the folder was empty.

2. The folder buffer is still there in the Emacs session, but has size 0. The POP process buffer seems to have been deleted somehow. Trying to get new mail in the folder said "Selecting deleted buffer". Backtrace:

Debugger entered--Lisp error: (error "Selecting deleted buffer")
  vm-pop-end-session(#<process POP over SSL>)
  vm-establish-new-folder-pop-session(t)
  vm-pop-synchronize-folder(t nil nil t)
  vm-get-spooled-mail(t)
  vm-get-new-mail(nil)
  call-interactively(vm-get-new-mail)
\

Related branches

Uday Reddy (reddyuday)
Changed in vm:
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → Uday Reddy (reddyuday)
milestone: none → 8.1.90a
Revision history for this message
Uday Reddy (reddyuday) wrote :

It turns out that gmail is automatically expunging downloaded messages. So, synchronizing with it kills all the messages in the buffer!

The "selecting deleted buffer" problem is due to turning on vm-keep-trace-buffer after the buffer has already been killed. This is a significant problem because people are normally expected to turns on this flag in the midst of a VM session.

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.