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

feat: Let source file pull some additional props from the notes file #45

Closed nobiot closed 1 year ago

nobiot commented 1 year ago

PR #32 adds a nice feature of showing excerpts of the notes' body as a tooltip/help-echo. This has opened up a new avenue to allow Org-remark communicate some notes' properties to from notes file to its source file.

However, this PR also added an additional argument TEXT to the main function org-remark-mark. We should prefer to keep the key function's signature unchanged.

In addition, there should be a standard ways for notes and source files to communicate -- especially on change/save of notes file.

Still WIP, but this PR quickly removes the TEXT arg in org-remark-mark and its friends (org-remark-create and org-remark-change) and yet retains the tooltip/help-echo.