[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-remark 7367b7d056 20/37: fix: Text cut off in notes
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-remark 7367b7d056 20/37: fix: Text cut off in notes if the highlight spans across two lines #56 |
Date: |
Sat, 14 Jan 2023 10:58:01 -0500 (EST) |
branch: externals/org-remark
commit 7367b7d0569361c81c8968c69709942409d47f7b
Author: Noboru Ota <me@nobiot.com>
Commit: Noboru Ota <me@nobiot.com>
fix: Text cut off in notes if the highlight spans across two lines #56
Thanks to GitHub user @sati-bodhi
---
org-remark.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/org-remark.el b/org-remark.el
index f5ab1718be..7b889d5034 100644
--- a/org-remark.el
+++ b/org-remark.el
@@ -6,7 +6,7 @@
;; URL: https://github.com/nobiot/org-remark
;; Version: 1.0.5
;; Created: 22 December 2020
-;; Last modified: 10 January 2023
+;; Last modified: 11 January 2023
;; Package-Requires: ((emacs "27.1") (org "9.4"))
;; Keywords: org-mode, annotation, note-taking, marginal-notes, wp,
@@ -856,7 +856,10 @@ this function calls `org-remark-notes-setup' to prepare
the notes
buffer for automatic sync."
(let* ((filename (org-remark-source-get-file-name filename))
(id (plist-get props 'org-remark-id))
- (text (org-with-wide-buffer (buffer-substring-no-properties beg end)))
+ (text (org-with-wide-buffer
+ (replace-regexp-in-string
+ "\n" " "
+ (buffer-substring-no-properties beg end))))
(notes-buf (find-file-noselect (org-remark-notes-get-file-name)))
(source-buf (current-buffer))
(line-num (org-current-line beg))
- [elpa] externals/org-remark updated (af99b97204 -> f603ad6769), ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark 837b25d3d7 01/37: refactor: -highlight-* functions, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark 0912cbb0af 04/37: fix: incorrect beg end of a highlight, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark ac09890168 02/37: refactor -notes-* functions, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark 754f7c1915 11/37: fix: deleted highlight overlay blocking saving multiple highlights, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark 75d8fd3c9d 19/37: refactor(mark): save notes buf only when create/change, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark ed5f4314e8 05/37: refactor(sync): remove org-remark-notes-setup-done, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark eb7c4ebf59 10/37: docs: doc string, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark e4ba2bbd41 18/37: chore: copyright years to 2023, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark 7367b7d056 20/37: fix: Text cut off in notes if the highlight spans across two lines #56,
ELPA Syncer <=
- [elpa] externals/org-remark af1d4261f3 24/37: docs: update README, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark 05e18aa08c 30/37: docs: README + user manual, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark 3d4ff2e030 03/37: doc: update docstring, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark 484d36ad89 06/37: docs(sync): doc string 'org-remark-highlight-save', ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark a9a3520a64 07/37: refactor(save) save notes buffer for each highlight, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark 2f25bd97bc 15/37: refactor: change the default colors of yellow pen #52, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark f08df3f524 17/37: fix: prop name _org-remark-note-body -> *org-remark-note-body, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark f661e6c78e 21/37: docs: updated NEWS, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark 59b01a827c 27/37: docs: README, ELPA Syncer, 2023/01/14
- [elpa] externals/org-remark 6cd69b44d2 08/37: docs: corrected based on flymake and checkdoc, ELPA Syncer, 2023/01/14