From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Karl Fogel Newsgroups: gmane.emacs.devel Subject: Re: Question collaborative editing - Wikipedia reference Date: Sun, 04 Oct 2020 23:40:57 -0500 Message-ID: <874kn9709y.fsf@red-bean.com> References: <20200929215849.zg4wzytbrwx2b7ih@Ergus> <84B86B7C-81F0-42DF-894C-BF577E4B3D6E@mit.edu> <83a6x7js6y.fsf@gnu.org> <83eemji6e8.fsf@gnu.org> <20201001141144.GO4797@protected.rcdrun.com> <20201001160136.chwmpollk4d3qc2e@Ergus> <20201004175447.GG15516@protected.rcdrun.com> <87362tvnil.fsf@gmail.com> <20201004194815.GH15516@protected.rcdrun.com> <11EB917D-3276-4D34-8DCD-2336E8062950@mit.edu> Reply-To: Karl Fogel Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26909"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Ergus , Fermin , Jean Louis , Caio Henrique , Noam Postavsky , Emacs developers , Stefan Monnier , Eli Zaretskii To: Qiantan Hong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 05 06:41:49 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kPIJo-0006rp-DJ for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Oct 2020 06:41:48 +0200 Original-Received: from localhost ([::1]:53928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPIJn-0005cD-Cx for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Oct 2020 00:41:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPIJ9-0005CD-Ca for emacs-devel@gnu.org; Mon, 05 Oct 2020 00:41:07 -0400 Original-Received: from newsp.red-bean.com ([45.79.25.59]:34900 helo=sanpietro.red-bean.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPIJ7-0005Tg-LM; Mon, 05 Oct 2020 00:41:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=red-bean.com; s=202005newsp; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:Reply-To:References:Subject:Cc:To:From:Sender: Content-Transfer-Encoding:Content-ID:Content-Description; bh=jot4Xe3Gz5jA1EqHV6Z9rstJ/QwNCimhCz0WxcIcvjY=; t=1601872861; x=1603082461; b=hGAnTBaxecEigaCcqO5gRcq0sf06r0zqVGRhLX4RD4nXnWTrSOYqz6tiIRMcRpRtoyUwTKrslV MMaDmcDZiOdnBCMMp765jUea0caOC0dOrPLh/zk/Yv1xlXVfDWmQo/opImAUYiyziltWntYigB9qK QWIkpXYm/Ybz8t4qqyUIBDwt/BQor5eYIq1/USZnyZyKmfG6d2852SEhjzR/lMJnX3KN4ut2RiCRg FkeINh32LMipwrH0ORZoUX9qCS390lBHUsCrlB722tOrdcMPR4g8Ecr5DaatWYGKguTlwdgabyfGR //iYgvfs77FwUDI0HYwcRbmb+XV876biJzJRw==; Original-Received: from 99-112-125-163.lightspeed.cicril.sbcglobal.net ([99.112.125.163]:56004 helo=floss) by sanpietro.red-bean.com with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kPIJ1-0005Tr-4D; Mon, 05 Oct 2020 04:40:59 +0000 In-Reply-To: (Qiantan Hong's message of "Mon, 5 Oct 2020 00:05:30 +0000") Received-SPF: pass client-ip=45.79.25.59; envelope-from=kfogel@red-bean.com; helo=sanpietro.red-bean.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/05 00:34:25 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:257070 Archived-At: --=-=-= Content-Type: text/plain Qiantan, I just tried out your code and I'm thrilled -- it worked! By "worked", I mean: 1) In my current Emacs instance, I loaded crdt.el, switched to a new buffer "foo", and ran `M-x crdt-test-server'. 2) Then I started a separate Emacs instance, loaded crdt.el, and ran `M-x crdt-test-client'. 3) From both Emacsen, any edit I made was immediately reflected in the other Emacs. That's very promising! I couldn't easily test simultaneous editing, of course, since there's only one of me, but tomorrow I'll test that with a friend. Are you doing this work in a public version-controlled repository? If not, would you like to? I'd be happy to provide one. (There are many places that offer public Git hosting, of course; alas, not all of them run on free software, but the one I provide does.) While crdt.el is obviously still in an early stage, it's very promising! I'm happy to help test, and am sure others here would be too. Best regards, -Karl --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEsgfAWXyjn8Fyi3xbCKC3XMXtg0UFAl96o9kUHGtmb2dlbEBy ZWQtYmVhbi5jb20ACgkQCKC3XMXtg0XxZQ/9EUhtGz/icvjq40kCA+T8RSoH7o+5 0BmkXwlk7l5/HKI2nX1dlfktgeSYLYs5OFfFIPsNxlX3OqzRp0EheukCFED1fgU2 C5BKWTyTs5bDYJpS4/xBDXaxFE7ZJzjnk21PsSWcLfqxrwD2K1dRR66mEKu2eGFU hTrYXEq7ee1sTJ5Opjrm54efJA0ZYswvVUaJiq7SQnVAQQgE69DJOzkY2ge/i2ur n8D97k/RrpPejHcjXacPW5TTbHPN5g5juO42gbdUTpcQ+k5mVs/nFUWWz1oZtHbI FenfjmEotjD2IyHtC6fJ1+jX+G1lmwgQVdbriyOqRQy4HZPbgVmNk4rr8laBpW3g 7T8NRPorapLdRSIGx/QpYQHeZnuViAdXxk3O8ijcklPZN7DV1MxkUdb46v8U+48j esyiv3teOXw6RaMZS1WXBSOdiofgLKw4Od/8K4Fw/nxBB9w/7EvCrDbK7yhrj6fh NrkWPFQZW4y68RC6SuJuOROVqlFgNY0GVaZqKhE01f8SMQfJykUAWpSG1FDg1QAK h0j4Umn+N6u6VopUMnoowx4arVPr6eGMNuSRRO+oDBBq7cgAfkF6JapLXiRw7026 B4KF2L9zUELeK79zwgMGx8bf56+8S6y1yPP0Uq0Q6oet+UXNT2EcYFVjMtGhtXjV +risUxo30VVSQIc= =LTk6 -----END PGP SIGNATURE----- --=-=-=--