From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CMI/I4BjMmOkHwEAbAwnHQ (envelope-from ) for ; Tue, 27 Sep 2022 04:44:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cP5AI4BjMmNzFAEAauVa8A (envelope-from ) for ; Tue, 27 Sep 2022 04:44:16 +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 6AE48FB17 for ; Tue, 27 Sep 2022 04:44:16 +0200 (CEST) Received: from localhost ([::1]:35380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1od0Zz-0006yE-66 for larch@yhetil.org; Mon, 26 Sep 2022 22:44:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45170) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1od0Zo-0006y3-G1 for guix-devel@gnu.org; Mon, 26 Sep 2022 22:44:04 -0400 Received: from mail-qv1-xf29.google.com ([2607:f8b0:4864:20::f29]:34616) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1od0Zn-0005NP-1U for guix-devel@gnu.org; Mon, 26 Sep 2022 22:44:04 -0400 Received: by mail-qv1-xf29.google.com with SMTP id ml1so5502437qvb.1 for ; Mon, 26 Sep 2022 19:44:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date; bh=E+K9MD18nSwNvmzojoeGi8oLClYsiU9MXNG8HtpeOdw=; b=B020M2munhmYX2Yk3JMiAM8K5TGdD2jErQoR48bfWanxhsDgklJA6h4QrBHFVGTO1z C55BnKyoacGzO24ekM4WS3Y+o2oOt9oUzUKnhMvqxKLU3eAZhHccdDMjeKVDY/8iAC4c VRrZ1UuIeDkdM/8O5vNyVBVF9SRHXd95eyjX1sILn7cp7fts2y7Oh1xfUtMLRMp5RE4Q 01vjb0ynfgro+oSrKILnVmK0qLXRj5/8zEGCH8GjECxQ1yn0fyS68cPUiXCWo8xb1qvT Wpa1N4Rw53A5TJaRx2WferYrEy1vgZ73aCEfzjiiEbkhLMXbg3Uria3nxo6UKVaKKVC4 9qkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=E+K9MD18nSwNvmzojoeGi8oLClYsiU9MXNG8HtpeOdw=; b=3nznVJaNuBFjf+FQadykf99V+H98pA0vKIJXIr3kr9hjmtDGwJ1AG8ysyJc5HgHJt3 bqcVAsb1irmJOQAPmzWFeVcF/iZL8SDp1KBg9yz1mfGqtZDSAJhpmmc2ZkeWrj+ht4gu uMaTV8GR20ANFW+X881aa4O/nC5I2ikBbzcdgPQBO4hjbi7bxS2VonhW0g2GcNPc/N5Z R7Qa6FhT1CNbOYpHeq0ffqur9gxmcqL/Tl6RNap/4GtFLjECVhH+bCWjEWfQfB5nlNaM MiAdp00aSOh+/+b8biI+1GHQE1ohsxpGyyfVj/Yl7VMItixF7/RCUa8G73cKMgztEeZE gorg== X-Gm-Message-State: ACrzQf0WVHO9Y2+/o1sR6fR0z7jrsuZO44xQfGE0ieBQ7itlzp3iu5BT AaWxFHSFFlpIndZ/1o0BvVM= X-Google-Smtp-Source: AMsMyM7fpFofAU7s3LxQDv2BRqN2cj/+X5vAhpJmybxM/uMMt3zOXndb5j+CuuiB6jMsPxOB319jgw== X-Received: by 2002:a0c:b3c1:0:b0:4ac:bfe7:af9d with SMTP id b1-20020a0cb3c1000000b004acbfe7af9dmr19310288qvf.38.1664246642042; Mon, 26 Sep 2022 19:44:02 -0700 (PDT) Received: from hurd (dsl-10-132-99.b2b2c.ca. [72.10.132.99]) by smtp.gmail.com with ESMTPSA id bm1-20020a05620a198100b006bb9125363fsm153236qkb.121.2022.09.26.19.44.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 19:44:01 -0700 (PDT) From: Maxim Cournoyer To: Olivier Dion via "Development of GNU Guix and the GNU System distribution." Cc: "Thompson, David" , Olivier Dion Subject: Re: Emacs integration for 'guix shell' References: <87czbiugxn.fsf@laura> Date: Mon, 26 Sep 2022 22:44:00 -0400 In-Reply-To: <87czbiugxn.fsf@laura> (Olivier Dion via's message of "Mon, 26 Sep 2022 14:30:28 -0400") Message-ID: <87k05py1sf.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f29; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf29.google.com 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.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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664246656; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=E+K9MD18nSwNvmzojoeGi8oLClYsiU9MXNG8HtpeOdw=; b=jMqUwzhg8N2YJRNeGk2ZZZaYotR/2uNnM9O8GS1nw/ZFrSbCEjmRlN/Z6onpWzGRxoUW1K oDi3jRDKGunJ97R48C0Bf0T/8I3g5qEkxi8fuucQgXdnwTWIog/RQQMwfUCUjOsgQKN5RD b8hirH2iuGlzLi5NWHE/AIO/qfymb/OTaiJ+rSBEwNFVBEVFHxQCZJnb1DQnmESgZCClbq NQaDN6uissho8+uipKd734T6GI3M7UmzvT10T6zNyaj/mBW6fTYS4vDekmmZGqy/i3U+8O gEsQYwGLn1yRKG9HCyBJjb7ACDt/bB2HcGzVSdkRRYdTOY9JjZgDhLdc557fzg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664246656; a=rsa-sha256; cv=none; b=LDeg1dyjYrH1qV1pQXfeaDHowAZokO4XQaba+3+wmTENsoSp+/O895e7JTnyottSZwdCZF GQNa9MT60bFbF2qwyFshcchVOQubyHI3xs+3X7TWOiumc2xgGxEz6rzglRzPcAOXxbBPtC nuvVk5er8PmUrLhuTDAL7LtIvxL0vdc2eiDkg4aRgkbH6/j394L4MZIkM6SNv/1V5+iE12 8N+qXHv+6FoO6IOXIQVr3j0w8w9vT9UTlzdgfmmji+ZBPs/r8QME/g4Yk5XoUOUi1mPOVo vECkdnWCsXdoDW3aZ2rOo3WpvjV5rr/7rKv5yg2MrKBUc3ajqH0+G45jakAPUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=B020M2mu; 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: -2.34 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=B020M2mu; 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: 6AE48FB17 X-Spam-Score: -2.34 X-Migadu-Scanner: scn1.migadu.com X-TUID: 0ula3IdqcHfI Hi, Olivier Dion via "Development of GNU Guix and the GNU System distribution." writes: [...] > I have the following in my .dir-locals.el for my library libpatch. The > idea is the same, but without direnv: > > ((nil > . ((eval . > (let ((root (locate-dominating-file > default-directory ".dir-locals.el"))) > (when root > (let ((real-root (directory-file-name (expand-file-name root)))) > (setq-local geiser-guile-binary (concat real-root "/.geiser-guile")) > (setq-local projectile-project-compilation-cmd > (concat real-root "/.projectile-compile")) > (setq-local projectile-project-test-cmd > (concat real-root "/.projectile-test"))))))))) > It seems to me it'd help everyone if Geiser should handle the above by itself. It'd be cool to have the above functionality merged into Geiser itelf. Just saying; thank you for sharing! Maxim