[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/crdt 68d3067 18/80: bug fix
From: |
ELPA Syncer |
Subject: |
[elpa] externals/crdt 68d3067 18/80: bug fix |
Date: |
Sat, 28 Aug 2021 10:57:33 -0400 (EDT) |
branch: externals/crdt
commit 68d3067b45cf90cad3355242ff253786aa6530ed
Author: Qiantan Hong <qhong@mit.edu>
Commit: Qiantan Hong <qhong@mit.edu>
bug fix
---
crdt.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/crdt.el b/crdt.el
index 015cde2..0e7be00 100644
--- a/crdt.el
+++ b/crdt.el
@@ -645,6 +645,7 @@ Start the search from POS."
(right-id (crdt--get-starting-id right-pos)))
(cl-block nil
(while t
+ (print (list left-pos left-id right-pos right-id))
(cond ((<= right-pos (point-min))
(cl-return (point-min)))
((>= left-pos (point-max))
@@ -654,7 +655,7 @@ Start the search from POS."
(setq left-id right-id)
(setq right-pos (next-single-property-change right-pos 'crdt-id
nil (point-max)))
(setq right-id (crdt--get-starting-id right-pos)))
- ((string< id left-id)
+ ((or (not left-id) (string< id left-id))
(setq right-pos left-pos)
(setq right-id left-id)
(setq left-pos (previous-single-property-change left-pos
'crdt-id nil (point-min)))
@@ -1296,7 +1297,7 @@ If SESSION-NAME is empty, use the buffer name of the
current buffer."
(when crdt--status-buffer (crdt--session-name)))))
(let ((status-buffer (if session-name
(crdt--get-session session-name)
- (crdt--network-process))))
+ crdt--status-buffer)))
(with-current-buffer status-buffer
(dolist (client crdt--network-clients)
(when (process-live-p client)
- [elpa] externals/crdt fcc6a47 38/80: fix upper/lowercase convention, (continued)
- [elpa] externals/crdt fcc6a47 38/80: fix upper/lowercase convention, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt e1b0fe9 02/80: Fixed silly typo!, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 88cd9a1 03/80: refactorz, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 432b5f8 04/80: two bug fixes for CRDT algorithm, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 82a7565 10/80: fix authentication bug, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt b95111c 15/80: add makefile, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 60bb2ac 07/80: lots of functionalities, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt a157310 12/80: better formatting, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 5ec25f7 20/80: input method seems to work now, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt ea632a3 26/80: some docstring and unused variable, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 68d3067 18/80: bug fix,
ELPA Syncer <=
- [elpa] externals/crdt d9d7100 53/80: remote process support, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 9a7ce57 56/80: fix fill-paragraph bug, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt bc98495 60/80: I imagine this fix an imaginary bug with tuntox, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt eb184d8 61/80: clean up *crdt - client*, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 76da6ac 62/80: update buffer/user menu in post-command-hook to account for focus change, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 20ff5b3 65/80: reenable crdt-mode and synchronize after major mode change, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt d20b384 16/80: document and improvements, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 9c37d4d 19/80: remove superfluous crdt--inhibit-update bind, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 515959c 23/80: partially fixed deleted buffer bug, ELPA Syncer, 2021/08/28
- [elpa] externals/crdt 35d9612 28/80: fix some read functions, ELPA Syncer, 2021/08/28