unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Christopher Allan Webber <cwebber@dustycloud.org>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: GuixSD and TRAMP
Date: Thu, 20 Oct 2016 23:00:35 +0200	[thread overview]
Message-ID: <87wph2ybv0.fsf@gnu.org> (raw)
In-Reply-To: <87wph42bp3.fsf@dustycloud.org> (Christopher Allan Webber's message of "Wed, 19 Oct 2016 17:52:56 -0500")

Christopher Allan Webber <cwebber@dustycloud.org> skribis:

> Ho-ho, it turns out the snippet Ludo pasted me on IRC was the answer
> after all:
>
>   ;; Make sure we work on remote guixsd machines :)
>   ;; probably only helps if you start on a guixsd machine..!
>   (setq tramp-remote-path
>         (append tramp-remote-path
>                 '(tramp-own-remote-path)))

Good to know!

Should we patch Emacs or something so that it works by default?

IIRC Tramp invokes ‘getconf PATH’ on the remote machine, which is
totally useless on GuixSD and hardly fixable:

  $ getconf PATH
  /bin:/usr/bin

(For the record, it returns the value of libc’s ‘_PATH_DEFPATH’
constant, which doesn’t make much sense on non-FHS systems.)

Ludo’.

  reply	other threads:[~2016-10-20 21:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-19 22:21 GuixSD and TRAMP Christopher Allan Webber
2016-10-19 22:52 ` Christopher Allan Webber
2016-10-20 21:00   ` Ludovic Courtès [this message]
2016-10-20 22:55     ` Christopher Allan Webber
2016-10-21 12:27     ` Alex Kost
2016-10-24 19:24       ` myglc2
2016-10-25 14:51         ` Christopher Allan Webber
2016-10-25 16:45           ` Christopher Allan Webber
2016-10-25  8:16       ` Ludovic Courtès

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://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87wph2ybv0.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=cwebber@dustycloud.org \
    --cc=help-guix@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.
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).