From: myglc2 <myglc2@gmail.com>
To: Alex Kost <alezost@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: GuixSD and TRAMP
Date: Mon, 24 Oct 2016 15:24:59 -0400 [thread overview]
Message-ID: <867f8xbldg.fsf@gmail.com> (raw)
In-Reply-To: <87r379anuq.fsf@gmail.com> (Alex Kost's message of "Fri, 21 Oct 2016 15:27:41 +0300")
On 10/21/2016 at 15:27 Alex Kost writes:
> Ludovic Courtès (2016-10-20 23:00 +0200) wrote:
>
>> 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)))
>
> I also add 'tramp-own-remote-path' to tramp-remote-path in my emacs
> config; as well as Ricardo and David.
>
>> Good to know!
>>
>> Should we patch Emacs or something so that it works by default?
>
> Just to mention, a year ago David and I (and probably Ricardo) also
> agreed that it would be good to patch our Emacs for this. It's just
> that no one have sent such a patch since then :-)
>
> The conversation was happening from
> <https://gnunet.org/bot/log/guix/2015-10-24#T788306> to
> <https://gnunet.org/bot/log/guix/2015-10-24#T788410>
In the interest of stating problems next to the fix, this fixes the
error message ...
"Couldn't find a proper `ls' command"
... when tramping _in_ to GuixSD from another GuixSD machine.
Does it work when connecting from Guix on a Foreign distro?
Regarding the comment ";; probably only helps if you start on a guixsd
machine..!", I find that, if I apply this code after the initial attempt
to tramp in from a foreign distro fails, it rescues the tramp session.
So I wonder, can this be conditioned to run later in the tramp "scheme
of things" in order to provide a generic fix for tramping into GuixSD
from any distro?
next prev parent reply other threads:[~2016-10-24 19:23 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
2016-10-20 22:55 ` Christopher Allan Webber
2016-10-21 12:27 ` Alex Kost
2016-10-24 19:24 ` myglc2 [this message]
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=867f8xbldg.fsf@gmail.com \
--to=myglc2@gmail.com \
--cc=alezost@gmail.com \
--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).