[Top][All Lists]

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

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

From: Uday Reddy
Subject: Re: [VM] vm-mark-folder-modified-p
Date: Mon, 19 Nov 2012 09:03:55 +0000

Patrick P Murphy writes:

> Would a warning (inside vm-toggle-read-only) to the user be prudent
> under this situation?  Something along the lines of "WARNING: you have
> unsaved changes; marking this folder read-only may lose them" or similar
> would certainly be enough to remind me that I'm, well, doing something
> stupid :-)

Good idea.  I have now added a warning, as well as a doc string for
`vm-toggle-read-only' that explains the issue.

  "If the current VM folder is read-only, make it modifiable.

This command can also be used to make a modifiable folder read-only.
However it is unsafe to do so because any previous modifications will
be discarded when the folder is quit.  You should first save the
current changes of the folder before making it read-only."


reply via email to

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