← Back to team overview

vm team mailing list archive

[Bug 502683] Re: vm-quit-no-change leaves behind an auto-save file

 

This could be a bug in Emacs.  delete-auto-save-file-if-necessary is not
doing its job.  The C function recent-auto-save-p is returning nil.
However, the C function kill-buffer gets rid of the auto-save file any
way.  Strange!

-- 
vm-quit-no-change leaves behind an auto-save file
https://bugs.launchpad.net/bugs/502683
You received this bug notification because you are a member of VM
development team, which is the registrant for VM.

Status in VM (View Mail) for Emacs: Confirmed

Bug description:
The command vm-quit-no-change (normally bound to 'x') is leaving behind an auto-save file.  I would expect that one would normally use this command if one wants to lose the changes made to a folder.  So, having a copy of these changes on the disk is probably of no point. 

So, I am considering changing the vm-quit-no-change command to destroy the auto-save file.  I will also add a variable vm-preserve-auto-save-on-exit to allow the old behaviour for people that want it.





References