unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: emacs-devel@gnu.org
Subject: Re: New functions remote-exec-path and remote-executable-find
Date: Mon, 18 Jun 2018 18:47:20 +0200	[thread overview]
Message-ID: <87lgbchwiv.fsf@gmx.de> (raw)
In-Reply-To: <8736xkcch1.fsf@gmail.com> (Robert Pluim's message of "Mon, 18 Jun 2018 17:59:22 +0200")

Robert Pluim <rpluim@gmail.com> writes:

Hi Robert,,
>
>> these days I'm working on bug#31704. The point is, that for searching of
>> programs, always `exec-path' (a list of local directories) is taken,
>> even if the shell runs on a remote host. Therefore, I propose a new
>> function `remote-exec-path'. In case of a remote `default-directory',
>> the function returns a list of directories which belong to that
>> host. Implemented via file name handlers. For a local
>> `default-directory', `exec-path' is returned.
>
> Hmm, is this not what connection-local variables are for?

Usually yes. But we cannot change `exec-path' to another
connection-local value. If you are visiting a remote buffer, you still
want to call local programs, finding their absolute file name on your
local host.

> Robert

Best regards, Michael.



  reply	other threads:[~2018-06-18 16:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-18 15:16 New functions remote-exec-path and remote-executable-find Michael Albinus
2018-06-18 15:59 ` Robert Pluim
2018-06-18 16:47   ` Michael Albinus [this message]
2018-06-19  1:19 ` Stefan Monnier
2018-06-19  8:16   ` Michael Albinus
2018-06-19 12:52     ` Michael Albinus
2018-07-01 17:27 ` Philipp Stephani
2018-07-01 17:41   ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lgbchwiv.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).