nobiot / org-remark

Highlight & annotate text, EWW, Info, and EPUB
https://nobiot.github.io/org-remark/
GNU General Public License v3.0
425 stars 20 forks source link

workflow query #31

Open mooseyboots opened 2 years ago

mooseyboots commented 2 years ago

hi again,

i have a query about workflow.

to me it would make sense if a) when you create a remark the notes buffer also opens and is active, and b) you cd hit C-c C-c or similar when done to save and close the notes buffer and return to your work.

i guess this is based on a lot of other workflow habits, like annotating pdfs, or org-capture, etc.

it's also fast, especially when all you need to do is attach something to your text, and move on right away.

is there a reason org-remark avoids this approach? or am i doing it wrong maybe?

nobiot commented 2 years ago

No particular reason but:

  1. I don’t use the C-c C-c way you describe
  2. I didn’t try to find out how to implement it
  3. I prefer consciously writing notes to highlights to “jotting something down and close”

I might consider the C-c C-c approach, though. It might take m e a while; a PR is welcome.

mooseyboots commented 2 years ago

btw, C-c C-c isn't my usage, it's a common binding in org mode, for the function org-ctrl-c-ctrl-c.

my annots are conscious! :)

just often i want to restore original context. i'm not annotating other people's work, but my own.

nobiot commented 2 years ago

Same re annotations for my own notes :) I just don’t use C-c C-c very often. I’ll see what I can do.

sati-bodhi commented 1 year ago

if a) when you create a remark the notes buffer also opens and is active, and b) you cd hit C-c C-c or similar when done to save and close the notes buffer and return to your work.

@mooseyboots you might find my configuration below useful.

It's catered to ebook reading, but the commented portion is applicable to all org-remark workflows in general.

(defun my-reading-make-highlight-annotation ()
  "Highlight text and activate the annotation notes for input.
This single function can be called for both EPUBs and PDFs."
  (interactive)
  (cond ((eq major-mode 'nov-mode)
         (apply 'org-remark-mark (org-remark-region-or-word))  ;; mark active region
         (org-remark-view (- (point) 1))  ;; view newly created marginal notes
         (switch-to-buffer "*marginal notes*")  ;; switch to marginal notes buffer
         (evil-org-open-below 1))

        ((eq major-mode 'pdf-view-mode)
         (pdf-annot-add-highlight-markup-annotation pdf-view-active-region)
         (evil-insert 1)
         )))

You could bind C-c C-c to org-remark-save and kill-current-buffer if you want it to work that way.

nobiot commented 1 year ago

This is a good suggestion. I will try to add some snippet like this in the user manual/README.