From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Eglot and Tramp Date: Fri, 19 Jun 2020 14:23:08 +0100 Message-ID: References: <87y2oocltq.fsf@gmail.com> <87pn9v19e8.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="114486"; mail-complaints-to="usenet@ciao.gmane.io" Cc: felipelema@mortemale.org, Tobias Rittweiler To: Michael Albinus , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 19 15:24:18 2020 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 1jmH0E-000Tgz-GO for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Jun 2020 15:24:18 +0200 Original-Received: from localhost ([::1]:53518 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmH0D-00049U-IP for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Jun 2020 09:24:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmGzK-0002p3-Kq for emacs-devel@gnu.org; Fri, 19 Jun 2020 09:23:22 -0400 Original-Received: from mail-io1-xd29.google.com ([2607:f8b0:4864:20::d29]:45068) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jmGzI-00045I-U5 for emacs-devel@gnu.org; Fri, 19 Jun 2020 09:23:22 -0400 Original-Received: by mail-io1-xd29.google.com with SMTP id y5so11097362iob.12 for ; Fri, 19 Jun 2020 06:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=JOMWtXF+NOBRkGLMazi9N8qn0NmLZz6fVexuszWHwY0=; b=jugYfR4gfqGYg15642gNiizV9jjqSi96xFbId6+jlkJrfJ4ExogHpXPivxeOz0Ist+ IhHcQqIoyX0OHznZBbz4p+p7i4At1v4+1XGfRnQj0SxOLMCJ+GKEgFAaBHEhB7+kwwa1 E+JmqlC1piEVK0mcMKumdYQlKnK9mbHLKwYLkvjJnu6Ygn/ZLEJAr2WK+69I2oc0APGe /+k/XJhj2wIEA+Ssg/uCKsYawDEmvmdMxoT26MdEVT8gfgF+bZIJIfV8nyJItNf6UOpm Jw2w6cZCFsdXrcRytvHUumr6G8E/W5uw3y0jd9agM7tti1c6IH19D1bWNaRBiSxQGnaa kmzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=JOMWtXF+NOBRkGLMazi9N8qn0NmLZz6fVexuszWHwY0=; b=J/UpFou11b0VxGZNXOqr5XgDrgRNiKYkx+l7Is4RuETesrjQGgbteEWNLspxOd0xJA e67xOPhv3IWHJlLYqh1b4opi8Y9ykt/gX7H2t40OVCG+vOfHJByovPM3l4Q/usc8VkV8 vlKGO2/SyWydhjjWNoS2qHY8+rI+65Yiu8jZvN9MSvo4mVb/ADyqXjeBrc5GejVFsYC5 z5j0GR0aoKqRvmvuwgZDo6xWmSGVUXK0Lh1Yue/QE4MvAg0YvegT1MLnKQu4ramBtj0A xNqQhAVWJ1wUtJEkNej7LCEkE6S+THbEuexhwqp8jzdFsivm7ITOniujHpYwnkRxBeUc J6zg== X-Gm-Message-State: AOAM533kO3m15nYmaekVgpSrvwKnTb0QXtq8qwS6/mHa7KHp+gRRMbZ7 3RIznX1FrmB1hALp83o6C9JAjloFhf043wWV6cY= X-Google-Smtp-Source: ABdhPJw+thRdMGsF3MDrUeAzv7LRBvNEa3u/9Mr2a3+nRDAp9GJjVBm1xuU+Nc2qVCqCXORMgOLitQ1fOb0RQkur8as= X-Received: by 2002:a6b:6818:: with SMTP id d24mr4262102ioc.57.1592572999750; Fri, 19 Jun 2020 06:23:19 -0700 (PDT) In-Reply-To: <87pn9v19e8.fsf@gmx.de> Received-SPF: pass client-ip=2607:f8b0:4864:20::d29; envelope-from=joaotavora@gmail.com; helo=mail-io1-xd29.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:252348 Archived-At: Thanks you very much Michael for the fix to Tramp, Michael. I'm the discussion switching to emacs-devel. I've yet to test it out, but do you think it's possible to make this fix available in Emacs 27, given that the bug was found there? I'm afraid we won't be able to advertise Tramp support in Eglot soon unless you do this. This is of course assuming that this fix does fix Eglot's attempts to use Tramp (which I or someone else still has to confirm). Thanks, Jo=C3=A3o On Fri, Jun 19, 2020 at 2:18 PM Michael Albinus wr= ote: > > Jo=C3=A3o T=C3=A1vora writes: > > > Hi Michael, > > Hi Jo=C3=A3o, > > > [ Felipe, I don't subscribe to tramp-devel, so please next time CC me i= n > > these emails so that we try to fill in the blanks when there's somethin= g > > not quite clear ] > > Or write an Emacs bug report, if several packages are involved. > > > Thanks for looking into this. I fully understand avoiding the complex > > setup, so I've put together a small Elisp program that you can run from > > Emacs -Q. > > Thanks! It was very helpful. I've pushed a fix to master, which ought to > cure this. > > > There are two tests you can do within eglot-tramp.el: one using the > > usual "cat" program, the other one is more interesting and requires tha= t > > you download "clangd", an LSP server ('sudo apt install clangd' will > > probably do). > > > > But if you don't want to do that (download "clangd"), any program that > > spits out stdout and stderr should have the same effect. > > I've tried both test cases. The clangd variant was a little bit tricky, > because I had to use Fedora's snap installer, and to adapt my remote > $PATH. And the installed clangd didn't return proper messages to my > eyes, but it returned stdout and stderr - all what I need for testing :-) > > Could you pls check? > > > Jo=C3=A3o > > Best regards, Michael. --=20 Jo=C3=A3o T=C3=A1vora