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 ms9.migadu.com with LMTPS id GBPrLx5hH2QhWgAASxT56A (envelope-from ) for ; Sat, 25 Mar 2023 22:01:18 +0100 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 yAjhLx5hH2QlWgAAauVa8A (envelope-from ) for ; Sat, 25 Mar 2023 22:01:18 +0100 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 5407E270E6 for ; Sat, 25 Mar 2023 22:01:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pgB0d-0002kQ-EM; Sat, 25 Mar 2023 17:01:07 -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 1pgB0Y-0002fp-Tu for bug-guix@gnu.org; Sat, 25 Mar 2023 17:01:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pgB0Y-0001nB-Br for bug-guix@gnu.org; Sat, 25 Mar 2023 17:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pgB0Y-000555-4y for bug-guix@gnu.org; Sat, 25 Mar 2023 17:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55013: Guix-emacs doesn't work Resent-From: Ryan Prior Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 25 Mar 2023 21:01:02 +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: Ricardo Wurmus Cc: Giovanni Biscuolo , 55013@debbugs.gnu.org, Jan Nieuwenhuizen Received: via spool by 55013-submit@debbugs.gnu.org id=B55013.167977802919482 (code B ref 55013); Sat, 25 Mar 2023 21:01:02 +0000 Received: (at 55013) by debbugs.gnu.org; 25 Mar 2023 21:00:29 +0000 Received: from localhost ([127.0.0.1]:43575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgB00-000549-NJ for submit@debbugs.gnu.org; Sat, 25 Mar 2023 17:00:29 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:48637) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgAzy-00053v-M6 for 55013@debbugs.gnu.org; Sat, 25 Mar 2023 17:00:27 -0400 Date: Sat, 25 Mar 2023 21:00:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1679778020; x=1680037220; bh=N21UcsbzcuUl6ROmXBaVdxS5aoaMcIwXPqnd28sVd34=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=Daml/rOSZ064jX0aOeJiBYAPbkCeWxRadYAPKrc/j44yb3T02FBObg45/vdHy3G8k aZBAWKBHpvtgx0If8X+VMJFLihuB4IIbOFi+aCAEhoJqc6E+L9j4uOWgI1ikTP1CuV x0k6X2rxAJw1amx7X7i7ZZI7O4WoES4Sbd4PCZNWh0hIJarT/A1lqYyFHOBzpFpNEq jiAosgn/IILvdwVsp//APnr5ayIXHQqWLapyv1RlNLLdhsKhRy4LUKHKWZXiFWLhLh DbuHEPpBqHMmp9Tr7UkX/T4PFOKb+fSb8pRJ8jvHxkhJJPLQFxRl9NYyo5+vYjwEXo 8FGmR0TAhYLIw== Message-ID: In-Reply-To: <87jzzbjl2g.fsf@elephly.net> References: <87jzzbjl2g.fsf@elephly.net> Feedback-ID: 7396961:user:proton 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: Ryan Prior From: Ryan Prior 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679778078; a=rsa-sha256; cv=none; b=G+q6P4Nlyk/9LyfRwU9hNwTX3HLjic1cb7ioB+foIIqjUxBT311Hct5xpvdNVpUuBFa2Ot 6/W5FlgPGa2eREKKTm7213zBzUUaH7tdmn7TL5cIgSXQGNB0DcQqGi+UilVxcSOegzX1kR 3kT9a9sRy/+U6nkA6ehOnzzb5ECtvetove6GGAY5WD+iXlFZCtfAZj0+phryer8CbRU2Qi /hdfwyzHkEOahHG1VbXx2tBurwuT+apW3BVfu/DZ7dUxWyPG1lOk57uHJ88yhjBI5go/cE lkR51D6Mqln7H5SfjpmoRys6UQ6+6EiB6eYFdyS63+FQ9hoALWpcOvfTsP5Agw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b="Daml/rOS"; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679778078; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=N21UcsbzcuUl6ROmXBaVdxS5aoaMcIwXPqnd28sVd34=; b=GMpkPHh4VZZmy8I+6x65Llzo8JGq0J/C83pDGCjaoBxYMyVnDXBvtkXi/GwHo35jqe9/L/ neD1im/zejBJKH5+fDBZ8aoJsTTsQM2eNdBbti50Fyh6Fxn4NDP9u7svECLbdNFl5KZ05g ec1lFqoJsUsKkF4EXOssH5LOkuueyMIfJHKCMFyti8Ym4D2LM5WN+2bz2qJHeh88m2Y29k vgPEwMKa0puYirkl6tWyX0FdsxDh8WjF2reuLH/7YBKlprzmZvuqhPPqWR9RGcx6Bbf1fK OqTgGMZBMh70mMG9uj0wyxSGSDxKYtdKoWJI3OEAWptAr6Uy0R/48Zb/Jb334A== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b="Daml/rOS"; 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" X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -3.73 X-Spam-Score: -3.73 X-Migadu-Queue-Id: 5407E270E6 X-TUID: 8F7usgUtYiaQ ------- Original Message ------- On Monday, March 20th, 2023 at 7:09 PM, Ricardo Wurmus = wrote: >=20 >=20 > Hi, >=20 > this no longer seems to be a problem. Can you please confirm that this > issue can be closed now? I can confirm that the emacs-guix package is still broken. ## Steps to reproduce 1. launch Emacs in a container: $ guix shell -C --no-cwd --expose=3D/gnu --expose=3D/var --share=3D/tmp = -E DISPLAY emacs emacs-guix -- emacs 2. run M-x guix-installed-packages ### Expected result A list of installed packages should appear. ### Actual result In *Messages* buffer: > guix-geiser-eval: Error in evaluating guile expression: ice-9/boot-9.scm:= 1685:16: In procedure raise-exception: > Unbound variable: %max-returned-list-size ## My Guix version $ guix --version | grep guix guix (GNU Guix) 51f8a7aced70b7f79037bd99019dddaea07ced25 ## Discussion When I was working to create an Emacs Guix package (https://github.com/ryan= prior/emacs-guix-packaging) to support my own workflows, folks were critica= l of how I run Guix commands in the shell and parse the output instead of b= uilding on the Emacs Guix package and its Guile REPL approach. But in pract= ice, this package has never worked for me, I always get REPL errors. Since then, I have often discussed emacs-guix with other Emacs users in the= community and thus realized I'm far from the only one who's never once got= it to work. Today, despite the efforts of multiple engineers, it remains r= eproducibly broken. My inclination would be to remove entirely the dependency on Geiser and the= Guix REPL, opting instead to connect to a guix-ui service over a stable HT= TP API. The API endpoints would be documented and tested as part of the for= mal interface to Guix, and the Emacs package would become a client of that = interface. Whether you like my alternative or not, do most Guix maintainers have confi= dence in the current approach and think emacs-guix just needs a bugfix here= or there, or does anyone else get the impression that it's unsound and nee= ds a new approach? Ryan