From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id GO3ZJWsgSmdbAwEAe85BDQ:P1 (envelope-from ) for ; Fri, 29 Nov 2024 20:13:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id GO3ZJWsgSmdbAwEAe85BDQ (envelope-from ) for ; Fri, 29 Nov 2024 21:13:31 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=sebecA67; dkim=fail ("headers rsa verify failed") header.d=inventati.org header.s=stigmate header.b=QxWUUs4b; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" 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 8A6A082055 for ; Fri, 29 Nov 2024 21:13:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tH7MO-0003x6-OC; Fri, 29 Nov 2024 15:13:05 -0500 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 1tH7MN-0003wk-Ah for bug-guix@gnu.org; Fri, 29 Nov 2024 15:13:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tH7MN-0004sw-1N for bug-guix@gnu.org; Fri, 29 Nov 2024 15:13:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=5hBfLCQQPkzYc16X16c3WWZfY6PplpfUKxQ/kZ4gcco=; b=sebecA67YUeKqnoceU0IHHHDgdd1hVMP3mi2bPiGExeYBbPo9DG8Kc5hW7EMGj1X7M3rm8uKz3G6S3MRX0gT7wg8tJ9FmluYYxrgSEeQtPX20mXTjF5HfvNwpUGV7EXfbgZRIzm/HHTqX9E26S4bi4MqrZqTpkdf49wyLIOcc9RRTP4izegOvHFALQKosezAmmln7aHIOLj6ZJS9TFy7n8KuzzJngz/HoDsfnZpChBtwKRXHo0LFdZD9MUxRyb6LhcosUY6qcRFJeGr/LJGJJFR9geT8Hg/m4iIR7ntvTAfxU6/NDl79DKVdN79EYPEIbj+kVfH+FjYYfJlGP7LnEw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tH7ML-0006EW-UL for bug-guix@gnu.org; Fri, 29 Nov 2024 15:13:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#55013: Guix-emacs doesn't work Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 29 Nov 2024 20:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55013 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Suhail Singh Cc: rekado@elephly.net, g@xelera.eu, rprior@protonmail.com, 55013@debbugs.gnu.org, janneke@gnu.org Received: via spool by 55013-submit@debbugs.gnu.org id=B55013.173291114823906 (code B ref 55013); Fri, 29 Nov 2024 20:13:01 +0000 Received: (at 55013) by debbugs.gnu.org; 29 Nov 2024 20:12:28 +0000 Received: from localhost ([127.0.0.1]:44489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tH7Lo-0006DW-BH for submit@debbugs.gnu.org; Fri, 29 Nov 2024 15:12:28 -0500 Received: from latitanza.investici.org ([82.94.249.234]:32297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tH7Lm-0006DL-1D for 55013@debbugs.gnu.org; Fri, 29 Nov 2024 15:12:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1732911145; bh=5hBfLCQQPkzYc16X16c3WWZfY6PplpfUKxQ/kZ4gcco=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=QxWUUs4bfiRn1BYUJLxn8ISTR576Wt6iNZblrhyAE0ztiGJ/h0ngB69kO85Wk5WjG qJZIWFgp9wAe/Uuf+jh8x9lvaXVBJo96/xxQS/NPGxt0ewQ0Ygj1sid7GWxUgs6Pxn GEZIHvh/8XicM9Uy8RDuP2jkCa3+xhIPYCHNG+tg= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4Y0PVK0pc3zGp6H; Fri, 29 Nov 2024 20:12:25 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4Y0PVJ3csxzGp5Y; Fri, 29 Nov 2024 20:12:24 +0000 (UTC) In-Reply-To: <87h67qrrjm.fsf@gmail.com> (Suhail Singh's message of "Fri, 29 Nov 2024 10:25:01 -0500") References: <878qt2cokv.fsf@inventati.org> <87cyie9udn.fsf@inventati.org> <87plmersxf.fsf@gmail.com> <87h67qrrjm.fsf@gmail.com> User-Agent: mu4e 1.12.7; emacs 29.4 Date: Fri, 29 Nov 2024 21:12:24 +0100 Message-ID: <874j3p240n.fsf@inventati.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Cayetano Santos From: Cayetano Santos via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 1.96 X-Spam-Score: 1.96 X-Migadu-Queue-Id: 8A6A082055 X-Migadu-Scanner: mx12.migadu.com X-TUID: y17V+iasY7vr >ven. 29 nov. 2024 at 10:25, Suhail Singh wrote: > Suhail Singh writes: > >> #+begin_src example >> $> gx_shell bash-minimal coreutils-minimal emacs emacs-guix guix guile >> [env]$> emacs >> >> .... >> >> $> type gx_shell >> gx_shell is a function >> gx_shell () >> { >> if ob_shell_session_p; then >> local ps12=3D'|PS1|PS2'; >> else >> local ps12=3D''; >> fi; >> ps12=3D'|obsh_PS1|obsh_PS2'"${ps12}"; >> local preserve=3D'.*GTK.*|.*XDG.*|.*DISPLAY.*|TERM|INSIDE_EMACS'"$= {ps12}"; >> guix shell --pure -CPWN -E "${preserve}" "${@}" >> } >> #+end_src > > Apologies for missing the reference to undefined functions in the above. > For present purposes, gx_shell can be simplified as follows: > > #+begin_src example > $> type gx_shell > gx_shell is a function > gx_shell () > { > local preserve=3D'.*GTK.*|.*XDG.*|.*DISPLAY.*|TERM|INSIDE_EMACS'; > guix shell --pure -CPWN -E "${preserve}" "${@}" > } > #+end_src So this works: guix shell --pure -CPWN emacs emacs-guix guile with a =E2=80=98emacs -q -nw=E2=80=99 followed by a M-x guix-packages-by-na= me But this fails: guix shell --pure -CPWN emacs emacs-guix Guile is not propagated in the emacs-guix package definition, is this the problem ? -- Cayetano Santos