[darcs-users] toggling read-only

Juliusz Chroboczek jch at pps.jussieu.fr
Wed Dec 29 20:56:22 UTC 2004


> > We're speaking about preventing the user from editing the files under
> > _darcs/current,

> I understood which files you were referring to.

Sorry.

> 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 sometimes get confused by dired, and end up editing the wrong file.

> I think they'd be surprised to find that emacs has made the buffer
> of a read/write file read-only.

C-x C-q

> 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.

I think I agree.  David?

                                        Juliusz




More information about the darcs-users mailing list