[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/crdt 2889cae 67/80: change order of READY and OVERLAY-*
From: |
ELPA Syncer |
Subject: |
[elpa] externals/crdt 2889cae 67/80: change order of READY and OVERLAY-* during initial sync. not sure if this creates more problem |
Date: |
Sat, 28 Aug 2021 10:57:44 -0400 (EDT) |
branch: externals/crdt
commit 2889cae18c044a3104217f0b301d95f2dd5fc158
Author: Qiantan Hong <qhong@mit.edu>
Commit: Qiantan Hong <qhong@mit.edu>
change order of READY and OVERLAY-* during initial sync. not sure if this
creates more problem
---
crdt.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/crdt.el b/crdt.el
index 11285b9..99349b3 100644
--- a/crdt.el
+++ b/crdt.el
@@ -1148,6 +1148,8 @@ The network process for the client connection is PROCESS."
`(sync
,crdt--buffer-network-name
,@ (crdt--dump-ids (point-min) (point-max) nil nil
t))))
+ (process-send-string process (crdt--format-message `(ready
,crdt--buffer-network-name ,major-mode)))
+
;; synchronize cursor
(maphash (lambda (site-id ov-pair)
(cl-destructuring-bind (cursor-ov . region-ov) ov-pair
@@ -1192,9 +1194,7 @@ The network process for the client connection is PROCESS."
(process-send-string process
(crdt--format-message
`(process-mark ,crdt--buffer-network-name
- ,(crdt--get-id mark-pos)
,mark-pos))))))
-
- (process-send-string process (crdt--format-message `(ready
,crdt--buffer-network-name ,major-mode)))))
+ ,(crdt--get-id mark-pos)
,mark-pos))))))))
(defun crdt--greet-client (process)
"Send initial information when a client connects.
- [elpa] externals/crdt 58ca0a6 34/80: documents, (continued)
- [elpa] externals/crdt 58ca0a6 34/80: documents, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 06a2f1a 46/80: added some docstrings, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 2dfff42 50/80: add license, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 1a08765 51/80: slightly cleanup protocol and doc, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt efdafb9 52/80: fix bug on emacs 25, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 8457254 47/80: fix cursor movement when remote insert/delete, add URL parsing, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 817c265 49/80: fix document, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt bdada96 57/80: Disconnect user command for the server, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 7c9d7ee 64/80: avoid spitting error when POSITION-HINT out of range, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt dc72997 66/80: add mouse alias for RETs in menus, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 2889cae 67/80: change order of READY and OVERLAY-* during initial sync. not sure if this creates more problem,
ELPA Syncer <=
- [elpa] externals/crdt 93af8b0 68/80: PoC visualize author, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 7875e6a 70/80: remove family for ipv6, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt b5a8a28 71/80: Don't enable buffer process related advices by default., ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 96fbbf3 73/80: Change my email to the permanent one., ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 6363427 79/80: Add indentation and debugging information to macros, ELPA Syncer, 2021/08/28