[darcs-users] toggling read-only
Joe Edmonds
joe at elem.com
Wed Dec 29 18:37:17 UTC 2004
Juliusz Chroboczek wrote:
> We're speaking about preventing the user from editing the files under
> _darcs/current, which should never, ever be edited by anything else
> than darcs itself.
I understood which files you were referring to. And I can't, at the
moment, think of a reason I'd want to edit a file in _darcs/current.
But there may be a reason a darcs wizard wants to do that someday. And
if they go to all the trouble of "C-x C-f _darcs/current/foo", I think
they'd be surprised to find that emacs has made the buffer of a
read/write file read-only.
If users accidentally modifying files in _darcs/current were a common
problem, I think it would be better to deal with that problem by having
darcs leave those files read-only on the filesystem like rcs does.
More information about the darcs-users
mailing list