From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MPh3EsFSOGMNFgEAbAwnHQ (envelope-from ) for ; Sat, 01 Oct 2022 16:46:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sGJjEcFSOGMUNQEA9RJhRA (envelope-from ) for ; Sat, 01 Oct 2022 16:46:25 +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 E12CA13AF3 for ; Sat, 1 Oct 2022 16:46:24 +0200 (CEST) Received: from localhost ([::1]:33870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oedl1-00065Q-Dd for larch@yhetil.org; Sat, 01 Oct 2022 10:46:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeddI-0006Fx-Ah for guix-devel@gnu.org; Sat, 01 Oct 2022 10:38:24 -0400 Received: from mout02.posteo.de ([185.67.36.66]:40915) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeddF-0007zw-Pe for guix-devel@gnu.org; Sat, 01 Oct 2022 10:38:23 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 36515240105 for ; Sat, 1 Oct 2022 16:38:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1664635099; bh=ABW71bWyzICyBqtnSxpxWlFCkhQoLGsUiPfgcWJyp0A=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=qDWk5B4i0Z9V8wnKZyu3kiKONbMpqxzXTIG4SZVrNrUjzt7M1+L116hNLa6UwgeM8 w52MGiuDI3M8g/9gHiRtL0dl+cukpB75K16ws3tOPrTgnEGw5sdjyxh35qe/Mbo+Cn EMEMwQRARn1lCGV8UqEEww/WHrJKmm6Og8pXLen6VelhxYqJcVt2QR4wAVmvNZMpKT HnWwKT/aeLw1haV/t2AHb1CNUi1Smhjewni2InMgmI7qrScxjjFcxn9jb8kNehmxnx 58mDrf5kFzHxxBE7p7ecmJunUMN57kaHgyj3EiMg+DfsLOb0jemTFk2gQ/MiJNPX0a ddJg3wSk7m2wg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MfqTQ3VT6z9rxD; Sat, 1 Oct 2022 16:38:18 +0200 (CEST) From: Philip Kaludercic To: "Thompson, David" Cc: guix-devel Subject: Re: Emacs integration for 'guix shell' In-Reply-To: (David Thompson's message of "Sat, 1 Oct 2022 07:58:37 -0400") References: <875yh4x89y.fsf@posteo.net> Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB Date: Sat, 01 Oct 2022 14:38:16 +0000 Message-ID: <871qrry5gn.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664635585; 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:autocrypt:autocrypt; bh=z5nMAKwYRum7X7yIt7TPctEQSqcO7sU8PlBq+NBcWBI=; b=pQ+QxFIauU9/5xKUsm1DHX4TkchhIOoCNlHg+CqAcWohaDQ0/3US+RehAjX6VnUKx7i+cJ Vi4NUOjAfdSUKH9ZXv3m2LVzp2rCgq/GQoLVUkSI8f8+ZhyjgTkAebhco7BG8Od58ZjyEQ X9Kl39o5OHONeds17iUm4uTVFX7R/KTNob8Me6cmCrNQk++0TN86LpaO9+Ps0pOj75dWfm oi3OdvmvBhKX79P/HwxCpjzz4E/UtFlykY5C8gdg2BWhsJJpAdLtD6FDBtu9PtVPpTp60m DfeTqwZPD/W/tK2i6YqJoSUxAjB7Uc6lIJ5hS308hzNNbOGlxN2wEPP2kPOKSg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664635585; a=rsa-sha256; cv=none; b=q/FcOhXri78F9mKcwuwHD87J6TwshvY2eDawxpvOhr0fToogj8S7otJnuhD9uvEp/OMcXt nyysM2B7Qk9ORfXOpQUYpy+/Q+cjnL1c1oWp34DV2Ls6ku4zsF9qmT0WNoBO5qdlckIWt6 J+q7yQ0CRWj2/jors0NOlYqlN1RciQSfB+tzvjjIwfsMZ9zcSBkv7lRFBuXoOVALe6osHq G6WD0Yjcq8wLKnPJRstK7C09FcFS2TeF0eYGTT1Q/h1KjTvvYiJsJHFvOUgYxPvgwD2l5L /O+0zUSZbNfPbCcnGPds89b/yo0k6DpH2O5sEKBR0uyJGLxwYpE2PDJRYDQc9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=qDWk5B4i; dmarc=pass (policy=none) header.from=posteo.net; 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.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=qDWk5B4i; dmarc=pass (policy=none) header.from=posteo.net; 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: E12CA13AF3 X-Spam-Score: -4.04 X-Migadu-Scanner: scn1.migadu.com X-TUID: GQsXfgFq8HdV "Thompson, David" writes: > Hi Philip, > > On Sat, Oct 1, 2022 at 4:22 AM Philip Kaludercic wrote: > >> I haven't used direnv, but how does it compare to buffer-env? I worked >> on the Guix integration a few months ago and it has been working really >> well for me. > > Oh, I didn't realize buffer-env had Guix integration. My little > project may be completely unnecessary, then. When I looked at it I > noticed that it still used .envrc files and wasn't fully compatible > with direnv so it didn't seem as good compared to something that just > directly invoked 'guix shell'. Will buffer-env automatically invoke > 'guix shell' without the presence of a .envrc file? Yes, you configure what file it should use to collect modified environment variables (called `buffer-env-script-name'), and then depending on the file name it will run a command. E.g. if you want to use manifest.scm files and a manifest.scm file is found, it will run guix shell -D -f \"path/to/mainfest.scm\" -- env -0 > And does it > integrate with project.el? No, instead it just looks for the guix.scm or manifest.scm file in a "dominating directory" (the current working directory or anything above). Project.el integration would be trivial to add though. > I guess I can answer these myself by > trying it out. If it does both of these things then I can happily > switch over to it. > > Thanks for the pointer! I wrote about it in some more detail here: https://amodernist.com/texts/emacs-guix.html, but the post didn't attract much attention. > - Dave