From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.devel Subject: Re: EBrowse obsolete? Date: Fri, 22 Jul 2022 12:01:22 +1000 Message-ID: <86mtd1c2tt.fsf@gmail.com> References: <72125fc3-358c-2f89-1cb6-16c4ff18185e@gmail.com> <83czdzncy5.fsf@gnu.org> <835yjqoe5n.fsf@gnu.org> <896a2dd6-598c-a40c-f88b-cee8bda5490c@yandex.ru> <83zgh2myz5.fsf@gnu.org> <87wnc6phk7.fsf@gmail.com> <9a02b1eb-20fb-93eb-7492-1387a3a7a831@gmail.com> <2dd9c74b-d822-bef2-8907-e8eedbac5eed@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24091"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.6; emacs 29.0.50 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jul 22 04:14:19 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oEiBG-0006A4-CA for ged-emacs-devel@m.gmane-mx.org; Fri, 22 Jul 2022 04:14:18 +0200 Original-Received: from localhost ([::1]:60152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEiBF-0003Bq-98 for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Jul 2022 22:14:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEiA9-0002UF-P9 for emacs-devel@gnu.org; Thu, 21 Jul 2022 22:13:09 -0400 Original-Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]:43724) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEiA7-00071c-Ik for emacs-devel@gnu.org; Thu, 21 Jul 2022 22:13:09 -0400 Original-Received: by mail-pl1-x62c.google.com with SMTP id y15so3432395plp.10 for ; Thu, 21 Jul 2022 19:13:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=x8t4vqLrNjePf8lEIGQOu06K27FmHpxNMs5XJJVzlB0=; b=K4PB7nVWSUv5Yv714Df3RNlGmM4PNsAVzD1lMKdQ1sA9JYA2PhTvBaNBFkORnURhHC nNhQUYs6CluBfGTkzhFDxi4DafKsDTy92JaH2Ttt8CYIHp3vPjyRTqn96o66FoIhRNte ljnWnGa/yO7+cHq8EiTwT4VKsPhMopQnlIk8qaPuoFxmZNxgczy9GpjDLn2kwoMM5eBK c7oZuNfoEfHQ/M5Zi8+JrhCERr16fOlaQS2WYv/3HRhytAI4WiquEWT2X7SJkqJGgdtI 3dDPY5fwEoZ3F6+gKyzS4A55ji5MaHurOF0fOIGlael1A/p/YJVVQRt+YmgyB9kH8MSq nDxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=x8t4vqLrNjePf8lEIGQOu06K27FmHpxNMs5XJJVzlB0=; b=BqXFzEUOE/rDXaTMKGzVx/zTE8QubdW7i9ZM5Ym28vWRjVG75p/u+9tNcgHCJRC2T8 NPxNnpZGo6lITuXO1ExHeq3Tmp3nGx12Fn+ywfuklcOz1IRwSUo8KdeokVCwF4x8NT6P u0GsIugurhC4vHXJUnGmvXx+sM8urqIB1jG62dqsZgKpjJduK1rPb0fUvheGJw5blM+c PJmbG6sLvLZEqQMjqGBhO4PMIh1QIA3ZvcOdXWBUZd3yNyHR0LdI6XAvWOPwDO5CayvM XxZw9WRegTSfPKVAPyaC+Qub7jUwaR1Y8gi1FrkyLXQIdQ793YJpUTmAYdmTsaX0+qrc HyNw== X-Gm-Message-State: AJIora/3zyeFx7FOyPV1+kO/Z6Cezw9SBBkSJFdKMkYDuoL6DPxCJenK lRN11mIbVYuG5hYTYYNFTcWroUrFlyM= X-Google-Smtp-Source: AGRyM1uDb0J6js9NObqAUahOkenQzpG5vG20LB/dteFEAfDAjendb2HPw0daMxDkvcQrWeXNR4k9Kw== X-Received: by 2002:a17:90a:e7c2:b0:1ef:8acb:5ff with SMTP id kb2-20020a17090ae7c200b001ef8acb05ffmr1544441pjb.146.1658455985717; Thu, 21 Jul 2022 19:13:05 -0700 (PDT) Original-Received: from dingbat (2001-44b8-31f2-bb00-842a-7361-87c7-2662.static.ipv6.internode.on.net. [2001:44b8:31f2:bb00:842a:7361:87c7:2662]) by smtp.gmail.com with ESMTPSA id lb14-20020a17090b4a4e00b001f1f5e812e9sm2189704pjb.20.2022.07.21.19.13.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jul 2022 19:13:05 -0700 (PDT) In-reply-to: <2dd9c74b-d822-bef2-8907-e8eedbac5eed@gmail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=theophilusx@gmail.com; helo=mail-pl1-x62c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:292399 Archived-At: Jim Porter writes: > 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... I use to use tramp a lot. However, these days, I only use it for ad hoc editing. What I found worked much better and took a lot less configuration was to use FUSE to mount a local ssh filesystem of the remote repository and then just edit it as if it was local. I would then just use an ssh session inside emacs to execute/run things. Having said that, since the growth in git/hg, the amount of remote editing I need to do has dropped significantly. This combined with the increased availability of various 'containers' means these days I'm much more likely to spin up a local development environment. This also has the huge advantage of allowing me to work off line or when moving around where I'm connected to many different networks (a scenario where remote access control can become a PITA). I do have the advantage of working on a GNU Emacs system and as all of the software I work on runs on GNU LInux, setting up a local development environment is straight-forward (i.e. have access to databases, web servers, compilers, etc).