[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-remark 0f2bf566ee 10/75: docs(info): source comment
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-remark 0f2bf566ee 10/75: docs(info): source comments |
Date: |
Fri, 6 Oct 2023 12:59:16 -0400 (EDT) |
branch: externals/org-remark
commit 0f2bf566ee39651c67038f83a39751c08786280e
Author: Noboru Ota <me@nobiot.com>
Commit: Noboru Ota <me@nobiot.com>
docs(info): source comments
---
org-remark-info.el | 25 +++++++++++--------------
1 file changed, 11 insertions(+), 14 deletions(-)
diff --git a/org-remark-info.el b/org-remark-info.el
index b87902601d..6914e2c887 100644
--- a/org-remark-info.el
+++ b/org-remark-info.el
@@ -5,7 +5,7 @@
;; Author: Noboru Ota <me@nobiot.com>
;; URL: https://github.com/nobiot/org-remark
;; Created: 16 July 2023
-;; Last modified: 31 July 2023
+;; Last modified: 04 August 2023
;; Package-Requires: ((emacs "27.1") (org "9.4"))
;; Keywords: org-mode, annotation, note-taking, marginal-notes, wp
@@ -88,12 +88,14 @@ It is necessary as this function is intended to be used as
part
of advice for `Info-goto-node', which gets arguments passed to
it. `org-remark-highlights-load' should be called with no
arguments for the purpose of `org-remark-info-mode'."
- ;; Enabling `org-remark-mode' runs `org-remark-highlight', which would
- ;; result in duplicating the highlights if
- ;; `org-remark-highlights-load' is run again. As this function must be
- ;; run only once for initial load and only once for subsequent
- ;; re-load, initial load and re-load needs to be differentiated. This
- ;; `if' clause is meant to do this.
+ ;; Enabling `org-remark-mode' runs `org-remark-highlights-load', which
+ ;; would result in duplicating the highlights. As this function should
+ ;; be run only once for initial load or only once for subsequent
+ ;; re-load. This `if' statement is to differentiate the initial load
+ ;; when no Info node has been opened from subsequent reloads when the
+ ;; user moves to another Info node. In addition, `featurep' is used
+ ;; because variable `org-remark-mode' may not have been loaded yet to
+ ;; avoid symbol void.
(if (or (not (featurep 'org-remark))
(not org-remark-mode))
(org-remark-mode +1)
@@ -108,9 +110,7 @@ arguments for the purpose of `org-remark-info-mode'."
(defun org-remark-info-link (_filname _point)
"Return \"info:\" link with current point in `Info-mode' buffer.
-
This function only works when the mode is `Info-mode'.
-
Assume the point is on the highlight in source Info document
buffer and `ol-info' is loaded. The latter is necessary for
`org-store-link' to work wiht Info buffer."
@@ -119,11 +119,8 @@ buffer and `ol-info' is loaded. The latter is necessary for
(cl-defmethod org-remark-highlight-get-constructors (&context (major-mode
Info-mode))
"Construct lists for creating MAJOR-MODE specific hierarchy.
-
-This method is for `Info-mode'.
-
-Return the value in a alist like this:
-
+This method is for `Info-mode'. Return the value in a alist like
+this:
(SOURCE-FILENAME-FN TITLE-FN PROP-TO-FIND)"
(let* ((headline-1 (list
;; SOURCE-FILENAME-FN
- [elpa] externals/org-remark updated (c33e2b7c77 -> 822e730fc8), ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 6e3254d231 03/75: refactor: highlight headlne text, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 15150c8d40 07/75: feat(line): highlight a whole line, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark a2311005ff 08/75: fix(line): Ensure line hl ovs are always at bol, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 6b4c196f86 12/75: feat: icon for line highlight, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 3a9884e5df 26/75: fix(line): When buffer is first created, window may not be created, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 199702118a 30/75: fix(line): Disable line-mode should disable the margins, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 447fc2beaf 04/75: feat(line): highlight level headline text, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark ded8fddddd 01/75: initial prototype to explore what needs to change, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 0f2bf566ee 10/75: docs(info): source comments,
ELPA Syncer <=
- [elpa] externals/org-remark f679d00c0a 06/75: refactor(line): loading and renaming the el file, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 2bba54b535 05/75: fix: selecting wrong highlight when opening, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 51c3d91585 11/75: refactor: create macro & menus, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark ae376d860d 09/75: refactor(line): method name change, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 89ee82935c 14/75: fix: window margins do not persist, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 16958accc2 02/75: refactor: org-remark-mark, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark da73102a2d 19/75: fix(line): When source is narrowed line-hl moves the wrong place, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 79ad1baf7e 20/75: refactor(line): no need for text-scale-mode-hook, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 0829e27379 39/75: fix(line): redraw instead of reload when window size changes, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 4156342f88 40/75: refactor(line): make spacer overlay, ELPA Syncer, 2023/10/06