[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-remark 52bc575bb9 28/67: docs: comments and docstri
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-remark 52bc575bb9 28/67: docs: comments and docstring |
Date: |
Sat, 22 Jul 2023 06:59:02 -0400 (EDT) |
branch: externals/org-remark
commit 52bc575bb93f5590a97a1a55904b8e0202c1653b
Author: Noboru Ota <me@nobiot.com>
Commit: Noboru Ota <me@nobiot.com>
docs: comments and docstring
---
org-remark.el | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/org-remark.el b/org-remark.el
index e58d700e41..deea47e2dc 100644
--- a/org-remark.el
+++ b/org-remark.el
@@ -861,11 +861,17 @@ buffer for automatic sync."
(assoc 'default org-remark-notes-headline-functions)))))
(with-current-buffer notes-buf
(org-with-wide-buffer
+ ;; Different major-mode extension may have different structure of notes
file
+ ;; e.g. nov.el file: 1. source file; 2. book; 3 highlight
+ ;; text file: 1. source file; 2. highlight
+ ;; Note the lowest level is always the highlight (common). And
+ ;; the top level is the "source" -- the file or URL, etc.
(dolist (pair notes-headline-functions)
(let ((level (car pair))
(fn (cdr pair)))
(goto-char (funcall fn level source-buf notes-buf))
(org-narrow-to-subtree)))
+ ;; Highlight Headline is common to all major-mode extensions
(setq notes-props
(org-remark-highlight-add-or-update-highlight-headline
overlay source-buf notes-buf))))
@@ -959,7 +965,7 @@ beginning of source-headline, which should be one level up."
;; Add a properties
(insert (concat (insert-char (string-to-char "*") level)
" " text "\n"))
- ;; org-remark-original-text should be added onlyy when this
+ ;; org-remark-original-text should be added only when this
;; headline is created. No update afterwards
(plist-put props "org-remark-original-text" text)
(org-remark-notes-set-properties beg end props)
- [elpa] externals/org-remark 5b76fa930a 49/67: refactor(load): make load process robust., (continued)
- [elpa] externals/org-remark 5b76fa930a 49/67: refactor(load): make load process robust., ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark b50d0f7688 52/67: refactor: rename highlights-after-load-hook to -functions, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 07f5838c40 61/67: fix: Add headlines in the correct order and in the correct headline, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 6ebbce9239 37/67: fix(load): clear obsolete highlight overlays before loading, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 0ec9d2f1c2 41/67: refactor(headline-add): WIP, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 1c2f9ed822 46/67: feat: toggle icons, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 36df818752 55/67: docs: Update user manaul, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 642d4b489f 13/67: docs: updated NEWS, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 2a10b3d75a 17/67: refactor: adjust-positions, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 09d95e7519 20/67: Merge branch 'main' into dev/nov.el, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 52bc575bb9 28/67: docs: comments and docstring,
ELPA Syncer <=
- [elpa] externals/org-remark e10a00b426 35/67: feat: add icon for highlights with annotation body text #64, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 41f90c53a8 59/67: refactor: Add 'org-remark-string=' for highlight-adjust-positions, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 2bd53de493 60/67: refactor: Set fn to hook org-remark-highlights-after-load-functions, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark e1b7a3a1ba 19/67: Merge remote-tracking branch 'sati-bodhi/main' into dev/nov.el, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 090156bed2 21/67: feat: org-remark-nov-mode minor mode, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark ef7e02d542 34/67: fix: annotation body to be nil when no body text, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark aa58058ec4 38/67: refactor: add-headlines (WIP), ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark c38f46e806 42/67: refactor(highlight-add): remove spurflous/obsolete elements, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark b94c64e381 45/67: feature: Make icons customizable, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark f1ea78bcf1 47/67: refactor: highlight-add, ELPA Syncer, 2023/07/22