From mboxrd@z Thu Jan 1 00:00:00 1970 From: myglc2 Subject: Re: GuixSD and TRAMP Date: Mon, 24 Oct 2016 15:24:59 -0400 Message-ID: <867f8xbldg.fsf@gmail.com> References: <87y41k2d4o.fsf@dustycloud.org> <87wph42bp3.fsf@dustycloud.org> <87wph2ybv0.fsf@gnu.org> <87r379anuq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bykqM-0000Wy-6c for help-guix@gnu.org; Mon, 24 Oct 2016 15:23:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bykqI-0002RA-Rx for help-guix@gnu.org; Mon, 24 Oct 2016 15:23:34 -0400 In-Reply-To: <87r379anuq.fsf@gmail.com> (Alex Kost's message of "Fri, 21 Oct 2016 15:27:41 +0300") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Alex Kost Cc: help-guix On 10/21/2016 at 15:27 Alex Kost writes: > Ludovic Court=C3=A8s (2016-10-20 23:00 +0200) wrote: > >> Christopher Allan Webber 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 > to > 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?