unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Share emacs --daemon between 2 users of same host
@ 2018-12-05 16:23 João Távora
  2018-12-05 21:29 ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: João Távora @ 2018-12-05 16:23 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

What is the recommended way to get 2 (or more) users, say A and B, of
the same *nix host, to simulteously connect to the same emacs daemon,
each using his own emacsclient?

1. If server-use-tcp is nil, user A starts an emacs daemon which creates
a /tmp/emacs<uid>/server socket.  A connects to it fine.  But user B
can't pass that as -s to his emacsclient because of insufficient
permissions.  This is even if A chown/chmods the socket to be more
permissive.

2. If server-use-tcp is t, the same user A now creates a
~/.emacs.d/server/server file.  Again, A connects fine, but B can't pass
thjat as -f to his emacsclient because of insufficient permissions.  But
even if A chown/chmods its, there is some code that still forbits it.

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.

Thanks,
João

1: https://www.reddit.com/r/emacs/comments/7d6hv0/real_time_collaboration_in_emacs/dpvhjvu








^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-12-06 19:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).