Saving a POP folder deleted it!

Bug #569804 reported by Uday Reddy on 2010-04-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone
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
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-pop-synchronize-folder(t nil nil t)

Related branches

Uday Reddy (reddyuday) on 2010-04-25
Changed in vm:
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → Uday Reddy (reddyuday)
milestone: none → 8.1.90a
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) on 2010-04-27
Changed in vm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers