nobiot / org-remark

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

Display remarks in buffer as overlays? #13

Closed ryanprior closed 2 years ago

ryanprior commented 2 years ago

Hi there! This looks fantastic, I love all the thoughtful touches you've put on it.

For some time I've wanted an alternative to annotate.el that stores marginalia using org-mode instead of a big alist. I love the feature of annotate.el that it can show the text as an overlay directly in the buffer and would miss it if I switched over now–would you be interested in adding that capability to org-remark?

nobiot commented 2 years ago

Hi @ryanprior Thank you.

I think showing the text as an overlay from an Org file would be much beyond my capability. See this exchange in annote.el's repository. You could consider something like using postframe that @randomwangran has done.

The exchange was from rather long ago so the context may have changed, and my memory has faded; I think annote.el and org-remark serve different purposes. The former is probably for a very short commentary. I believe its main application is for source code. My motivation for Org-remark comes from writing / note-taking, and I wanted to have means to record comments (often rather long) alongside the main text.

ryanprior commented 2 years ago

Thank you for these links! I think I will continue to use annotate.el for my source code (perhaps I can modify it to make use of an org-file as a db) and try to introduce org-remark for longer notes.

It seems that for first class general-purpose transclusion of text with different modes, we may need some editor-level support as overlays are limited.

randomwangran commented 2 years ago

Sorry for the extremely long delay in response to many comments from @nobiot. Especially, for the issues in your org-transclusion repository. My attention shifted to something else last year, but I do use org-transclusion on daily basis.

Regarding this issue, I have not used the package (org-remark) since I've done that extension. I did not read the source code as I used to. I would like to continue exploring the code this year and hope to make a consistent habit in 2022, so I would make improvements based on org-remark and org-roam, especially for the preview function.

Ran

nobiot commented 2 years ago

@randomwangran Thanks for the comments, and no worries. Keep your own pace, and there is no issue with long breaks and radio silence. It’s life :). I’ll keep walking on my own pace, too, with breaks in between.