Hi, On Thu, Apr 22, 2021, at 9:32 PM, Nicolas Goaziou wrote: > I would say > > See also [[*Sparse Trees]]. > > The ~org-show-context-detail~ variable is mentioned there anyway. I agree. A new patch for docs is attached. > > + ancestors-full show current subtree and its direct ancestors > > IIUC, it seems to be current subtree, its direct ancestors along with > their contents. But see below. Current subtree means everything under it: heading + entry + children. They are shown. Regarding its ancestors: Only headings are shown. Contents of ancestors are *not* to be shown. > > + (should (equal '(0 3 7 8 9 10 11) > > + (funcall list-visible-lines 'ancestors-full t))) > > + (should (equal '(0 3 7 8 9 10 11) > > + (funcall list-visible-lines 'ancestors-full nil))) > > Are you sure you want to display line 10? No other visibility does that. Yes, that is the main purpose. The idea is to show the whole subtree (what "full" would mean). So, whether target is in Self(7) or Match(8), 7-11 should all be shown. This is to facilitate using tag or TODO keyword to choose what tree to be shown. Yiufung