On 2012-11-12, Uday Reddy <[email protected]> wrote:
> I have now modified `vm-quit' in the trunk to silently discard any changes
> to the folder ("meta-data") if the folder is read-only.
>
> There are a couple of things about this that worry me.
>
> 1. If you do vm-toggle-read-only for some reason or other, you might put the
> folder in read-only mode.  If you forget that you have done so and quit the
> folder, the changes that were made before putting it in read-only mode would
> be lost.  So, vm-toggle-read-only has now become a mildly unsafe operation.

This worries me too. I don't think one should confuse modification and
read-only. VM is an Emacs package, and people know how read-only and
modification interact in Emacs - it should be the same in VM.
I think I'll stick with my approach.


Reply via email to