branch: externals/org-remark
commit 97239d7beda4c9934c513452957e9e9ad76bc44e
Author: Noboru Ota <m...@nobiot.com>
Commit: Noboru Ota <m...@nobiot.com>

    fix:#22: highlights not found when marginalia does not show all
    
    When file subtree (H1) is does not show all the highlight headlings (H2), 
not
    all the highlights for the file are not found.
---
 org-remark.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/org-remark.el b/org-remark.el
index 084356d697..575fc6ef46 100644
--- a/org-remark.el
+++ b/org-remark.el
@@ -6,7 +6,7 @@
 ;; URL: https://github.com/nobiot/org-remark
 ;; Version: 1.0.2
 ;; Created: 22 December 2020
-;; Last modified: 14 February 2022
+;; Last modified: 26 February 2022
 ;; Package-Requires: ((emacs "27.1") (org "9.4"))
 ;; Keywords: org-mode, annotation, writing, note-taking, marginal-notes
 
@@ -957,6 +957,7 @@ Each highlight is a list in the following structure:
              ;; Narrow to only subtree for a single file.  `org-find-property'
              ;; ensures that it is the beginning of a headline
              (org-narrow-to-subtree)
+             (org-show-children)
              ;; It's important that the headline levels are fixed
              ;; H1: File
              ;; H2: Highlighted region (each one has a dedicated H2 subtree)

Reply via email to