On Sat, Oct 13, 2018 at 6:24 AM jkn <jkn...@nicorp.f9.co.uk> wrote:

Occasionally I would like to protect myself from changing any files within
> Leo. Would it be possible to have a command-line option for all files to be
> open read-only?
>

I think so.  --read-only would disable the save-* commands.  I've just
created #995 <https://github.com/leo-editor/leo-editor/issues/995> for this.

But suppose you forget that --read-only is in effect.  You write code for
an hour before trying to save.  Leo tells you that you can't save.  Now you
have to remember what changes you made, open another copy of Leo, and save
your changes.  This might dissuade you from using --read-only.

Another option is to use git to manage your files...

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to