Giter Club home page Giter Club logo

Comments (16)

jscheid avatar jscheid commented on May 22, 2024 5

I've got something work-in-progress here https://github.com/jscheid/tandem-emacs

It works pretty well when joining a session, hosting a session (and joining it with Sublime) seems broken in the agent?

from tandem.

rageandqq avatar rageandqq commented on May 22, 2024 4

Hi @tomjridge , thanks for your interest in Tandem!
Currently, we only support Neovim and Sublime Text.
While we do have plans to extend Tandem to other editors, I don't think we'll be developing an Emacs plugin anytime soon.

However, if you are interested in developing a Tandem plugin for Emacs, we'd be delighted to help out along the way and more than welcome Pull Requests.
We wrote a how-to for developing Tandem plugins. Check out our wiki: https://github.com/typeintandem/tandem/wiki/Interacting-with-the-Tandem-Agent
As long as your plugin conforms to that outline, it should work seamlessly with the Agent!

from tandem.

anarcat avatar anarcat commented on May 22, 2024 2

the license will change, so nevermind those comments :) whoohoo!

from tandem.

alexjgriffith avatar alexjgriffith commented on May 22, 2024 1

The crdt is run on node.js

from tandem.

anarcat avatar anarcat commented on May 22, 2024 1

from tandem.

jscheid avatar jscheid commented on May 22, 2024 1

It turns out Emacs hasn't quite achieved sentience yet and didn't know to send the initial buffer when hosting a session without me telling it to... it should work better now.

from tandem.

anarcat avatar anarcat commented on May 22, 2024

@rageandqq could you clarify what the Tandem agent is exactly? i see that the neovim plugin requires the neovim Python2 client and node.js, is that how the agent works, with node.js? this repository only has Python code, so I'm a little confused regarding the node.js requirement there...

from tandem.

geoffxy avatar geoffxy commented on May 22, 2024

@anarcat The Tandem agent implements all of the common functionality that all plugins need (e.g. managing peers in a session, sending messages between peers, etc.). We actually use the CRDT that powers Teletype under the hood. Since they implemented it in JavaScript, we need to take on the Node.js dependency in order to actually use it with the agent.

from tandem.

alexjgriffith avatar alexjgriffith commented on May 22, 2024

@jscheid i've run into the same issue when trying to host via the command line and join via sublime. Looking at the log all I get are the following messages:

2018-03-15 00:19 INFO     Tandem UDPGateway is listening on ('', 4001).
2018-03-15 00:19 INFO     Tandem Agent has started.
2018-03-15 00:20 DEBUG    Received data from 192.168.0.116:60689.
2018-03-15 00:20 DEBUG    Received data from 192.168.0.116:60689.
2018-03-15 00:20 DEBUG    Received data from 192.168.0.116:60689.
2018-03-15 00:20 DEBUG    Received data from 192.168.0.116:60689.
2018-03-15 00:20 DEBUG    Received data from 192.168.0.116:60689.
2018-03-15 00:20 DEBUG    Received data from 192.168.0.116:60689.
2018-03-15 00:20 DEBUG    Received data from 192.168.0.116:60689.
2018-03-15 00:20 DEBUG    Received data from 192.168.0.116:60689.
2018-03-15 00:20 DEBUG    Received data from 192.168.0.116:60689.
2018-03-15 00:20 DEBUG    Received data from 192.168.0.116:60689.
2018-03-15 00:20 DEBUG    Received data from 192.168.0.116:60689.
2018-03-15 00:20 DEBUG    Received data from 192.168.0.116:60689.
2018-03-15 00:20 DEBUG    Received data from 192.168.0.116:60689.
2018-03-15 00:20 DEBUG    Received data from 192.168.0.116:60689.

from tandem.

anarcat avatar anarcat commented on May 22, 2024

oh boy, how exciting! didn't expect that to happen so soon :) congrats on the author and keep it up! should we report issues there or here?

(this only makes licensing issues described in #131 even more pressing unfortuantly...)

from tandem.

alexjgriffith avatar alexjgriffith commented on May 22, 2024

@anarcat since we are not modifying their agent, and it is their agent that is communicating with the server it might be ok. Alternatively we can point it to another server.

from tandem.

rageandqq avatar rageandqq commented on May 22, 2024

@anarcat @alexjgriffith The license has been updated! See #135. Hope this quells your concerns 😄

@jscheid That's awesome! I too didn't expect this to happen so soon. What version of python3 are you running locally? We verified that the agent works with python3.6+, and handling versioning issues (and potentially rethinking how we choose, version, and distribute Tandem's dependencies) is one of the issues our team is planning to address.

from tandem.

jscheid avatar jscheid commented on May 22, 2024

I have Python 3.6.4 from homebrew.

Could it be a discrepancy between the version of the agent used by the Sublime plugin and the one I'm using?

from tandem.

alexjgriffith avatar alexjgriffith commented on May 22, 2024

Does it work with the vim plugin? I have tried using the same agent for both the Emacs extension and Sublime plugin and still could not host on Emacs.

from tandem.

kfogel avatar kfogel commented on May 22, 2024

By the way, what are the criteria for getting it listed as the (or as "an") unofficial Emacs plugin in the README and on the home page?

from tandem.

anarcat avatar anarcat commented on May 22, 2024

What's the status here? It seems that the plugin haven't changed since march, does it actually work? Should Emacs be included in the list of supported clients?

from tandem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.