unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Jim Porter <jporterbugs@gmail.com>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
	 Visuwesh <visuweshm@gmail.com>,  Eli Zaretskii <eliz@gnu.org>,
	 Dmitry Gutov <dgutov@yandex.ru>,
	 gerd.moellmann@gmail.com,  emacs-devel@gnu.org
Subject: Re: EBrowse obsolete?
Date: Sat, 23 Jul 2022 11:51:59 +0200	[thread overview]
Message-ID: <87k084jgw0.fsf@gmx.de> (raw)
In-Reply-To: <9a02b1eb-20fb-93eb-7492-1387a3a7a831@gmail.com> (Jim Porter's message of "Thu, 21 Jul 2022 10:16:36 -0700")

Jim Porter <jporterbugs@gmail.com> writes:

> On 7/21/2022 9:51 AM, Stefan Monnier wrote:
>> Visuwesh [2022-07-21 21:46:24] wrote:
>>> Surprisingly, complaints about running LSP over TRAMP comes up really
>>> often in Reddit.
>> Ah, so that's what you mean by "over the network".  I'm surprised it
>> comes up that often.  I don't think it's a super-common use case
>> (e.g. what other editor offers such a functionality?  What do non-Emacs
>> users do when they have such a need?).
>
> 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, VS Code uses a remote server for that, see
<https://code.visualstudio.com/docs/remote/remote-overview>. It does not
require you to install it manually, adding the "Remote Development
extension pack" does the trick. This installs the remote VS Code server
on the remote host when needed.

OTOH, Tramp uses a remote shell as a REPL engine. That is another
approach, and less performant.

(In the past I've tried to use remote Perl or Python programs as REPL
engine, but the performance was even worse).

> For what it's worth, I do a *lot* of editing over Tramp and have tried
> Eglot-over-Tramp in the past. It mostly works, but it does require a
> bit of fiddling, since it seems to occasionally trigger a race
> condition in Tramp code. I vaguely recall a WIP Tramp branch that
> improved the reentrancy of Tramp code which might fix this, but I'm
> sure that's pretty tricky to get 100% right.

Yes.

> - Jim

Best regards, Michael.



  parent reply	other threads:[~2022-07-23  9:51 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-21  6:16 EBrowse obsolete? Gerd Möllmann
2022-07-21  6:44 ` Akib Azmain Turja
2022-07-21 12:46   ` CEDET obsolete? (was: Re: EBrowse obsolete?) Stefan Kangas
2022-07-21 13:00     ` CEDET obsolete? Po Lu
2022-07-22 10:26     ` Jose E. Marchesi
2022-07-22 13:26       ` Stefan Kangas
2022-07-23 11:44     ` CEDET obsolete? (was: Re: EBrowse obsolete?) Lynn Winebarger
2022-07-21  6:49 ` EBrowse obsolete? Po Lu
2022-07-21  7:26 ` Eli Zaretskii
2022-07-21  7:56   ` Bozhidar Batsov
2022-07-21 12:16     ` Zhiwei Chen
2022-07-21  8:16   ` Po Lu
2022-07-21 11:12   ` Gerd Möllmann
2022-07-21 11:44     ` Po Lu
2022-07-21 12:21       ` Dmitry Gutov
2022-07-21 12:28       ` Gerd Möllmann
2022-07-21 12:33       ` Akib Azmain Turja
2022-07-21 17:02         ` Yuri Khan
2022-07-21 12:15     ` Eli Zaretskii
2022-07-21 12:19       ` Dmitry Gutov
2022-07-21 12:28         ` Eli Zaretskii
2022-07-21 15:21           ` Stefan Monnier
2022-07-21 16:16             ` Visuwesh
2022-07-21 16:51               ` Stefan Monnier
2022-07-21 17:07                 ` Visuwesh
2022-07-21 17:16                 ` Jim Porter
2022-07-21 17:39                   ` Stefan Monnier
2022-07-21 21:26                     ` Jim Porter
2022-07-22  2:01                       ` Tim Cross
2022-07-23 10:18                         ` Michael Albinus
2022-07-24 23:25                           ` Tim Cross
2022-07-22 14:29                       ` Brian Cully via Emacs development discussions.
2022-07-22 17:22                         ` Jim Porter
2022-07-23 10:35                           ` Michael Albinus
2022-07-23 10:28                         ` Michael Albinus
2022-07-23 10:13                       ` Michael Albinus
2022-07-23  9:57                     ` Michael Albinus
2022-07-23 14:36                       ` Stefan Monnier
2022-07-23 15:04                         ` Michael Albinus
2022-07-23  9:51                   ` Michael Albinus [this message]
2022-07-22  1:06                 ` Po Lu
2022-07-22  4:55                   ` Gerd Möllmann
2022-07-22  5:15                     ` tomas
2022-07-22  6:52                     ` Eli Zaretskii
2022-07-22  1:35             ` Tim Cross
2022-07-21 12:58       ` Gerd Möllmann
2022-07-21 13:04         ` Eli Zaretskii
2022-07-21 13:16         ` Po Lu

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=87k084jgw0.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=dgutov@yandex.ru \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=gerd.moellmann@gmail.com \
    --cc=jporterbugs@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    --cc=visuweshm@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).