[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [VM] vm-mark-folder-modified-p

From: Julian Bradfield
Subject: Re: [VM] vm-mark-folder-modified-p
Date: Mon, 12 Nov 2012 12:47:50 +0000
User-agent: slrn/0.9.9p1 (Linux)

On 2012-11-12, Uday Reddy <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]