[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question collaborative editing - Wikipedia reference
From: |
Qiantan Hong |
Subject: |
Re: Question collaborative editing - Wikipedia reference |
Date: |
Sun, 11 Oct 2020 18:26:25 +0000 |
It does, but I don’t think it make sense to synchronize *every*
overlay/text property changes. For example, syntax highlight
can be done locally and doesn’t need to be synced over Internet.
I’m using hightlight-line and highlight-parenthesis, those overlay don’t
need to be synced as well. There has to be some customizable filtering
(I was filtering based on what command created the overlays).
BTW in my implementation we don’t need those hooks to track
marker advancing movements, because CRDT-IDs are attached
to buffer text. For a advancing marker I just need to locate it
with the CRDT-ID at the right of it and it’ll always stay in the correct
location.
> On Oct 11, 2020, at 2:21 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>
>> From: Qiantan Hong <qhong@mit.edu>
>> CC: "joakim@verona.se" <joakim@verona.se>, Yuan Fu <casouri@gmail.com>,
>> Fermin
>> <fmfs@posteo.net>, Jean Louis <bugs@gnu.support>,
>> Caio Henrique
>> <caiohcs0@gmail.com>, Ergus <spacibba@aol.com>,
>> Noam Postavsky
>> <npostavs@gmail.com>, Karl Fogel <kfogel@red-bean.com>,
>> Stefan Monnier
>> <monnier@iro.umontreal.ca>,
>> Eli Zaretskii <eliz@gnu.org>, Emacs developers
>> <emacs-devel@gnu.org>
>> Date: Sun, 11 Oct 2020 17:49:44 +0000
>>
>> - what’s a reasonable way to decide what overlays to sync?
>> I’m currently deciding it based on the command that create the overlay
>> (only overlay created during executing a customizable set of commands
>> are tracked). Is there better way?
>> - similar question to text property.
>
> Don't insert-in-front-hooks and insert-behind-hooks provide the way to
> know which overlays and text properties changed?
smime.p7s
Description: S/MIME cryptographic signature
- Re: Question collaborative editing - Wikipedia reference, (continued)
- Re: Question collaborative editing - Wikipedia reference, Yuan Fu, 2020/10/08
- Re: Question collaborative editing - Wikipedia reference, Yuan Fu, 2020/10/08
- Re: Question collaborative editing - Wikipedia reference, Qiantan Hong, 2020/10/08
- Re: Question collaborative editing - Wikipedia reference, Yuan Fu, 2020/10/08
- Re: Question collaborative editing - Wikipedia reference, Qiantan Hong, 2020/10/09
- Re: Question collaborative editing - Wikipedia reference, joakim, 2020/10/09
- Re: Question collaborative editing - Wikipedia reference, Joe Corneli, 2020/10/09
- Re: Question collaborative editing - Wikipedia reference, Qiantan Hong, 2020/10/09
- Re: Question collaborative editing - Wikipedia reference, Qiantan Hong, 2020/10/11
- Re: Question collaborative editing - Wikipedia reference, Eli Zaretskii, 2020/10/11
- Re: Question collaborative editing - Wikipedia reference,
Qiantan Hong <=
- Re: Question collaborative editing - Wikipedia reference, Eli Zaretskii, 2020/10/11
- Re: Question collaborative editing - Wikipedia reference, Qiantan Hong, 2020/10/11
- Re: Question collaborative editing - Wikipedia reference, Eli Zaretskii, 2020/10/11
- Re: Question collaborative editing - Wikipedia reference, Qiantan Hong, 2020/10/11
- Re: Question collaborative editing - Wikipedia reference, Eli Zaretskii, 2020/10/12
- Re: Question collaborative editing - Wikipedia reference, Qiantan Hong, 2020/10/12
- Re: Question collaborative editing - Wikipedia reference, Yuan Fu, 2020/10/13
- Re: Question collaborative editing - Wikipedia reference, Joe Corneli, 2020/10/11
- Re: Question collaborative editing - Wikipedia reference, Jean Louis, 2020/10/09
- Re: Question collaborative editing - Wikipedia reference, Qiantan Hong, 2020/10/09