emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] org.el (org-show-context-detail): add option 'ancestors-with


From: Nicolas Goaziou
Subject: Re: [PATCH] org.el (org-show-context-detail): add option 'ancestors-with-entry
Date: Thu, 22 Apr 2021 15:32:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Hello,

"Cheong Yiu Fung" <mail@yiufung.net> writes:

> Subject: [PATCH 2/2] org-manual.org: add hints for visible-only export

Thanks. Some comments follow.

> +  particular headings.  See also the variable
> +  ~org-show-context-detail~ and the command ~org-sparse-tree~.

I would say

  See also [[*Sparse Trees]].

The ~org-show-context-detail~ variable is mentioned there anyway.

> +  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.

> +    (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.

Regards,
-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]