unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Vikas Rawal <vikasrawal@gmail.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Concurrent editing in emacs
Date: Mon, 18 Oct 2021 09:58:32 +0530	[thread overview]
Message-ID: <20211018042832.gqkemtogrvcak72w@dalkati> (raw)


I am looking for a solution where an emacs session is shared with
multiple users who can simultaneously work on some/all buffers.

I have come across this solution:
https://dirk.eddelbuettel.com/papers/r4_byobu_collaborate.pdf

This is., however, not entirely satisfactory as only one user controls
the cursor at any time. Every user has the same view of emacs, the
control keeps jumping from one user to another depending on who
attempts to take control last.

What I am looking for is a solution where different users can
independently work on the buffers. Each user should be able to see
what others are doing but not prevent others. This could obviously
create conflicts and we will have to have a clean mechanism for
locking resources (whoever takes control first retains it until
released).

It would be good if this controlling mechanism is major-mode
specific. For example, an ESS buffer running R should have
buffer-level lock. But an org-mode buffer might have a headline-level
locking mechanism.

I don't know if something like this can be achieved using existing
tools, or whether this is an area in which tools need to be developed.

But I thought I will put this out, in case somebody has pointers,
solutions or any advice.

Vikas



             reply	other threads:[~2021-10-18  4:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-18  4:28 Vikas Rawal [this message]
2021-10-18  4:57 ` Concurrent editing in emacs Corwin Brust
2021-10-18 10:10   ` Vikas Rawal

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20211018042832.gqkemtogrvcak72w@dalkati \
    --to=vikasrawal@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).