From fb0b6dc2d7e48b259cd15203a3ecd1bca521ccab Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 10 May 2025 09:30:43 +0200 Subject: [PATCH] Reveal more context by default when jumping to hidden Org entries This is meant to avoid partially revealed structures that give a misleading overview of the actual structure. I think this has been mostly caused by the default entry `(agenda . local)`, so we just use `lineage` by default for everything now. --- init.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 8a43021..5043578 100644 --- a/init.el +++ b/init.el @@ -840,7 +840,12 @@ ("ddg" . "https://duckduckgo.com/?q=%s") ("omap" . "https://nominatim.openstreetmap.org/search?q=%s&polygon=1") ("github" . "https://github.com/") - ("gitlab" . "https://gitlab.com/")))) + ("gitlab" . "https://gitlab.com/"))) + + ;; Show more context when revealing locations, to avoid incompletly revealed items. + + (setopt org-fold-show-context-detail '((default . lineage)))) + :config (progn ;; Some hooks from text-mode-hook, Org mode does not seem to run those?