all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: "João Távora" <joaotavora@gmail.com>
Cc: "help-gnu-emacs@gnu.org List" <help-gnu-emacs@gnu.org>
Subject: Re: Share emacs --daemon between 2 users of same host
Date: Thu, 06 Dec 2018 14:34:43 -0500	[thread overview]
Message-ID: <jwvo99ybgjx.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CALDnm52NEDLb5dt-5BO9-gMfTJbMBXNXXzWEdLK9SjgV2scBJA@mail.gmail.com> ("João Távora"'s message of "Thu, 6 Dec 2018 15:04:28 +0000")

>> > 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



      reply	other threads:[~2018-12-06 19:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-05 16:23 Share emacs --daemon between 2 users of same host João Távora
2018-12-05 21:29 ` Stefan Monnier
2018-12-06 15:04   ` João Távora
2018-12-06 19:34     ` Stefan Monnier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvo99ybgjx.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    --cc=joaotavora@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.