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.
This commit is contained in:
Daniel Borchmann 2025-05-10 09:30:43 +02:00
parent 53313ab3dc
commit fb0b6dc2d7
No known key found for this signature in database
GPG Key ID: 50EA937BF472ADD1

View File

@ -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?