~l3kn/org-fc#36: 
Make demo.org read only

I use straight to install org-fc and use-package to configure it. If I open the demo file and inadvertently edit it I create a dirty worktree even if undo the accidental edits. straight then warns about this dirty worktree when updating my straight lockfile. Would it be possible to make the demo file read only?

Status
RESOLVED CLOSED
Submitter
~doolio
Assigned to
No-one
Submitted
1 year, 1 month ago
Updated
6 months ago
Labels
No labels applied.

~l3kn REPORTED CLOSED 6 months ago

org-fc-demo will now open the file in read-only-mode.

Upon closer reading of your report, I think you meant opening the demo file manually. I'd prefer not to make the file read-only all the time, so as a workaround, every time you want to look at the demo file, you can run org-fc-demo and immediately quit the review.

Register here or Log in to comment, or comment via email.