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: Fri, 02 Oct 2020 08:30:47 +0530 Organization: Code Is Great Foundation Message-ID: References: <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> <20201001165342.yyudrweicducnozn@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="328"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: Ergus , fmfs@posteo.net, Jean Louis , Qiantan Hong , Emacs developers , Karl Fogel , Stefan Monnier , Noam Postavsky , Eli Zaretskii To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 02 05:03:10 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 1kOBLh-000AY4-QC for ged-emacs-devel@m.gmane-mx.org; Fri, 02 Oct 2020 05:03:09 +0200 Original-Received: from localhost ([::1]:59036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOBLg-0005tf-QN for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Oct 2020 23:03:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kOBJe-0004q2-IK for emacs-devel@gnu.org; Thu, 01 Oct 2020 23:01:04 -0400 Original-Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]:54932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kOBJa-0000Jr-AP for emacs-devel@gnu.org; Thu, 01 Oct 2020 23:01:00 -0400 Original-Received: by mail-pj1-x102d.google.com with SMTP id j19so203458pjl.4 for ; Thu, 01 Oct 2020 20:00:53 -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=EwbzgiJudvK4j2gQVOcUBletGE+zfFy5w2XczWVqnpg=; b=b33tr1xR1GIPvVASEZmGUrg4X/pYCew2GoOUq5g4iSUcanlFYHst1P7TOd2Jd3TXN5 VT/yIeJ3ksgPoBIbU9KDYSuLLZ5tYnaHNKjzHsX/Vta1sx7xGKj1LAGz1hsFIw4vx43S 1PSdEYsiwNjMOmh7J9k7SsV+CkQ/itnBO8d6RzyRG+AAqLiQcf5COPBucpx++6mzaYZR yEyuKBqAibrhCRBcKM3wLz/8zZnVEDu6JM8Keb7uJ7vyMHrjkVr4XyxYxSexhTgtUSF4 4e36aX1BjTwMVW7vv2MKi9XsCb6RonxPdLRq7YVV1iUd6IPpqJKtFAHnAYAcJ6RwvHva lMOA== 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=EwbzgiJudvK4j2gQVOcUBletGE+zfFy5w2XczWVqnpg=; b=sp7ZbLy9kEA4POELll91roJrgIbNjw6pRquOqVhYTQ5+h/Ypt3NMhQrFbiyiU2Hawt gDYI1B+mc72V7UvSM60edpnxBvCsS0LqnffxRUdQeeqJ6gt7chhORHEL7y5wBoRFj/7m Ii1OqLrOxl+nC639N5Qj5QNmTIcm7vGTSUB6PWOypmbGjb+o0USS2UB+HpE7q91Bwlns V04LqSapXz3061Ug8F2OOyHv++ppVhbNT2zBGYOAlmPhr1AjJfWlxAnmXBS6LzI3jUB7 Yl90yljHCDkGxR4wAee8oZbMU0alDFSpqdj6UgknXWF0te5dkYuH1LNRoZLpZDPwrspY C/QQ== X-Gm-Message-State: AOAM533uww6cRj+Ek+Tno+q0xzQ9Nn+a/X740zbI0HLt4mPVPwrsbS3P BhmT6AVjPrOkphOfBrLlm8M4WA== X-Google-Smtp-Source: ABdhPJxJ8qtbJpfMNcumPv+WeOHYLd5Typ7NbX9oJCqg6fFF/J5r97vwbopUtsp6FPL10o2Xfer7Vg== X-Received: by 2002:a17:90a:cc17:: with SMTP id b23mr435374pju.32.1601607652651; Thu, 01 Oct 2020 20:00:52 -0700 (PDT) Original-Received: from mb2.local ([2405:201:5c06:7893:48f2:a962:e142:fa7b]) by smtp.gmail.com with ESMTPSA id t198sm44962pgb.82.2020.10.01.20.00.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Oct 2020 20:00:52 -0700 (PDT) Mail-Followup-To: Yuri Khan , Ergus , Qiantan Hong , fmfs@posteo.net, Jean Louis , Noam Postavsky , Emacs developers , Karl Fogel , Stefan Monnier , Eli Zaretskii In-Reply-To: (Yuri Khan's message of "Fri, 2 Oct 2020 00:29:15 +0700") Received-SPF: none client-ip=2607:f8b0:4864:20::102d; envelope-from=pankaj.jangid@codeisgreat.com; helo=mail-pj1-x102d.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:256908 Archived-At: On Fri, Oct 02 2020, Yuri Khan wrote: >> >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. >> > >> Yes, this is exactly my expected workflow more or less. It is p2p as I >> have mentioned before I would prefer it to be. The tramp integration is >> something way far from my capabilities, but in general that's the >> idea ;). > > Do not overlook the use case of collaborating on a project containing > multiple files. (I can already see it is a whole other can of worms.) I thought about this while writing the above use-case. Hence used the generic term /session-key/. A session can use the project infrastructure to list and expose files. See the last part in the above Tramp call. Filename can be specified there.