[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unbuffered remote process I/O

From: Michael Albinus
Subject: Re: unbuffered remote process I/O
Date: Fri, 15 May 2020 10:52:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Felipe Lema <address@hidden> writes:

> Sup, yo

Hi Felipe,

> I'm having some trouble with a Tramp-remote process created using
> `make-process` and it's 27's :file-handler parameter. It seems that the
> Emacs process is not receiving input bytes or not receiving output
> bytes because of buffering.
> Context
> -------
> I'm working on tramp support for the eglot package[1]. eglot is a
> bridge between a LSP server and Emacs, translating events from either
> side to the other using msgpack-rpc through stdin and stdout.
> After starting the process, eglot rpc-calls for an initialization
> methods (ie: sends bytes) and expects a result (ie: reads bytes)
> within, let's say, 30s.

I'm trying to understand your architecture, and how Tramp relates to
this. Which process do you start remotely? Is it an LSP server? I
suppose that eglot itself (as LSP client) runs locally, right?

Please take into account that I'm a n00b wrt LSP and eglot.el.

> Thanks
> Felipe

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]