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 +Pz/I+0rsV8sWQAA0tVLHw (envelope-from ) for ; Sun, 15 Nov 2020 13:23:57 +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 uHDBH+0rsV+GDwAAbx9fmQ (envelope-from ) for ; Sun, 15 Nov 2020 13:23:57 +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 45E5C940538 for ; Sun, 15 Nov 2020 13:23:57 +0000 (UTC) Received: from localhost ([::1]:50306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1keI0a-0002Aa-5f for larch@yhetil.org; Sun, 15 Nov 2020 08:23:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keI0C-0002AM-HR for guix-devel@gnu.org; Sun, 15 Nov 2020 08:23:32 -0500 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:35796) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1keI0A-0001nP-OV; Sun, 15 Nov 2020 08:23:32 -0500 Received: by mail-wr1-x432.google.com with SMTP id k2so15800795wrx.2; Sun, 15 Nov 2020 05:23:29 -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=lTWjbu70Mm6zxp5638B9E6Skwkasp/slTgPJU14zSlw=; b=sdA40B7AVXUfkue/B+fxnNH8nKnLG2a7FU4f1Z4dOCEFi+XazTF2ga4/3wkio8gMFL nqfY+PLiPEGvOZaEqBpfrmXUzRem1x79l3au1dcJOLVEgbEoup4FvVOuDzVae7+kDp+I en175iwRF2FGmu4SQ6XCVdZ7Vi6ECpeJV4c5+Q4bmVn6V+fU5skuvp73gwMI8WSmoi9/ UZLWJo+jfF+9KQ6DpgNLZEgd35dATkA4OhzSVeWHpUV7xKbWibViFkkV59ykEqQVHdYh oZe4OTmojFX61MLH0FsUP1ePuzt513AnMjlwooK/CUyozZeXoZXnaYlfuILW2UIm1Dcz CdtQ== 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=lTWjbu70Mm6zxp5638B9E6Skwkasp/slTgPJU14zSlw=; b=QlLzW6oWEHPB5kuXijDlhfNmUEQak42tddmF1E/DBKIUjgAOAAgyuuMHAhOAoJkhFK dU0lh5s+r+e4w423Ruq237Pf1CzHhoKhLHAnT8ML4rtHKvLeWeMQd0CB1h3sLLmAIzfq /0bUryFeexcgx78tzm9QGg4EeSLhZHnzqoj7jCd/rXtHN9HLdFNckYY6jm4cM0jO3d2u wh/CVAiVtv873jRKhE+RICW+GSJ+cyBd1pU7Mqgd1akvYOSwA8WcWx/fC8ej5BlOOMAy eK1rfc/jCrqFgCWWeG4u7QDhNxKBe54GOo+20vm6jFRa1i59Btnb1XCspvlluOJgbDvN xZzQ== X-Gm-Message-State: AOAM532zEGbUHDwU1Q7/Cdmh/dmeArvLD250sXF3BAh69+NOOxFMLeiP T7gjyPymyH1Pui+sTVuCGJ2J1Wioihnm/g== X-Google-Smtp-Source: ABdhPJypG5sXUJmqir76BS4YW9Fw6LqmEh/fMdWJsputUNi/uibq6uNfwsDBVPGXMa5JEkcFwXklqg== X-Received: by 2002:adf:f385:: with SMTP id m5mr14857486wro.296.1605446608732; Sun, 15 Nov 2020 05:23:28 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id z6sm15706508wmi.1.2020.11.15.05.23.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Nov 2020 05:23:28 -0800 (PST) From: zimoun To: Pierre Neidhardt , Ricardo Wurmus Subject: Re: Reviving Emacs-Guix In-Reply-To: <87h7pr5aul.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> <86pn4fye6l.fsf@gmail.com> <87zh3jvjfj.fsf@ambrevar.xyz> <87d00fd8cj.fsf@elephly.net> <86eekvy6cq.fsf@gmail.com> <87h7pr5aul.fsf@ambrevar.xyz> Date: Sun, 15 Nov 2020 14:15:39 +0100 Message-ID: <86a6vivk04.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::432; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x432.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: guix-devel@gnu.org, 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=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=sdA40B7A; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 0.09 X-TUID: hh4meuwR4JRb Hi Pierre, On Sun, 15 Nov 2020 at 08:37, Pierre Neidhardt wrote: > zimoun writes: > >> Could you try this and tell if Emacs hangs? On my laptop, the first >> attempts are not so worse. M-x ielm >> >> --8<---------------cut here---------------start------------->8--- >> *** Welcome to IELM *** Type (describe-mode) for help. >> ELISP> (require 'guix-repl) >> guix-repl >> ELISP> (guix-eval-in-repl ",use(guix scripts build)") >> nil >> ELISP> (guix-eval-in-repl "(guix-build \"nyxt\" \"--no-grafts\" \"--chec= k\")") >> nil >> --8<---------------cut here---------------end--------------->8--- > > Maybe a misunderstanding, but comint-mode is not the problem here, it > works very well indeed with big outputs. > Only Geiser chokes on it. I do not understand your point. =E2=80=99guix-eval-in-repl=E2=80=99 is a w= rapper around =E2=80=99geiser-repl--send=E2=80=99 so it uses Geiser, isn=E2=80=99t it? >From my understanding, the culprit of Emacs hanging when building seems more something wrong with the current implementation in Emacs-Guix than really Geiser. It reads: (guix-eval-in-repl (format (concat "(build-package* (package-by-id %d)" " #:use-substitutes? %s" " #:dry-run? %s)") where =E2=80=99build-packages*=E2=80=99 reads: --8<---------------cut here---------------start------------->8--- (define (build-package* package . build-options) "Build PACKAGE using BUILD-OPTIONS acceptable by 'set-build-options'. Show what and how will/would be built." (with-store store (run-with-store store (apply build-package package build-options)))) --8<---------------cut here---------------end--------------->8--- Especially if (guix-eval-in-repl "(guix-build \"nyxt\" \"--no-grafts\" \"--check\")") works fine. All the best, simon PS: What do you name Geiser?