org-remark icon indicating copy to clipboard operation
org-remark copied to clipboard

workflow query

Open mooseyboots opened this issue 2 years ago • 5 comments

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?

mooseyboots avatar Jun 08 '22 10:06 mooseyboots

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.

nobiot avatar Jun 09 '22 10:06 nobiot

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.

mooseyboots avatar Jun 09 '22 11:06 mooseyboots

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.

nobiot avatar Jun 09 '22 11:06 nobiot

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.

sati-bodhi avatar Jan 20 '23 04:01 sati-bodhi

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

nobiot avatar Jan 22 '23 20:01 nobiot