[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/crdt 77be6cd 01/10: bump version number
From: |
ELPA Syncer |
Subject: |
[elpa] externals/crdt 77be6cd 01/10: bump version number |
Date: |
Fri, 17 Sep 2021 14:57:10 -0400 (EDT) |
branch: externals/crdt
commit 77be6cded0e2d24fc9c132032ae3bf7ae8ed2cf9
Author: Qiantan Hong <qhong@mit.edu>
Commit: Qiantan Hong <qhong@mit.edu>
bump version number
---
HACKING.org | 14 ++++++++++++++
crdt.el | 2 +-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/HACKING.org b/HACKING.org
index 57fde18..9bcd78a 100644
--- a/HACKING.org
+++ b/HACKING.org
@@ -282,6 +282,20 @@ We then just need to design a thin protocol that
communicate between local Emacs
Since this protocol communicate only locally, the latency should be
negligible,
therefore we use a blocking reader/writer lock based synchronization scheme.
+** Lock: modes of operations
+
+It turns out that I vastly over-estimated the extensibility of /The Other
Editors/.
+For example, lots of them (including M$ vScoDe and cult 666) doesn't seem to
have anything like =pre-command-hook=,
+making it impossible to implement a usual bidirectional locking mechanism
+(because we can't tell those editors to acquire lock from Emacs before running
commands that potentially modify the buffer).
+
+Currently I implemneted a hack that by default let /The Other Editors/ hold
the lock, but upon receiving
+an =acquire= from Emacs, let /The Other Editors/ dead loops to hopefully halt
command execution until Emacs gives back the lock.
+Emacs thus must give back lock as soon as possible to un-hang /The Other
Editors/.
+
+Q: What if Emacs GCs?
+/Q got thrown out of the window./
+
** Bridge protocol
- Reader/writer lock
diff --git a/crdt.el b/crdt.el
index 6031c3f..f7ceb46 100644
--- a/crdt.el
+++ b/crdt.el
@@ -6,7 +6,7 @@
;; Maintainer: Qiantan Hong <qhong@alum.mit.edu>
;; URL: https://code.librehq.com/qhong/crdt.el
;; Keywords: collaboration crdt
-;; Version: 0.2.0
+;; Version: 0.3.0
;; This file is part of GNU Emacs.
- [elpa] externals/crdt updated (d5fd2bf -> 2b0c9c0), ELPA Syncer, 2021/09/17
- [elpa] externals/crdt af43adb 02/10: reorder sections, ELPA Syncer, 2021/09/17
- [elpa] externals/crdt 77be6cd 01/10: bump version number,
ELPA Syncer <=
- [elpa] externals/crdt f66d881 08/10: bump version number, ELPA Syncer, 2021/09/17
- [elpa] externals/crdt 10962c7 04/10: add comint-send-eof, ELPA Syncer, 2021/09/17
- [elpa] externals/crdt 92eac26 07/10: ergonomics improvements, ELPA Syncer, 2021/09/17
- [elpa] externals/crdt df9cbdf 03/10: Merge branch 'development' into fix, ELPA Syncer, 2021/09/17
- [elpa] externals/crdt 9b48ee9 05/10: Merge branch 'master' into fix, ELPA Syncer, 2021/09/17
- [elpa] externals/crdt 2b0c9c0 10/10: Merge branch 'fix', ELPA Syncer, 2021/09/17
- [elpa] externals/crdt a7fc622 06/10: Don't perform CRDT client clean-up for non-clients, ELPA Syncer, 2021/09/17
- [elpa] externals/crdt c10a255 09/10: fix a bug in pseudo process advice, ELPA Syncer, 2021/09/17