Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use edges as annotation identifier instead of annot-id #87

Open
dalanicolai opened this issue Jul 25, 2022 · 0 comments
Open

Use edges as annotation identifier instead of annot-id #87

dalanicolai opened this issue Jul 25, 2022 · 0 comments

Comments

@dalanicolai
Copy link
Contributor

The annot-id is not a stable identifier because the index changes when removing annots with lower indexes. So I would propose to use the page and edges as a unique annot identifier (which is quite straightforward to implement in org-pdftools). I have implemented it in a very quick way, in this commit, however, that gets rid of the annot-id completely, so that it probably is not 100% compatible with org-noter-pdftools.el.

Or is there already some mechanism to keep the annot-id's in sync?

Anyway, you can look at the code for inspiration. I hope you find it a good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant