[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-remark 9f492e184e 111/173: fix side-window
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-remark 9f492e184e 111/173: fix side-window |
Date: |
Fri, 28 Jan 2022 16:58:06 -0500 (EST) |
branch: externals/org-remark
commit 9f492e184ed8d9c97374e70e272783d2219eebee
Author: Noboru Ota <me@nobiot.com>
Commit: Noboru Ota <me@nobiot.com>
fix side-window
---
org-remark.el | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/org-remark.el b/org-remark.el
index 9ba903efd2..b42826d61d 100644
--- a/org-remark.el
+++ b/org-remark.el
@@ -65,6 +65,15 @@ file."
"Define if Org-remark use Org-ID to link back to the main note."
:type 'boolean)
+
+(defcustom org-remark-notes-buffer-alist
+ `((display-buffer-in-side-window)
+ (side . left)
+ (slot . 1)
+ (dedicated . t))
+ "."
+ :type display-buffer--action-custom-type)
+
;;;; Variables
(defvar-local org-remark-loaded nil
@@ -301,18 +310,15 @@ notes file by tracking it."
(find-file-noselect org-remark-notes-file-path)
"*marginal notes*" 'clone)))
(setq org-remark-last-notes-buffer ibuf)
- (display-buffer ibuf
- '((display-buffer-in-side-window)
- (side . left)
- (slot . 1)
- (dedicated . t)))
+ (display-buffer ibuf org-remark-notes-buffer-alist)
;; Assuming the marginal-notes buffer is in another window
(switch-to-buffer-other-window ibuf)
(widen)(goto-char (point-min))
(when-let (p (or (org-find-property org-remark-prop-id id)
(org-find-property "marginalia-id" id)))
(goto-char p)(org-narrow-to-subtree))
- (unless arg (switch-to-buffer cbuf))))
+ ;; Assuming the marginal-notes buffer is in another window
+ (unless arg (switch-to-buffer-other-window cbuf))))
(defun org-remark-visit (point)
"Visit notes for hightlight and annocation at POINT.
- [elpa] externals/org-remark da77d9dfba 154/173: fix: pen menu function for 27.x, (continued)
- [elpa] externals/org-remark da77d9dfba 154/173: fix: pen menu function for 27.x, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark 4782d43f0f 155/173: add: change to menu items, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark 713f64b7cb 168/173: docs: minor change to the demo/marginalia.org, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark 7226f4d01e 173/173: docs: add delete; add help string to menu items, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark 4b5d9c3fda 171/173: fix:delete quit window if it did not exist on calling delete, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark 9deaecd211 116/173: add: Legacy data facility wtih org-remark-tracking, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark d36debe2b4 124/173: add: factor out org-remark-legacy-convert, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark f30ad4f570 122/173: fix: program error in save, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark b9a8409e27 126/173: docs: copyright & dates, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark e3dd998e6b 130/173: add: register the default pen function for change, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark 9f492e184e 111/173: fix side-window,
ELPA Syncer <=
- [elpa] externals/org-remark 238a023021 141/173: docs: gh-html error, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark bbd5c4795e 144/173: docs: user manual, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark c6dccc3878 161/173: intrnl:create macro: check label to be a string, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark a55d0b7717 165/173: docs: README and user manaul, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark 74c6756d72 109/173: keep default marginalia.org, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark 6583adaca1 134/173: intrnl: single-highlight-mark is back, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark c6ddf2fdfc 138/173: docs: user manual -- remove "incomplete", ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark 937111e175 135/173: intrnl: refactor more, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark f6c3f36ded 157/173: fix: jerking buffer movement for cerain version/OS, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark bb6d48c61c 160/173: docs: Update screen shots and README, ELPA Syncer, 2022/01/28