From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.devel Subject: Re: Question collaborative editing. Date: Thu, 01 Oct 2020 22:14:34 +0530 Organization: Code Is Great Foundation Message-ID: References: <1C949FC9-6023-467E-99EC-75D57B08AFB0@gnu.support> <20200929124513.fd745r2txowwbiir@Ergus> <87blho7af9.fsf@red-bean.com> <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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25238"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: Qiantan Hong , fmfs@posteo.net, Jean Louis , npostavs@gmail.com, emacs-devel@gnu.org, kfogel@red-bean.com, monnier@iro.umontreal.ca, Eli Zaretskii To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 01 18:59:50 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 1kO1vp-0006Ss-GR for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Oct 2020 18:59:49 +0200 Original-Received: from localhost ([::1]:44796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kO1vo-0001Sp-Iu for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Oct 2020 12:59:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kO1hF-00028Q-Ad for emacs-devel@gnu.org; Thu, 01 Oct 2020 12:44:45 -0400 Original-Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]:34647) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kO1hC-0006L2-8s for emacs-devel@gnu.org; Thu, 01 Oct 2020 12:44:45 -0400 Original-Received: by mail-pg1-x52c.google.com with SMTP id u24so4482723pgi.1 for ; Thu, 01 Oct 2020 09:44:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeisgreat-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:organization:references:mail-followup-to:date :in-reply-to:message-id:user-agent:mime-version; bh=lWWBwQGzw8/jbGwDiJp+iQuhzg2RNFtPM/XLkCHV4nA=; b=kd3yr9TdLtL9VcitF0Ho4WfF7WHu1RbV3Jb1uZCGSUuNZVwoovoWfzbOOUpOFIjBXw 2C7TO2RYkuGT1m1oMhSoESGh+mFOiRcnGe22Lv4o2W9aFD56HJJOhQCu0QbHzV40zlt8 UauMS8RV7ctpTifZCTpjR8vcJBxa28UH4u3hjoS7VXfmSJZKiESBPH01mU3TlsPzMqsZ P0v5CghaHc8aVjtp2S1C94q5q7NzE+QSx3IEZmVcMJ3Hk+KYDyrAqbJjUx7UaJvi9QGl w7CKL1Q1whsOoDRqfF3a5CsR/ttn1dr02MTa6ihWYtIB3qArxh/HFSs0BJAjbr2jDcPd 7HzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-followup-to:date:in-reply-to:message-id:user-agent :mime-version; bh=lWWBwQGzw8/jbGwDiJp+iQuhzg2RNFtPM/XLkCHV4nA=; b=PWLGSo4v5VK0nk2RantUvvRUUsNfqClidR858PjQifPzBDqnfTYIsGp9q36+FkyDML GB6ePenCih3utLLQab2hC0kxU9e0NcIgWlp/C+BnRXKhQvxn8EhY9twuZiRapUbLsxX7 swgZyBp9jTYb8cPLJm57ykOaZthMFFFAxOxSuX34OofD9U6MC5CGLcSgHy8eWGwxDzU5 LfPNG+UdCv5lLVhinmUr5TUmal/+2hnEhT101JQCakeJs2NPo99iR+WqRrhIV78v8Tz8 A5W6hkeJ8FpPfM5jtFpZMC3FD0ZMWTmMX33DJ+UUmn2TeZGNL3UaW70iGZz+YW+cddmU B3rg== X-Gm-Message-State: AOAM533c6RJTuB3lY6DP5w2nQBChJzcfF9UG896aY9De7F0HSLhDPP6E wm2Fv7XwmrUT0Y66fatgGYyJyQ== X-Google-Smtp-Source: ABdhPJwntOfQ1Aby+md5oZTENiiBDigc6+5wtyR8Y4/l1OGeyydphG7guBi7rUiM5KD/4SHeX7Y2ag== X-Received: by 2002:a63:3d8c:: with SMTP id k134mr6703452pga.22.1601570680398; Thu, 01 Oct 2020 09:44:40 -0700 (PDT) Original-Received: from mb2.local ([2405:201:5c06:7893:48f2:a962:e142:fa7b]) by smtp.gmail.com with ESMTPSA id x3sm368315pjf.42.2020.10.01.09.44.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Oct 2020 09:44:39 -0700 (PDT) Mail-Followup-To: Ergus , Jean Louis , Eli Zaretskii , Qiantan Hong , fmfs@posteo.net, npostavs@gmail.com, emacs-devel@gnu.org, kfogel@red-bean.com, monnier@iro.umontreal.ca In-Reply-To: <20201001160136.chwmpollk4d3qc2e@Ergus> (Ergus's message of "Thu, 1 Oct 2020 18:01:36 +0200") Received-SPF: none client-ip=2607:f8b0:4864:20::52c; envelope-from=pankaj.jangid@codeisgreat.com; helo=mail-pg1-x52c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no 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:256893 Archived-At: On Thu, Oct 01 2020, Ergus wrote: > It is a bit more complex, because for remote editing it is not easy to > establish connection in different NAP, cross firewalls, and so on. And > as I said before, we don't have resources to provide a server service > for this that runs "our" CRTD server. > > Withing the same network it still requires a sort of local service to > solve the conflicts. And that also needs to be implemented... Well, we can start with something simple. How about implementing collaboration on local area network first. I remember we had fun with 'talk'. Once implemented on LAN, users can then figure out how to work across continents using some kind of tunnel. An example use-case might be: user1: 1. C-x C-f (find-file) 2. M-x enable-collaboration ; this generates a session-key 3. Share session key with collaborators via chat/email user2: (via Tramp) 1. C-x C-f /collab:session-key@ip-address:filename Users get cursors with different colours. The advantage of using Tramp is that users can always use Ad-hoc multi-hops.