this post was submitted on 14 Nov 2023
5 points (100.0% liked)

Emacs

305 readers
1 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 10 months ago (1 children)

I am currently working on my own note synchronization server (I need it because I plan to try to integrate CRDT in the future).

I would also like to mention that currently notes are not encrypted on the client side. However, I also plan to implement this in the future.

I do not plan to integrate third-party synchronization mechanisms, but I will be working on an API that allows for custom extensions. With this API, developers will be able to create their own note synchronization mechanisms

[–] [email protected] 1 points 10 months ago (1 children)

IMHO the best way would be using git, which is literally made to resolve this kind of conflicts and it's very battle tested. I've always had issues syncing notes until I switched to git.

[–] [email protected] 1 points 10 months ago (1 children)

As far as I know, git can't be used for real-time synchronization and simultaneous collaborative editing. But I'll give it some thought

[–] [email protected] 1 points 10 months ago (2 children)

is simultaneous collaborative editing a real need though? I'd say org notes are usually edited by a single person, often from multiple devices, unless you are trying to create a Google Docs competitor, I don't think that's a feature that is actually needed.

git also has the advantage of complete history and easy rollbacks.

I've given up using Orgzly because the syncing is atrocious, it has restored deleted notes multiple times. I'm now using Organice with gitlab backend and it works very well.

[–] [email protected] 1 points 10 months ago (1 children)

I need to think about it. The server functionality is also needed to share notes, although it may be possible to combine it with git storage as well

[–] [email protected] 1 points 10 months ago

For what it's worth, I collaborate with 1 other person, and for me it'd be sufficient if you simply alerted the user that someone else is currently editing the notes, locking them until the other user is done. What's a much bigger problem is if someone edits the notes offline tries to sync them later!

[–] [email protected] 1 points 10 months ago

I do collaborate on org notes with a partner! I agree with you that true simultaneous editing is unnecessary, but it'd be nice if the app flagged that someone else is currently editing the notes and locked them until the other person is done.