From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: yyoncho Newsgroups: gmane.emacs.devel Subject: Re: tramp and executable-find Date: Sat, 20 Jun 2020 20:08:06 +0300 Message-ID: References: <871rm9u5hw.fsf@gmail.com> <87blldzntb.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004eaf6405a8870e70" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="67456"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 20 19:08:52 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 1jmgz6-000HSF-65 for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Jun 2020 19:08:52 +0200 Original-Received: from localhost ([::1]:55590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmgz5-0004jX-8P for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Jun 2020 13:08:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmgyb-0004KT-Lj for emacs-devel@gnu.org; Sat, 20 Jun 2020 13:08:21 -0400 Original-Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]:36267) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jmgyZ-0001nH-Fv for emacs-devel@gnu.org; Sat, 20 Jun 2020 13:08:21 -0400 Original-Received: by mail-lf1-x12a.google.com with SMTP id c21so7312677lfb.3 for ; Sat, 20 Jun 2020 10:08:19 -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; bh=AbxElt3xts01dZhdTHGr2dA0nyUF1ipGs3mOxbLrEJI=; b=DK9Q+0GB9zJQQNeCiORlWUcGBAcKcKQummUXPRMKzCe1fqu3EwTIfxbfaaLjxgx8rV rAqknxdwPH9V2cusihR4l8bloUfLhhVpexO/BdDHX45oatXfMvCxHhdVnmzgHWQTcoWI COQPuGKbgcj5qyohuPNfBprpfbsFKbIxfkEoB9vC7xQNDWLEjsR7oXzhSt1AOnNkqwwp nszhYV4aocNYwLxIJRsGoBUcIvel+DxqMN4qcyJR3S0ltdba7lMC/p1KqBNRy6eutBOf nzWvsQx4ZkEb/rxH3u98HCCyYETOBnmBAGuHcn3g/fKMsCBkHbUBWM710fr0woGCm8EJ EZRw== 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; bh=AbxElt3xts01dZhdTHGr2dA0nyUF1ipGs3mOxbLrEJI=; b=pv8EwHQqpYmqt0sZdsXc8E1y44NsuFqWhI3rpnJdjp9z7a/25QXkfcbVteeFZq59Es Zuu6ghKG/Ka+kFWZ6864dyiIzW+qiIpa7lpCHUxZJS2ZbbBV+LBoeWKGEwTwuX6wbAvo Ol2xZDlYJesWPrtXtfUdJhldP6Jd5kKXyAcTYY9nHPbtZlrpmtzLcCLmL3dakHW/JAyj zbXwrYDhNJ8RhLl4uY/uov1vkyA1MCwFKJVfyIF7z2QrPi49a09/1KtPksF8N9qAhHGo ryk3MSv/W0qgBV8ZX+QDAxNAcTrBS1PEp1Fwce7/8u5lpyDn1mMStcsVLkxJchlxROkf IYJQ== X-Gm-Message-State: AOAM531QVfIgeWme6qe0RZu72Zfa0mYqQurkwOflvVPXANLOokmHAkGv /1B2RW2DDqm/OAAMLqeATennDCyD42ygZL+s0jI= X-Google-Smtp-Source: ABdhPJw+PSV1JYXzW8LqhV1GXmm9qQ/R5/JwDsRSpVxNfdFiufpkPeSsivaBAFT8IkHQPJqMdNihMU8AZZuZ0vIJ3S0= X-Received: by 2002:a19:e346:: with SMTP id c6mr5128256lfk.177.1592672897641; Sat, 20 Jun 2020 10:08:17 -0700 (PDT) In-Reply-To: <87blldzntb.fsf@gmx.de> Received-SPF: pass client-ip=2a00:1450:4864:20::12a; envelope-from=yyoncho@gmail.com; helo=mail-lf1-x12a.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, HTML_MESSAGE=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:252451 Archived-At: --0000000000004eaf6405a8870e70 Content-Type: text/plain; charset="UTF-8" Hi Michael, Can you comment on remote flag mentioned by Philip as well? Here it is the docs for it: REMOTE is non-nil, search on the remote host indicated by `default-directory' instead. Thanks, Ivan On Sat, Jun 20, 2020 at 7:47 PM Michael Albinus wrote: > Ivan Yonchovski writes: > > > Hi Michael, > > Hi Ivan > > > As part of investigating > > https://github.com/emacs-lsp/lsp-mode/issues/1688 I noticed that > > executable-find does not return the binary when it is not on the remote > > PATH(or at least this is what I see) even if you specify the full path > > to the binary. Can you comment if this is the expected behaviour? > > `executable-find' is not designed to be supported by a file name handler > like Tramp. It will always check for binaries on the local host. > > > Thanks, > > Ivan > > Best regards, Michael. > --0000000000004eaf6405a8870e70 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Michael,

Can you comment on remote f= lag mentioned by Philip as well?=C2=A0

Here it is = the docs for it:

REMOTE is non-nil, search on the = remote host indicated by
`default-directory' instead.
=
Thanks,
Ivan

On Sat, Jun 20, 2020 at 7:47 PM = Michael Albinus <michael.albin= us@gmx.de> wrote:
Ivan Yonchovski <yyoncho@gmail.com> writes:

> Hi Michael,

Hi Ivan

> As part of investigating
> https://github.com/emacs-lsp/lsp-mode/issues/1= 688 I noticed that
> executable-find does not return the binary when it is not on the remot= e
> PATH(or at least this is what I see) even if you specify the full path=
> to the binary. Can you comment if this is the expected behaviour?

`executable-find' is not designed to be supported by a file name handle= r
like Tramp. It will always check for binaries on the local host.

> Thanks,
> Ivan

Best regards, Michael.
--0000000000004eaf6405a8870e70--