From ca8e1ea67b46f427829e272ac3eaf8186c04577a Mon Sep 17 00:00:00 2001 From: Szymon Szukalski Date: Fri, 10 Apr 2026 13:08:00 +1000 Subject: Block invisible org edits --- README.md | 3 +++ lisp/ss-org.el | 1 + 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index f3f2a7a..408ec5f 100644 --- a/README.md +++ b/README.md @@ -161,6 +161,9 @@ and `Meetings` headings beneath each day entry. Org buffers enable `olivetti-mode` automatically for a centered writing layout in both GUI and terminal Emacs sessions. +Invisible edits in Org are blocked with an error rather than silently changing +hidden content. + Questions that come up during the day can be tracked as Org tasks under the day's `Tasks` heading. The intended task workflow is `TODO`, `CLARIFY`, `WAIT`, `DONE`, and `CANCELLED`: use `CLARIFY` for open questions or ambiguity, diff --git a/lisp/ss-org.el b/lisp/ss-org.el index 9d8e81f..6f1ae1b 100644 --- a/lisp/ss-org.el +++ b/lisp/ss-org.el @@ -249,6 +249,7 @@ This is for significant navigation points only and clears forward history." :ensure nil :config (setq org-directory ss-org-directory + org-catch-invisible-edits 'error org-hide-emphasis-markers t org-agenda-search-headline-for-time t org-agenda-custom-commands -- cgit v1.2.3