From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: crdt.el collaborative real time editing for Emacs Date: Mon, 5 Oct 2020 11:07:26 +0300 Message-ID: <20201005080726.GA4453@protected.rcdrun.com> References: <20201004175447.GG15516@protected.rcdrun.com> <87362tvnil.fsf@gmail.com> <20201004194815.GH15516@protected.rcdrun.com> <11EB917D-3276-4D34-8DCD-2336E8062950@mit.edu> <874kn9709y.fsf@red-bean.com> <20201005054829.GU15516@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9923"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.14.0 (2020-05-02) Cc: emacs-devel@gnu.org To: Qiantan Hong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 05 10:09:08 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 1kPLYS-0002T3-1O for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Oct 2020 10:09:08 +0200 Original-Received: from localhost ([::1]:60210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPLYR-0007Ao-3L for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Oct 2020 04:09:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPLWx-0006ME-5t for emacs-devel@gnu.org; Mon, 05 Oct 2020 04:07:35 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:56889) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPLWv-00058H-30 for emacs-devel@gnu.org; Mon, 05 Oct 2020 04:07:34 -0400 Original-Received: from localhost ([::ffff:197.157.34.178]) (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000005A13D.000000005F7AD441.00006680; Mon, 05 Oct 2020 01:07:28 -0700 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/05 04:07:30 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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:257085 Archived-At: Hello Qiantan, I have the Ethernet switch and few computers in house, I can test features. * Qiantan Hong [2020-10-05 09:45]: > Hi Jean, > > Thanks again for the report! Currently the code is at very > alpha stage so sorry for any bugs in it. That is natural. > Could you provide a bit more detail on the yanking issue? Yes, I have been testing that, first it appeared to work, then when yanked from server, it did not appear on the connected computer. Then I have saved file on server. Then I have yanked again into file, it did not appear on connected computer. > Did it just failed for one particular yank operation or all yanking > doesn’t work? Now I cannot say why it happens, I say it happens. If undo is done on connected computer, the undo is not shown on the server. > I’m more worried about the former case — which means some > bug lies in the algorithm implementation and it’s really hard to > reproduce — haven’t reproduce it yet. > It would be also helpful in this case that you can provide some > description of operations happened before this bug is triggered. > But if it’s the latter then it might just be some other package > interference with the change hook or the change hook is not > installed correctly, either case, much easier to fix. Sure, I will do that little later, when I have computers one to each other, right now they are separate, I have to walk from room to room and do action by action. What means crdt.el ? Many times of editing are collaborative editing, to say that it is only collaborative would not be proper, it is better to say "real time collaboration" and even better "simultaneous editing": https://en.wikipedia.org/wiki/Simultaneous_editing The mode should be named in easier fashion, something that is easy for users to enable or turn off. Later I will give you more detailed transcript what I did, the crdt.el leaves some messages too, I can collect those as well. Jean