From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iFm8OX/2DGIsSgAAgWs5BA (envelope-from ) for ; Wed, 16 Feb 2022 14:05:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qPiaMn/2DGLYZAEAG6o9tA (envelope-from ) for ; Wed, 16 Feb 2022 14:05:03 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 82C7330BBE for ; Wed, 16 Feb 2022 14:05:03 +0100 (CET) Received: from localhost ([::1]:55502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKJzS-0001q4-Lw for larch@yhetil.org; Wed, 16 Feb 2022 08:05:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKHmK-0002dj-BX for guix-devel@gnu.org; Wed, 16 Feb 2022 05:43:20 -0500 Received: from [2a00:1450:4864:20::129] (port=34672 helo=mail-lf1-x129.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nKHmI-00086V-GB for guix-devel@gnu.org; Wed, 16 Feb 2022 05:43:19 -0500 Received: by mail-lf1-x129.google.com with SMTP id o2so3060511lfd.1 for ; Wed, 16 Feb 2022 02:43:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:references:mail-followup-to:date:in-reply-to :message-id:user-agent:mime-version; bh=i0bxvZTXO1M1Vn/H29TI3EKtpAmp3ncdfCLws9XimJU=; b=djFGG1U+d1aYcO5iUM/mj0yxCvlZA1gC1xoUogXWcvRiTv6PwdQWT/bm9CHBz4cItf gC+kXXniVSoVQNVmLOaEe7tVqQZjPTv/SQD67fOGlEWnbG/OmEgTFCoC+XDM/9W5NdbX DY90djv+7sOqtTAzhWVZwuDLrAkzELxH0qx3Z1IFa9KTiA6/VJhzDXnvktGowFM8CK5P lE/mkf2Ao3IdykedkpdKu2zzmFU2LnYjGs1KNMIvdo/W28kMuvhSDzyiLBxnbr/+9jom 86472nOgGgva1AjJ4fRxmJfjEIorjphFeOemTxBLZb6ocPLeelDn6YoGgBlPWaiWKYJO sPAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:references:mail-followup-to:date :in-reply-to:message-id:user-agent:mime-version; bh=i0bxvZTXO1M1Vn/H29TI3EKtpAmp3ncdfCLws9XimJU=; b=FXPM30urpP/PwxZ/5++avRPGZDXMezKbghWqfZxaQ1dptPXQEVr7FWv4zvtlXiQu1m VZyZdQhH3SXZmLpUPCxzeI4J30tv3lV12G8SkXKnSrBSsKiDDYnvgm3PuZnSE67aCNYH h+ilGp7WfCGNTSApUrBYT3bohULC6OXgzHTuq2P9nUlRxS/uYLvA+W+UPePZlnIThyBB WsNJqQAwJiSMtfKtdYGogNkWjNdrrTbvROVTfDYg8XWhBREisRv4MTPsE86ulIVfs/Ny bUXuc++FVgG1NUZhYGF5Of6mdjCeJvraR7mThQSSw1vI4lvOKONeDVRYc0B6gWAg0AO7 2M2g== X-Gm-Message-State: AOAM530icN4QtnHwBDW/rSgsp+fcjMbNCBR0A0I196lMlTzXsaKMgLDa cetID87k/ojv1SpYX9lUk6cIgvyjSoQ= X-Google-Smtp-Source: ABdhPJwuFf3hpqEsH7ncn1Y8PmvibN5lfbRvFWdozFZWSWUil33XVr4v9/9i7QmgOTJMPedCAoJLIw== X-Received: by 2002:a05:6512:287:b0:443:7f1d:e8ed with SMTP id j7-20020a056512028700b004437f1de8edmr1556806lfp.321.1645008195897; Wed, 16 Feb 2022 02:43:15 -0800 (PST) Received: from thinkmax (host-176-37-1-68.b025.la.net.ua. [176.37.1.68]) by smtp.gmail.com with ESMTPSA id t8sm4720840ljj.0.2022.02.16.02.43.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Feb 2022 02:43:15 -0800 (PST) From: Max Brieiev To: guix-devel@gnu.org Subject: Re: emacs tramp in remote guix References: <87h795s97x.fsf.ref@yahoo.com.br> <87h795s97x.fsf@yahoo.com.br> <87v8xkdcw7.fsf@kryshen.net> <87czjsmif0.fsf@jpoiret.xyz> <87leyghsh9.fsf@yahoo.com.br> <2cb48c660574adbc69bd14851306ab9adcd5b5a9.camel@telenet.be> <87a6evm6u4.fsf@jpoiret.xyz> Mail-Followup-To: guix-devel@gnu.org Date: Wed, 16 Feb 2022 12:43:14 +0200 In-Reply-To: <87a6evm6u4.fsf@jpoiret.xyz> (Josselin Poiret's message of "Sun, 13 Feb 2022 10:52:35 +0100") Message-ID: <87bkz7148t.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::129 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=max.brieiev@gmail.com; helo=mail-lf1-x129.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 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, PDS_HP_HELO_NORDNS=0.904, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 16 Feb 2022 08:04:33 -0500 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645016703; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=i0bxvZTXO1M1Vn/H29TI3EKtpAmp3ncdfCLws9XimJU=; b=DY14hXNkHnXvO1LDHiowSdmUeCi1OtACymRCUZ9+wBdGHx7I8gynhsL9ktaSm0CP7FqWhR 7Md9eznr31EFuk10MygMAkX0TdB2g+ozB+ng9W48O+3H/ZFaO/2Mqk9zRR2ecm8Ypo/LUY q7mN8+FqFiMXk/yYodDm0IhiRi3RbinFxrfM83+n0UIIBiHYckyBp1YpfIy2i+Q7jaIWuf Bpf7a4PA+zTzRQZEVRWsPnB8XfynKZfgguId5UOZhO8Ao/EzDIlBA2/GgMcZqlhZlDgMvT 9YHa5vhgouNbIA6XY0ZSItuc0Ti1zHdC8OVgAeyQMiuvHx0TdxFA00buZBCXOg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645016703; a=rsa-sha256; cv=none; b=Z9D1DXzxPR73hhuUCNvhv86u+QxjEbKfhHpKStjLyz/GhMFRp7LAJxkQQJ0tqGVj71JEJ2 BBDkdRI5rGhRWKlHf9dTE4jLF0urjToyTvxPOoHHiTs/u0cbirjdFwT5Ir4uLD92/xuLjQ fcc1zG9mUBFAwKeltMd0ILwVAuXpZZcKR2s1pcBlW0ycsWlmM2BT/a/lJDOgONXCJE5yD9 Eq+2tMchMdar6CEwQ4HF98JZMt/6rpO99nIEhnNspTZHN6KoDkfBrdfurid0wgB+VaWyBg AwpC82gChClK5rydAo90/RMvOtphwewmWW1ykkIs/3VjDxb1mst2nfuCGqCczw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=djFGG1U+; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=djFGG1U+; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 82C7330BBE X-Spam-Score: -4.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: zlHILD2UunQc Also in latest master, Emacs exposed new user options connection-local-profile-alist and connection-local-criteria-alist. On guix machine dired complained, when I used /sudo:: about missing ls command, and the following fixed it for me: (add-to-list 'connection-local-profile-alist '(tramp-guix-connection-local (tramp-remote-path tramp-own-remote-path))) (add-to-list 'connection-local-criteria-alist `((:application tramp :protocol "sudo" :machine ,(system-name)) tramp-guix-connection-local))