-
Notifications
You must be signed in to change notification settings - Fork 20
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
Import - sharing annotation in team #118
Comments
On Sat, Jan 01, 2022 at 09:41:15AM -0800, fab6 wrote:
Hi,
Hi Fab6, and happy new year! :)
may I ask if I can share my annotations e.g. with a colleague? I saw
the exporting option, but did not see e.g. any import?
Yes, you are right there is no import feature for the annotation. I
think this feature would be a good addition, though! :)
To me importing from the diff file produced by export would be too
difficult (likely i would need a patch file format parser, and this
would be too much work) and, again in my opinion, not the optimal
strategy.
I think more simple would be to import annotations from a database
(i.e. the file named 'annotations' that probably you have in your
.emacs.d).
In a sense this would be a tool to merge two database[1] but quickly
questions arise. What to do if two annotation conflicts? For example
if annotation from a database partially overlaps with one or more
annotation in the other, many strategy comes in my mind but the safer
and less prone to bug (and easier to implement! ;-)) would be to just
discard annotations -in the imported database- that overlap with the
user's database.
What do you think about this solution? Would be acceptable?
Also let's what bastibe think!
Bye!
C.
[1] if you want your colleague to just replace theirs database with
yours, overwriting the file will suffice
|
Thank you for your quick reply... I am not so sure yet, what the best way would be. Your approach to discard overlapping annotations from the import would certainly be one option. Maybe there is an option two work with two databases; one standard + merged and one solely imported one. And the user could switch the database when needed. |
Hi!
Thanks to you for using this library!
OK! I think, i am going to start exploring this way.
There is a command called could contains useful information to get something similar to what you wrote above? Bye! |
It might also be possible to merge overlapping annotations into one longer annotation that contains both messages. |
Hi @bastibe
This is a good idea! And perhaps not too difficult to implement. :) Bye! |
Hi, the merging sounds quite similar to the way |
Hi! Both of you convinced me that the proposal from @bastibe is the best solution! :) Bye! |
thanks, I will see how much I can help |
Hi! The patch is ready for testing. I checked a couple of scenarios and there was problems that i hope i have fixed with the last commit. But some other bugs could be still hiding! :) Bye! |
Hi, |
Hi @fab6 ! No need to excuse at all! Take your time, and wish you happy vacations! :-) :-) |
Hi,
may I ask if I can share my annotations e.g. with a colleague? I saw the exporting option, but did not see e.g. any import?
Thank you in advance!
Fab
The text was updated successfully, but these errors were encountered: