emacs-devel
[Top][All Lists]
Advanced

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

Re: EBrowse obsolete?


From: Jim Porter
Subject: Re: EBrowse obsolete?
Date: Thu, 21 Jul 2022 14:26:06 -0700

On 7/21/2022 10:39 AM, Stefan Monnier wrote:
I don't use VS Code myself, but from talking with people who do, my
understanding is that it supports LSP over SSH. (VS Code is a bit different
in that it requires you to install a specific VS Code server on the remote
host though, so maybe the closest analogy in Emacs would really be using
emacsclient over TCP.)

Indeed, I don't think we can hope to get good performance with an
approach like that of Tramp which works hard to try and avoid requiring
installation of a "Emacs server" on the other end.
This said, it's probably possible to make it "good enough" in most
cases, tho it may require extra work.

I think there are probably two separate (but somewhat related) issues:

1. LSP over Tramp is "slow". I'm sure there are things we can do to make Tramp faster, especially with "well-behaved" remote hosts. For example, maybe Tramp can get more info about a host upon connection and then use that to avoid some work later on.

2. LSP over Tramp is "unreliable". I think this is the more-pressing issue. It's one thing if a remote request takes longer than expected, but another thing entirely if it just fails to work every so often. When trying to use Eglot + Tramp on some larger projects, I'd get hit with "Forbidden reentrant call of Tramp" every so often, which, if memory serves, usually required a bit of poking at Eglot, or at least retrying the operation I wanted to do. Maybe this has improved since the last time I tried this, but (I think) fixing these errors would go a long way towards resolving people's complaints. That's probably easier said than done though...



reply via email to

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