From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Re: tramp and executable-find Date: Sat, 20 Jun 2020 19:00:22 +0200 Message-ID: References: <871rm9u5hw.fsf@gmail.com> <87blldzntb.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="39801"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ivan Yonchovski , Emacs developers To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 20 19:02:03 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 1jmgsV-000AE6-5U for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Jun 2020 19:02:03 +0200 Original-Received: from localhost ([::1]:53556 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmgsU-0001Qf-4H for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Jun 2020 13:02:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmgrB-0007C0-0l for emacs-devel@gnu.org; Sat, 20 Jun 2020 13:00:41 -0400 Original-Received: from mail-oo1-xc43.google.com ([2607:f8b0:4864:20::c43]:38118) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jmgr6-0000ww-9A for emacs-devel@gnu.org; Sat, 20 Jun 2020 13:00:40 -0400 Original-Received: by mail-oo1-xc43.google.com with SMTP id f2so2526523ooo.5 for ; Sat, 20 Jun 2020 10:00:34 -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=zv0qgmMLejKN/36q7ZPqpXtkuQLc2zvJwjgskzdu+0A=; b=gZntQTlavSwqOQRyQ5giSc8KAGAq+Lz2N3Q70qdkx41kSyCPvpmD5ZthCglzYY3b0b gWoImbzjwUx+LpcNswaGePsuSiQvsaSOYHwOG0UWLz67ZGFmzD2TQ27ctU2GpD08xt/y WpiYnDw0Mnn/FLFxMUFwEK88YSrc8KajqDfi0/O9HYyVL+XHYxGKEodfiusXvUHlgHVP JdJK4YN2uT+wjjr9VUEelY5wy9HAA0Rv/IDeS4BVWWKiq06t5G/xoKp6ksbpfg4E4+Fk Xc5/SkGY23b235ca1J0NiNsBZVcyhOcmiPWSjmybzSqeMVjcAVB7EYykRi4OzlXhk0vw w0cg== 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=zv0qgmMLejKN/36q7ZPqpXtkuQLc2zvJwjgskzdu+0A=; b=R7fwR4iiHFuQZv9KJDF0iZBWxJ9Q7Ml6/TX+vVMzokO243YTAp7tw0qDSmDIN7uvKb WPH8vZthS4rXEaGdvhkVJvCwBZ4yhU4r/4kzJsGhN6mydfSHfFzuOX7HSvGE/Q3HoV0o 0TgFvMGA+dOhPYw3am2Qvp82kdn3vfRbXqc/BX3d7risTSwU+vr4BkBMoVj6wgZJkFAu IeyjwTZseccZVrYiDw9AmrV3qUmp9fHwyf29AdNAEC0MjJ8RuXFfKMfUsXnIylFU+kMr w2p3yHPY9N4t8uq6mK4SPNvHnTlA+kdI7SGjDoaCnDHR+nMDl8n6wCgtaXM2fekFLX4o vMWg== X-Gm-Message-State: AOAM531wsdU7+mez6/cigQ09GE2dv/q4gyE1SOQ2WyXJMJEXjQBjbmuR EFvcMTWVtflaP6P3ApLjrVTNcgHjFDLh/ITjkFs= X-Google-Smtp-Source: ABdhPJzT9KlIUfq9RCycre3PBsnRXO/SPVovfjLPRRudQijRVBf0DuvXnaXoU8dXIkQrWd3D8fvhYA0NrKTr/ewwBx8= X-Received: by 2002:a4a:d1ac:: with SMTP id z12mr8102693oor.60.1592672433593; Sat, 20 Jun 2020 10:00:33 -0700 (PDT) In-Reply-To: <87blldzntb.fsf@gmx.de> Received-SPF: pass client-ip=2607:f8b0:4864:20::c43; envelope-from=p.stephani2@gmail.com; helo=mail-oo1-xc43.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: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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:252450 Archived-At: Am Sa., 20. Juni 2020 um 18:49 Uhr schrieb Michael Albinus : > > 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. > Starting with Emacs 27, it takes an optional REMOTE argument to check on the remote host. It doesn't have its own file name handler, though; it rather relies on the file name handler for `exec-path'.