On Mon, 12 Nov 2012 09:46:58 +0000, Uday Reddy <usr.vm.ro...@gmail.com> said:
> 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. 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 :-) Just a thought. - Pat -- Patrick P. Murphy, Ph.D. Webmaster (East), Computing Security Manager http://www.nrao.edu/~pmurphy/ http://chien-noir.com/maze.shtml