Collaborative Editing Options for Emacs
emacswiki.org
emacswiki.org
I just tried crdt.el[^1] and holy crap that's cool. I love that it's all built in Emacs, like, there's no special server I have to run to get this to work. I'm blown away.
I use straight.el[^2] and use-package[^3] for package management; if you want to give crdt.el a whirl, just use this:
(use-package crdt
:straight (crdt :type git :repo "https://code.librehq.com/qhong/crdt.el"))
A fun alternative if you're in the terminal is tmate[^4], which is a fork of tmux. That one uses a central server to negotiate the connection though, I believe.[^1]: https://code.librehq.com/qhong/crdt.el
[^2]: https://github.com/raxod502/straight.el
[^3]: https://github.com/jwiegley/use-package
[^4]: https://tmate.io/
That would make it pretty killer. I'll have to look into that…
We were pairing a lot with a friend in our "startup" that was using Clojure, sometimes from our respective homes.
And well that was it, it was a pretty specialized use case. Sad to see it go but it's a really niche need, sharing a live Emacs buffer.
Wanting to get back to emacs, I setup a guest account (on linux) for trusted users and share an emacs editor through a shared tmux session. Only one cursor, but it makes it easier to follow along.
Fortunately, most Emacs users are likely hermits anyway.
But even if I would find one and we wanted to use emacs together - How is that supposed to work? My config and how I use it is quite personal.
Also I don't understand what it could provide. Screen-sharing can be done with Teamviewer etc.
And not long ago a few student were mind blown because I was, as they put it, "working in the console" :-) The times they are a'changing...
I also would leave emacs running at the (school) office, ssh in, and attach a tty to it from home (for reading mail/news).
It worked rather well. Bit of setup hassle and it's stinking insecure, but not too bad on those fronts even compared to the VSCode solution.
But Emacs lost. All the developer effort is behind VSCode and the IDEs now. So if you want a robust, supported solution for this kind of thing, you have to leave Emacs behind.
And yet, Visual Studio is fading away, Eclipse is gone, Netbeans (of "just stop using Emacs for Java" fame ) is on life support.
Emacs is here to stay.