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: Sun, 21 Jun 2020 11:41:13 +0300 Message-ID: References: <871rm9u5hw.fsf@gmail.com> <87blldzntb.fsf@gmx.de> <877dw1zl8y.fsf@gmx.de> <87366pzh1a.fsf@gmx.de> <87y2ogyjm0.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000063af9e05a8941722" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="110570"; 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 Sun Jun 21 10:41:59 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 1jmvY6-000Sfa-WE for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Jun 2020 10:41:59 +0200 Original-Received: from localhost ([::1]:44978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmvY6-0004p9-1h for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Jun 2020 04:41:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmvXc-00041w-4x for emacs-devel@gnu.org; Sun, 21 Jun 2020 04:41:28 -0400 Original-Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:44929) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jmvXa-00035L-HU for emacs-devel@gnu.org; Sun, 21 Jun 2020 04:41:27 -0400 Original-Received: by mail-lf1-x130.google.com with SMTP id w15so7880184lfe.11 for ; Sun, 21 Jun 2020 01:41:26 -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=hns09nkfUc2hzhpe12alk8MNruJsP9VnpXazdJBYLBk=; b=tQe9yVJ22TB/yej9juA/tm8zRpM5qOb+6TuVyIVwn09f88oU064yNelGXGd+g+amki VhKJUNt+j3WMlk6Lf7mD48wbnNDP/35WTGndowxTMENz148Elep0IX5DogBUcRXoWjA8 MFGu6N7AM0RBMGBE8kp6fzWPtZm2XP7hWvDp3x+SjMJkhK7n0RY0zdJZQagMMUu7MUyf QwvDvt6slFTrT77iI/fr471XlbeBspBPcRp433d2jU442GGifPFRwTnhSvf05KviM2lq M1ri8ppuOwQuC+N3n9yBg+2eFQDzAW37sHxOKQ3H1rWCTMVrVwrZYu1tYnbW9q+fzjAt 2xYQ== 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=hns09nkfUc2hzhpe12alk8MNruJsP9VnpXazdJBYLBk=; b=Xu5FkhZK4OaalFETP80IkkGm8CrLWbW94qRk2e1OnighjqyXqi/nkRqVlVK3k4RqYM lIPZv8d0saKQbYYciMszJ+axGbt5AEkpASORqVMeuXTRAcsmfXB6RoGm0SMRhe5Tsx0i BJeIitwiyQR4RtHA8OkzD0YCjRkvmXmZT/UnSBozjEmt3g4XFOF7McrTDlR9XK2LOoZd shEJM8sySJX4r2yFjhopL2qMp98yUFU2+a2gD3VL4S0Q8T3HXFBLo2kzfuuyCEDjkeqF a4MiYB2STr7q0lfqhHLPEJvKgVYhOlk/8G7jW+4NDrBOhDeAIpIDyuDD3uwCGd5J25I+ 1U+A== X-Gm-Message-State: AOAM531CUan+qa/7XcepXYPOclV+Qf3HcjaizKkTMutvI6K6leAP+kqY 2tMUpyxVTBPWFA4HGyBfQw5OrDXhmbGnCbcqkjI= X-Google-Smtp-Source: ABdhPJwIHC1/ZrbS0AFw2nQ9DJpOLw3Bx0wXkRDRDoiFcWjHQ22pyNl8W9tkshG2byFN87bkWSUD59YjVInsQE9aGe4= X-Received: by 2002:a05:6512:682:: with SMTP id t2mr6646780lfe.101.1592728884586; Sun, 21 Jun 2020 01:41:24 -0700 (PDT) In-Reply-To: <87y2ogyjm0.fsf@gmx.de> Received-SPF: pass client-ip=2a00:1450:4864:20::130; envelope-from=yyoncho@gmail.com; helo=mail-lf1-x130.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:252484 Archived-At: --00000000000063af9e05a8941722 Content-Type: text/plain; charset="UTF-8" Hi Michael, Thank you for clarification. By remote path, you mean tramp-remote-path, right? Thanks, Ivan On Sun, Jun 21, 2020 at 10:16 AM Michael Albinus wrote: > yyoncho writes: > > > Hi Michael, > > Hi Ivan, > > > As a side note, if you do search for /bin/ls executable-find will work > > although it is not prefixed with the remote identifier. This is what > > confused me initially. > > Everything you do with a COMMAND being an absolute file name will return > not specified results. It might work, or not. Don't trust on this. > > > This is a configuration setting for lsp-mode when the server is > > located on the remote server. Some users dont have admin access on the > > remote machine so they put the binary somewhere else so they have you > > use full path. > > They don't have to. They shall add that directory to the remote path, and > they can still use the program name. > > > Thanks, > > Ivan > > Best regards, Michael. > --00000000000063af9e05a8941722 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Michael,

Thank you for clarification= . By remote path, you mean tramp-remote-path, right?

Thanks,
Ivan

On Sun, Jun 21, 2020 at 10:16 AM Michael Alb= inus <michael.albinus@gmx.de> wrote:
yy= oncho <yyoncho@gm= ail.com> writes:

> Hi Michael,

Hi Ivan,

> As a side note, if you do search for /bin/ls executable-find will work=
> although it is not prefixed with the remote identifier. This is what > confused me initially.

Everything you do with a COMMAND being an absolute file name will return not specified results. It might work, or not. Don't trust on this.

> This is a configuration setting for lsp-mode when the server is
> located on the remote server. Some users dont have admin access on the=
> remote machine so they put the binary somewhere else so they have you<= br> > use full path.

They don't have to. They shall add that directory to the remote path, a= nd
they can still use the program name.

> Thanks,
> Ivan

Best regards, Michael.
--00000000000063af9e05a8941722--