From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Share emacs --daemon between 2 users of same host Date: Thu, 06 Dec 2018 14:34:43 -0500 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1544124907 30832 195.159.176.226 (6 Dec 2018 19:35:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Dec 2018 19:35:07 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: "help-gnu-emacs@gnu.org List" To: =?windows-1252?B?Sm/jbyBU4XZvcmE=?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 06 20:35:03 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUzQN-0007rf-0B for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Dec 2018 20:35:03 +0100 Original-Received: from localhost ([::1]:42729 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUzST-0005B9-IJ for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Dec 2018 14:37:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUzQH-0003y2-6T for help-gnu-emacs@gnu.org; Thu, 06 Dec 2018 14:34:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUzQD-0003rh-BC for help-gnu-emacs@gnu.org; Thu, 06 Dec 2018 14:34:57 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:36170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUzQB-0003r2-Fi for help-gnu-emacs@gnu.org; Thu, 06 Dec 2018 14:34:52 -0500 Original-Received: from lechazo.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id wB6JYh99001044; Thu, 6 Dec 2018 14:34:43 -0500 Original-Received: by lechazo.home (Postfix, from userid 20848) id 7258060371; Thu, 6 Dec 2018 14:34:43 -0500 (EST) In-Reply-To: (=?windows-1252?Q?=22Jo=E3o_T=E1vora=22's?= message of "Thu, 6 Dec 2018 15:04:28 +0000") X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.1 X-NAI-Spam-Rules: 3 Rules triggered TRK_NCM1=0.1, EDT_SA_DN_PASS=0, RV6434=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6434> : inlines <6979> : streams <1806366> : uri <2761136> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118896 Archived-At: >> > Is this at all possible? I read here[1] that is and that you even get >> > two simultenous cursors if two users are in the same buffer. >> I'm pretty sure they're not referring to a functionality in vanilla >> Emacs, unless they mean "two cursors" as in one cursor in one window and >> another in another. > Ok, two cursors aside (definitely not a showstopper) can you tell me if > multi-user emacsclient is supported? If so, how exactly? You can have two emacsclients connect to a single Emacs server process. If those two emacsclients don't belong to the same user, you'll have to do extra work, such as copying the credentials from one user to the other, and the result suffers from very serious trust issues (that (temporarily) gives full access to your account to the other user). Other approaches rely on separate sessions synchronized via some protocol. In that case it is often possible for the two side to use different editors. Check https://www.emacswiki.org/emacs/CollaborativeEditing But AFAIK there's currently no good solution. Of those, Rudel is in GNU ELPA and in need of a lot of love. Stefan