|
From: | Qiantan Hong |
Subject: | Re: Question collaborative editing. |
Date: | Wed, 30 Sep 2020 17:00:46 +0000 |
As discussed above, if we implement CRDT as a “editor agnostic C library”, then there will likely to be an extra synchronization between C library and emacs. The communications between clients should allow resolution of I’m talking about synchronization between the buffer data structure in C library, and buffer data structure in Emacs. Apparently we’re not going to implement CRDT between them (otherwise why not just let Emacs powered CRDT talk to each other), and most likely they will exchange message about raw (buffer position, operation, text). But this is the most naive synchronization mechanism and have no robustness. You don't need buffer-modification hooks, you can use other existingThat’s a workaround, but I’m not sure if it can capture user intent (i.e. it gives operation-wise information rather than just a diff between versions of buffer). If it can’t then we will need to implement both update based on modification-hooks and change state of the buffer, which is an additional impl/maintenance burden. |
smime.p7s
Description: S/MIME cryptographic signature
[Prev in Thread] | Current Thread | [Next in Thread] |