[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: |
Cheong Yiu Fung |
Subject: |
Re: [PATCH] org.el (org-show-context-detail): add option 'ancestors-with-entry |
Date: |
Wed, 21 Apr 2021 17:15:22 +0800 |
User-agent: |
Cyrus-JMAP/3.5.0-alpha0-403-gbc3c488b23-fm-20210419.005-gbc3c488b |
Hi Nicolas,
The first patch implements the changes. I took the liberty to show entry of its
ancestors
too (4 in the test case). Many users, I believe, rarely put text there, so it
does not
make a difference. But when someone write short notes at this location, I think
it serves
as brief "contextual" information for all its children, our target headline
included. It
may indicate the intention to include contextual information in output too, so
I go with
such guess. If user does not want it to be included, it is easier for him to
work around
(e.g., by creating a new heading and put text under), than the other way
around, that is,
to reveal text one by one.
The second patch suggests how it can be integrated with `org-sparse-tree' in
the manual. I
think the new option, as the first visibility option to show subtree, would make
`visible-only' option a lot more useful. Whether to include it in the manual I
leave it to
your consideration.
Lastly I'd like to say thanks as a daily Org user, thank you for putting time in
overseeing the project. Your efforts are appreciated by many :)
Regards,
Yiufung
0001-org.el-org-show-context-detail-add-option-ancestors-.patch
Description: Text Data
0002-org-manual.org-add-hints-for-visible-only-export.patch
Description: Text Data
- [PATCH] org.el (org-show-context-detail): add option 'ancestors-with-entry, Cheong Yiu Fung, 2021/04/16
- Re: [PATCH] org.el (org-show-context-detail): add option 'ancestors-with-entry, Nicolas Goaziou, 2021/04/19
- Re: [PATCH] org.el (org-show-context-detail): add option 'ancestors-with-entry, Cheong Yiu Fung, 2021/04/19
- Re: [PATCH] org.el (org-show-context-detail): add option 'ancestors-with-entry, Nicolas Goaziou, 2021/04/20
- Re: [PATCH] org.el (org-show-context-detail): add option 'ancestors-with-entry, Cheong Yiu Fung, 2021/04/20
- Re: [PATCH] org.el (org-show-context-detail): add option 'ancestors-with-entry,
Cheong Yiu Fung <=
- Re: [PATCH] org.el (org-show-context-detail): add option 'ancestors-with-entry, Cheong Yiu Fung, 2021/04/21
- Re: [PATCH] org.el (org-show-context-detail): add option 'ancestors-with-entry, Nicolas Goaziou, 2021/04/22
- Re: [PATCH] org.el (org-show-context-detail): add option 'ancestors-with-entry, Cheong Yiu Fung, 2021/04/22
- Re: [PATCH] org.el (org-show-context-detail): add option 'ancestors-with-entry, Nicolas Goaziou, 2021/04/27