From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cDcENh7wlV/iJAAA0tVLHw (envelope-from ) for ; Sun, 25 Oct 2020 21:37:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 0MzCMR7wlV8tOgAAB5/wlQ (envelope-from ) for ; Sun, 25 Oct 2020 21:37:34 +0000 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 373DE9401BC for ; Sun, 25 Oct 2020 21:37:34 +0000 (UTC) Received: from localhost ([::1]:36054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWnhl-0003hX-4c for larch@yhetil.org; Sun, 25 Oct 2020 17:37:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWnhb-0003hN-Eu for guix-devel@gnu.org; Sun, 25 Oct 2020 17:37:23 -0400 Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]:43685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kWnhZ-0005X3-S6 for guix-devel@gnu.org; Sun, 25 Oct 2020 17:37:23 -0400 Received: by mail-qk1-x735.google.com with SMTP id q199so6655779qke.10 for ; Sun, 25 Oct 2020 14:37:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=fWdKOvi6kwgJ+pz0j4lZMdAaPt0KIHY76hFejSypSEo=; b=P2y5ju9BikwGx/stNMCH4/xmDfVqPM/V+s6yI/YqoNwbPa1w7pneMmvLaOwfcdV/3i owJGsw5fC67DfKnk6X+QtFHmKq4nFqPhKLNW2RNipmoyQOJzLw29NKcN1QaUhdJQrngN ZWMWJp7umP+TjoMqyI8rWOelAocbntEnLYn8uINcUfiUAH2CRfKnerCERpcGtXg1hPAX rNoXx2CKzP+phwvNG1Eo5qOU9KV3iOKim3ooYF/yFiMNyfTJ4CRzqxR0q+2wUmWBj+Cs LJg9d1cjT7QtZ5Q/kiiYMyW7qyh5PkfHiB5h8zV+3l+E7G27cxsV/5fI6bqB5GgRYojr qjjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=fWdKOvi6kwgJ+pz0j4lZMdAaPt0KIHY76hFejSypSEo=; b=gyc2DNI55F57qV9A39g5dBy1I+tSrNqoyFKUrCpoHxYAjm+8ohML8PuMOPT86wHRnu cGsYwxiHBKxdpZiaYAend5aR68ZtmgbX6gnp34Hv/vsXaWbvLVsdskFgzkdeHpJ3nfgs WtqmNI6j3MTEq+VhMIHA8zBZpcHITHSuaw4Gjd8VHXyQMh9aNDjFazXbh4w2YOOE1OXm OpngorFg1wZ/GnB+tAluYwOWS2CNa0EPS1VXDjSwA+NPNT0wW/ojafKLXnGl/WfopEPl AR3xBmQyo9T093BNvyhrfq2zwuHk8rVg/PmiAdaXvRxdCn/sHg+u5G4c0jl+Gf4LN7Ju VKow== X-Gm-Message-State: AOAM532oZJNviAQcAl6xMmOhw8NsS3AalST7xk+C9d4618LxGDQJp72X BAO+Kp7gZUUxWDWdeikHpyEEd9mb5Uab9w== X-Google-Smtp-Source: ABdhPJwhQuOnmp1KRsJZoqKPFIGTdQE5DOvcXyfd6B7VbY3zI2SwaxipNxuJyUESTNYFaLdWH7fKjg== X-Received: by 2002:ae9:e644:: with SMTP id x4mr12575353qkl.270.1603661840713; Sun, 25 Oct 2020 14:37:20 -0700 (PDT) Received: from hurd (dsl-10-129-233.b2b2c.ca. [72.10.129.233]) by smtp.gmail.com with ESMTPSA id w7sm5562588qte.83.2020.10.25.14.37.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Oct 2020 14:37:20 -0700 (PDT) From: Maxim Cournoyer To: Pierre Neidhardt Subject: Re: [PATCH] .dir-locals.el: Automatically set the GEISER-GUILE-LOAD-PATH variable. References: <87tuuixjno.fsf@gmail.com> <20201025184228.2460-1-maxim.cournoyer@gmail.com> <87v9ey16le.fsf@ambrevar.xyz> Date: Sun, 25 Oct 2020 17:37:18 -0400 In-Reply-To: <87v9ey16le.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Sun, 25 Oct 2020 19:52:13 +0100") Message-ID: <87imayxa0h.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::735; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x735.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=P2y5ju9B; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: BTtcEYqGzLwp Hello Pierre, Pierre Neidhardt writes: > Maxim Cournoyer writes: > >> + (clean-geiser-guile-load-path >> + (seq-remove (lambda (x) >> + (string-match "/guix" x)) >> + geiser-guile-load-path))) > > I suggest making "/guix" a let-bound variable and add a comment > explaining that channel maintainers need to change it. I'll try the suggestions that Miguel proposed in another reply in this thread, that should remove the need for this hard-coded value. > That said, why do we need to clean the load path? Can't we just leave > the other paths? What if the user actually wants the other elements? I haven't investigated why exactly, but Guile's would get confused when multiple Guixes were in geiser-guile-load-path and attempt to recompile everything. Maxim