From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8KTFGOwksF8BYAAA0tVLHw (envelope-from ) for ; Sat, 14 Nov 2020 18:41:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CKuIFOwksF+LJQAAbx9fmQ (envelope-from ) for ; Sat, 14 Nov 2020 18:41:48 +0000 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 132319405D1 for ; Sat, 14 Nov 2020 18:41:47 +0000 (UTC) Received: from localhost ([::1]:39304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ke0Uc-0003rC-Sl for larch@yhetil.org; Sat, 14 Nov 2020 13:41:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ke0UR-0003qy-LS for guix-devel@gnu.org; Sat, 14 Nov 2020 13:41:35 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:41173) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ke0UP-00074j-K3; Sat, 14 Nov 2020 13:41:35 -0500 Received: by mail-wr1-x435.google.com with SMTP id 23so13947067wrc.8; Sat, 14 Nov 2020 10:41:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=F0iV1xlpHcRaLRUXbc9aFKkV7E+4WcDo0jEgxo71jr0=; b=hyo42LYCC2RGr1fahUOfcii8dCO0ggYRWXc9NS+HrvB9a5XVDmBLxQoy9OF5SjOEEO hdDC1/vzGZdQkiPnLkM3Rq6BQp+LMxQ7xwEkVhpN4L0A0Yy3MQ6WQ9xWu/DnWL/vsTWB tnL+RSQpKAbHZTL2WyJCExJbdMXor53eGFSCU9FlbfwaAwO4JaOuOYJF7xeVCAY+GU9n m0NHEHgW4zurWF4OETDYh23Gp6MUXWnF32S5n3QePVK95GPvhxUV/FBOa7vyHRh7RtQ8 cfH5N753RB6HefqipW/U9j6SyD/gdiRXe0k9/B5Fjnm4WxpFcywi+H7VCVT75uqd+3d5 9OTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=F0iV1xlpHcRaLRUXbc9aFKkV7E+4WcDo0jEgxo71jr0=; b=d5Tpx2elkzhytVIncXKkLsOsVg1z2Nt9yEIvlLXxvBKRA68o9crkhiZ8fXVfIOWkzu zY2jhjGtuIdQI1BTkNlOhGsZq/oNOKCjNSeLTk7avyU/w9pzObJM9R9t0SsfHj3d64y0 XfFHZIPbR+eupoGhVxdf1Dbz5PL/xAWhbY6pZ2qN7s8EPLPoGpSDhbFolEbYr1+8lwW3 SF5J+zzF8G16bFURVea+JXYJCt89DZ9/owDguqMqnknNU33MGQvW8nadKxfKOgUCojnD 54sPJ/D68nl0yEinmQ0qh/rUioGzmhCRSJUf/+Zmx+80BzxlkhNVTlYD0CNMQh0Q6KiQ qyNA== X-Gm-Message-State: AOAM531BCrOZ+HLQccFZ+pABOzXbv6epqXpTNzNQPFvdym1Qr3M5OLN7 eaLFKfzy4FbgtTEpZFvaMG0= X-Google-Smtp-Source: ABdhPJwkYA0PSXMo1cCQQF9ql5FjOGisAQdaSLE7RhEuW2VFVhmQnJA1NDesQIz1kxkYyCceLJBDuw== X-Received: by 2002:adf:e9c9:: with SMTP id l9mr11246131wrn.124.1605379289513; Sat, 14 Nov 2020 10:41:29 -0800 (PST) Received: from lili ([88.126.110.68]) by smtp.gmail.com with ESMTPSA id t17sm14128696wmi.3.2020.11.14.10.41.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Nov 2020 10:41:28 -0800 (PST) From: zimoun To: Pierre Neidhardt , Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Reviving Emacs-Guix In-Reply-To: <87h7prx2ut.fsf@ambrevar.xyz> References: <87ft5dzj2z.fsf@ambrevar.xyz> <87tuttci4z.fsf_-_@gnu.org> <87pn4g8eay.fsf@ambrevar.xyz> <867dqoyu34.fsf@tournier.info> <875z68x73f.fsf@ambrevar.xyz> <86sg9byj07.fsf@gmail.com> <87h7prx2ut.fsf@ambrevar.xyz> Date: Sat, 14 Nov 2020 19:40:50 +0100 Message-ID: <86pn4fye6l.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x435.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Development of GNU Guix and the GNU System distribution , Ryan Prior Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=hyo42LYC; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: eIi/QP966ZBU Hi Pierre, I do not understand your arguments. Even re-reading all the thread. On one hand you are saying that Geiser is the issue of Emacs-Guix. You raise issue with build (which =E2=80=99guix-popup=E2=80=99 does not do). A= nd issues about Geiser proper, compared to SLY or SLIME, and Geiser allows to work interactively (*Guix REPL*). On the other hand, you say that =C2=AB pipe to =E2=80=9Cguix repl=E2=80=9D = =C2=BB would not tackle the issues you raise about interactive-ness. > To answer all your points: `guix repl` woud only be used for queries, > not for transactions. AFAIU, guix-popup already does that. The annoyance that popups time to time are not related to Geiser but related the low-maintenance mode. IMHO. > For the latter, sending shell crafted commands have worked well for me. > They can be sent to an M-x shell, Vterm or Eshell buffer. > > Example: the user wants to build Emacs? > Make a dedicated "M-x shell" buffer and send "guix build emacs" there. Euh? You can do the same with anything. Simply use something else. I do not understand. >> I do not understand your point. You are mixing 2 topics: >> >> - Emacs front-end for Guix >> - Scheme mode for Emacs > > I don't want to mix the 2, emacs-guix does. > > I'm suggesting precisely this: don't mix up the Schemer environment with > emacs-guix because of the load of trouble it brings in. > >> and then applying kind of transitivity: Geiser is poor (compared to >> SLIME or SLY) so it cannot be used for Guix at all. Applying the same >> trick: the number of packages in Guix is poor (compared to Debian or >> Nix) so Guix cannot be used at all. > > This is not what I'm saying ;) What are the issues of Geiser that are blocking in guix-popup? >> For example, persistence between 2 >> calls. > > emacs-guix never relies on persistence if I'm not mistaken. M-x guix-switch-to-repl > My suggestion indeed lacks persistence, but at least it works for now > until we figure out something better. Now you convinced me that Emacs-Guix needs love. Well the =E2=80=9Cit work= s=E2=80=9D in =C2=AB at least it works for now =C2=BB is meaningless for me so instead I = am going to report what Emacs-Guix fails and what I would like to have. It will be more fruitful. ;-) >> And solving that is somehow inheriting from =E2=80=99comint-mode=E2=80= =99 and so >> more less rewrite =E2=80=99geiser-repl.el=E2=80=99; but Guix specific on= ly. Maybe I am >> missing the obvious. > > Sorry I didn't get this part. You are taking the part that more or less works in Emacs-Guix and want to replace it. And the other part which is more broken, you remove it. >> Maybe =C2=ABpipe to =E2=80=9Cguix repl=E2=80=9D=C2=BB could simplify wha= t =E2=80=9Cguix-popup=E2=80=9D does. >> Even, I am not convinced. > > Not just that, but listing packages, package details, output listing, > profile listing, generation listing, etc. I do not know which version of Emacs-Guix you are using but all that is already available. For example, M-x guix-popup p L bro RET C-s ny RET RET M-x guix-popup p N yxt$ RET M-x guix-popup P a M-x guix-popop P a M-x guix-popop P l 2 RET etc. And it works! There is still room of improvements, though. :-) And others are broken, for instance: M-x guix-popup c =20=20=20 > Try it out in Nyxt, you'll see for yourself :) You know that I am trying Nyxt time to time. :-) However, I am not convinced that on your side you are trying Emacs-Guix to see for yourself. ;-) >> Today, the real issue with Emacs-Guix is not Geiser, at all. > > Emacs-Guix can't install a package a package that needs to be built > because of Geiser. So yes, Geiser is the issue. The dirty-fix in the kind of =E2=80=9Cguix repl=E2=80=9D fashion is easy: r= un =E2=80=9C(guix-build args)=E2=80=9D and expose the output in a specific buf= fer. Whatever. Thank you for sharing your views. Now I am convinced that Emacs-Guix needs love. :-) Cheers, simon