[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-remark d72fa0ef45 70/75: fix: regression next/prev-
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-remark d72fa0ef45 70/75: fix: regression next/prev-view opens the notes when there is none |
Date: |
Fri, 6 Oct 2023 12:59:21 -0400 (EDT) |
branch: externals/org-remark
commit d72fa0ef458514726be754b9b8c2d2b9d00ddda3
Author: Noboru Ota <me@nobiot.com>
Commit: Noboru Ota <me@nobiot.com>
fix: regression next/prev-view opens the notes when there is none
org-remark-view, org-remark-view-[next|prev] should not open the
marginal notes buffer when there is no highlights under cursor or in the
current (narrowed part of) buffer.
---
org-remark.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/org-remark.el b/org-remark.el
index 9abb94c458..53c682fb40 100644
--- a/org-remark.el
+++ b/org-remark.el
@@ -6,7 +6,7 @@
;; URL: https://github.com/nobiot/org-remark
;; Version: 1.2.1
;; Created: 22 December 2020
-;; Last modified: 01 September 2023
+;; Last modified: 09 September 2023
;; Package-Requires: ((emacs "27.1") (org "9.4"))
;; Keywords: org-mode, annotation, note-taking, marginal-notes, wp,
@@ -577,7 +577,8 @@ side-window (as defined by user option
;; to open in a normal way but open the margnal notes buffer with
;; find-file.
(if (or (eql (prefix-numeric-value current-prefix-arg) 4)
- (not ov))
+ ;; :view-only should not open the marginal notes buffer
+ (and (null ov) (not (eql view-only :view-only))))
(let ((notes-file (org-remark-notes-get-file-name)))
(when (file-exists-p notes-file) (find-file notes-file)))
;; Open marginal notes normally as an indirect buffer in a side
- [elpa] externals/org-remark e136189485 34/75: fix(line): window margin wrongly sets minibuffer's margin, (continued)
- [elpa] externals/org-remark e136189485 34/75: fix(line): window margin wrongly sets minibuffer's margin, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 8f9875f714 24/75: doc(line): Remove unused source comments (old code), ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 6dbf1cca4a 35/75: fix(line): svg icon does not get the face correctly, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 3f5ea6777b 32/75: fix(line): window selection is utterly confused, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 533167091a 42/75: fix(line):Right margin expands every window-size-change-func call, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark e02519836d 38/75: fix(line): spacer movement, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 6364474a73 48/75: Merge branch 'main' into dev/line-highlight, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 680651e339 37/75: refactor(icon): remove unnecessary source comment (old func), ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 193fe279ea 49/75: feat(line):add line-number as a property to the highlight headline, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark f7031507db 15/75: fix: defgeneric seems needed anyway.., ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark d72fa0ef45 70/75: fix: regression next/prev-view opens the notes when there is none,
ELPA Syncer <=
- [elpa] externals/org-remark 2b68d4748c 51/75: Merge branch 'main' into dev/line-highlight, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 833d909264 61/75: docs: NEWS for the current development branch (WIP), ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark cfaf02d823 72/75: docs: minor update to README and article on SVG icon, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark cbc26304a8 23/75: refactor: add org-remark-default-features to automatically load, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark f37ddb69e7 22/75: fix(change): force trigger of notes buffer face, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark d606d80a47 29/75: refactor: move highlights-delay-load to org-remark.el, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 335293a03e 41/75: style(line):Clean up comments, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark 8c3238902b 54/75: docs: keybinding sync with README, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark e904b53b2c 60/75: refactor: silence compilier warning, ELPA Syncer, 2023/10/06
- [elpa] externals/org-remark af03b2103e 50/75: docs: Docstring for org-remark-default-features, etc., ELPA Syncer, 2023/10/06