From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QDxvBQ/f8GQSXgAA9RJhRA:P1 (envelope-from ) for ; Thu, 31 Aug 2023 20:42:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QDxvBQ/f8GQSXgAA9RJhRA (envelope-from ) for ; Thu, 31 Aug 2023 20:42:23 +0200 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 895575D9C5 for ; Thu, 31 Aug 2023 20:42:22 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=spork.org header.s=dkim header.b=ZFAu8lvV; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693507342; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=EDchQAfEs+KfV7AIghmXln4db66SCnGp0oFIgaoIJ/0=; b=NLosu7h1g+Xjd9sHYE1EO4JQ3KOXlk1zIaz9rralzjXkc8njLE5uopgu2pQmL90fRh9paI ASh0kRIEU19WEeyMfZQ5DufZs05n5nc3jEnOIsiu1PVKCC0nl5mr4IdH4sRGfraNRz/CE6 /eQQ/QSF1swTO1cMoFNK8GNA2QTms4YqkchczQViN/4CT3PhPDvDhK0AFn0qUMHmLVX3Yk 7FcnXpKWVgS52XcUUlcrKLHT+OuKZx5KjRQqMPfrlmjpCtGsc9FwT3obdmRAbuWKO6E/yV gXzBZw4i3vf5nvnOC9zraYlhj8My4k5K+YJR+wc71n9hzVofdrdZ/HJbilWjLQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=spork.org header.s=dkim header.b=ZFAu8lvV; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693507342; a=rsa-sha256; cv=none; b=Ns9ZIdYTdR5BWXfcgBG3XyXYy3I9yU9BtCrC7ap6GszzN0CYf4byAI/dmayRHSqpAjhEV4 4e4ZBRbpXh4WnCa6iZd+J8zwPIn4zAEa8A+WiHFdzkciOz3/nIr2LizXSKS4dO01IfXZdo J59IrCZ+Gomvhu2cXL01eV1pbJYxfkOtxVg4CXFzQHan3+Eg2GS9LWj8BA4xRNY6tr4CLl rY4QmSpVCw1Jy8u92t6iM6eVozqi/ehH6EEUL9Wt9JNh9wOsylYQBhWo+dEUSsc9J3wKro oiJ76+ewU1cuuUOaDobC7zucRuSt1z0bCHWBEPnmStJxfRX/HZ645VhvuBNg6w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qbmcA-0001p1-Jp; Thu, 31 Aug 2023 14:41:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZrSj-0005Mb-Cg for guix-devel@gnu.org; Sat, 26 Aug 2023 07:28:17 -0400 Received: from coleridge.kublai.com ([166.84.7.167] helo=mail.spork.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZrSh-0006hh-85 for guix-devel@gnu.org; Sat, 26 Aug 2023 07:28:17 -0400 Received: from ditto (ool-18b8e9e7.dyn.optonline.net [24.184.233.231]) by mail.spork.org (Postfix) with ESMTPSA id DC8401F30; Sat, 26 Aug 2023 07:27:22 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=spork.org; s=dkim; t=1693049246; bh=j9GSdTjrFmy8UJuNY/TgbqeInqHq4Q1J5mzeoGU3sjI=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=ZFAu8lvV9pBrSdztgSI81T1OvbV8GmVNko+Fr5swzGzQVT2tBqZxPNCo7XbC9D77G uwCwZbstdJP6idbgcZm1YjQdIW/NmG9Ll2QK8sxaLYsYQEZEmjeegmC6+KZtQgqnH1 SgE/8Fy8K5DDCvP0GG7WEQQsPZhg4wN8AEd9mc4A= To: Csepp Cc: guix-devel@gnu.org Subject: Re: questionable advice about Geiser load path setting In-Reply-To: <86jztijvkd.fsf@riseup.net> (Csepp's message of "Sat, 26 Aug 2023 06:03:19 +0200") References: <86jztijvkd.fsf@riseup.net> Date: Sat, 26 Aug 2023 07:27:22 -0400 Message-ID: <87h6om9h7p.fsf@spork.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=166.84.7.167; envelope-from=bjc@spork.org; helo=mail.spork.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 31 Aug 2023 14:41:49 -0400 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: , Reply-to: brian From: brian via "Development of GNU Guix and the GNU System distribution." Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -4.65 X-Spam-Score: -4.65 X-Migadu-Queue-Id: 895575D9C5 X-TUID: NAGMp9yuEvXd Csepp writes: > The docs contain this recommended Emacs setting: > > @lisp > ;; @r{Assuming the Guix checkout is in ~/src/guix.} > (with-eval-after-load 'geiser-guile > (add-to-list 'geiser-guile-load-path "~/src/guix")) > @end lisp > > I haven't been using it for a while because I remember it causing > trouble whenever I was working on other Guile projects. I have been > running Emacs inside ./pre-inst-env instead, which seems to work just as > well, if not better. > > I'd like to make an amendment to the relevant docs, but would welcome > some info on why it was originally written this way, maybe there are use > cases I'm missing. I agree that it's bad advice, since it assumes the only reason to use Guile is to hack on Guix. I also think it's not necessary, since =E2=80=98.dir-locals.el=E2=80=99 in the Guix root should be taking care of = this for you already. I don't use the manual addition to =E2=80=98load-path=E2=80=99 you= quote above, and Geiser seems to work fine (within the bounds of Geiser's definition of =E2=80=9Cfine=E2=80=9D, anyway). The downside of using dir-locals is that Emacs yells quite loudly about unsafe variables being set. Another option may be direnv or bufenv? I haven't tried them myself, but have heard good things. -bjc