[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-remark 211c2ccb05 013/173: break: Change om/open-at
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-remark 211c2ccb05 013/173: break: Change om/open-at-point to om/open |
Date: |
Fri, 28 Jan 2022 16:57:55 -0500 (EST) |
branch: externals/org-remark
commit 211c2ccb05baa163eaf46aebdfcccb530282cf1f
Author: Noboru Ota <me@nobiot.com>
Commit: Noboru Ota <me@nobiot.com>
break: Change om/open-at-point to om/open
---
README.org | 6 +++---
org-marginalia.el | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/README.org b/README.org
index 1e8e724b36..3bb68a98ff 100644
--- a/README.org
+++ b/README.org
@@ -72,11 +72,11 @@ Select a region of text, and call =om/mark= to highlight
the region. It will gen
- =om/save= ::
By default, Org-marginalia automatically creates or updates corresponding
entries in the marginalia file with location and text of highlights on saving
the buffer. Nevertheless, you can manually call =om/save= to do so (automatic
process also call this command).
-- =om/open-at-point= (=C-c n o= by default) ::
-Move your cursor on the highlighted text, and call =om/open-at-point= to open
the relevant margin notes in a separate window. Your cursor should move to the
marginalia buffer narrowed to the relevant margin notes entry. You can edit the
margin notes as a normal Org file. Once you have done editing, you can simply
save and close the buffer (kill or close the window) as per your normal
workflow. Technically, the marginalia buffer is a cloned indirect buffer of the
marginalia file.
+- =om/open= (=C-c n o= by default) ::
+Move your cursor on the highlighted text, and call =om/open= to open the
relevant margin notes in a separate window. Your cursor will move to the
marginalia buffer narrowed to the relevant margin notes entry. You can edit the
margin notes as a normal Org file. Once you have done editing, you may simply
save and close the buffer (kill or close the window) as per your normal
workflow. Technically, the marginalia buffer is a cloned indirect buffer of the
marginalia file.
- =om/load= ::
-This command open the marginalia file and load the saved highlights onto
current buffer. If there is no margin notes for it, it will output a message in
the echo. Highlights tracked locally by this packages cannot persist when you
kill the buffer, or quit Emacs. When you re-launch Emacs, ensure to turn on
=org-marginalia-mode= to load the highlights. Load is automatically done when
you activate the minor mode.
+This command visits the marginalia file and load the saved highlights onto the
current buffer. If there is no margin notes for it, it will output a message in
the echo. Highlights tracked locally by Org-marginalia cannot persist when you
kill the buffer, or quit Emacs. When you re-launch Emacs, ensure to turn on
=org-marginalia-mode= to load the highlights. Load is automatically done when
you activate the minor mode.
- =om/remove= ::
This command removes the highlight at point. It will remove the highlight, and
remove the properties from the marginalia, but will keep the headline and notes
in tact.
diff --git a/org-marginalia.el b/org-marginalia.el
index 4ccbf5f0a2..43d86aedbe 100644
--- a/org-marginalia.el
+++ b/org-marginalia.el
@@ -65,8 +65,8 @@
;; file. You can manually call =om/save= to manually do it (automatic
;; process also call this command).
-;; - =om/open-at-point= :: Move your cursor on the highlighted text, and call
-;; =om/open-at-point= to open the relevant margin notes in a separate window.
+;; - =om/open= :: Move your cursor on the highlighted text, and call
+;; =om/open= to open the relevant margin notes in a separate window.
;; Your cursor should move to the marginalia buffer narrowed to the relevant
;; margin notes entry. You can edit the margin notes as a normal Org file.
;; Once you have done editing, you can simply save and close the buffer (kill
@@ -232,7 +232,7 @@ current buffer. Each highlight is represented by this data
structure:
(om/save-single-highlight highlight title source-path))))
;;;###autoload
-(defun om/open-at-point (point)
+(defun om/open (point)
"Open the margin notes at POINT, narrowed to the relevant headline.
It creates a cloned indirect buffer of the marginalia file
\(`om/notes-file-path'\). You can edit the margin notes as a normal Org file.
@@ -350,7 +350,7 @@ the mode, `toggle' toggles the state."
:lighter " marginalia"
:global nil
:keymap (let ((map (make-sparse-keymap)))
- (define-key map (kbd "C-c n o") #'om/open-at-point)
+ (define-key map (kbd "C-c n o") #'om/open)
(define-key map (kbd "C-c m") #'om/mark)
map)
(cond
- [elpa] branch externals/org-remark created (now 7226f4d01e), ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark 2b6773a911 016/173: doc: Update marginalia, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark 1abcfe0881 005/173: doc: Add license badge and link to LICENSE, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark 211c2ccb05 013/173: break: Change om/open-at-point to om/open,
ELPA Syncer <=
- [elpa] externals/org-remark 4e694b8562 010/173: doc: Fix doc string, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark ec76d6e82f 006/173: doc: Fix the badge display, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark bb321f57f5 001/173: Initial commit for GH, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark 794d9e5169 008/173: doc: Fix the badge display, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark 6038ab7c30 009/173: fix: align highlight and position, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark f5905ac735 004/173: admin: Add LICENSE, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark 1d496daeb7 014/173: internal: Move minor mode to the top, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark e96941d8c2 002/173: doc: minor spelling correction, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark d58e8f256c 012/173: break: Change om/save-all to om/save, ELPA Syncer, 2022/01/28
- [elpa] externals/org-remark 3d6207ae20 011/173: doc: Update doc, ELPA Syncer, 2022/01/28