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 eMnABwxssl/TLQAA0tVLHw (envelope-from ) for ; Mon, 16 Nov 2020 12:09: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 VGh2Awxssl+GJwAAbx9fmQ (envelope-from ) for ; Mon, 16 Nov 2020 12:09: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 82A309404CC for ; Mon, 16 Nov 2020 12:09:47 +0000 (UTC) Received: from localhost ([::1]:57882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kedKM-0000Bv-5w for larch@yhetil.org; Mon, 16 Nov 2020 07:09:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kedIC-00061J-M3 for guix-devel@gnu.org; Mon, 16 Nov 2020 07:07:32 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:42518) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kedIB-0005ad-3w; Mon, 16 Nov 2020 07:07:32 -0500 Received: by mail-wr1-x431.google.com with SMTP id l1so18404220wrb.9; Mon, 16 Nov 2020 04:07:30 -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=5EG/2cQgcDSIBMc58yUFs2YJUIhlNhPjCssvGOaB0bY=; b=PK03g5F6za+Y9bDRIOjnskQkfymfXs5d55Oq+3hHY5Duxy0DFb9SfxQdrAXAIFZ56v GcqRUm19JAgswEAv8qEfdCfgxXoPRDi9+4URYTE6NJALsiWD2ev4TcK8SX7ArGrN5H6n xmmQg6ntZxI0taEnrydRi7J9lsDedO1FqFPPazXhViI0MbBasSr73deN1Xs3qT8DybeA 5XX1XHE9GiFAWx/Cnu+/KwK3nX61ibI0o5DH1BdqiQhIY7ZEX2gOJVX9pv8xNe3RTaAX cE2Nkl8Xb6WHt7PX4SAayd2AFmJSZlf/9i3BwHxAjPSUdhiV5r9HiJ/QwyRn3AAOQeFj J99A== 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=5EG/2cQgcDSIBMc58yUFs2YJUIhlNhPjCssvGOaB0bY=; b=dIUluhC60BQvADh/QWE+wDGbBa/Ck9OA43Uwcbp01qLbEAV+M0GSjUxmS6cUi+2V8d CwHK2pkPaxatLrGQN4eK2sndHfLcOX0IXUgDLkYsAmOU48OXLBGUiSULD4ZXU/LFx5fW FH/G/tOjtLq16aEQ+7eTqKeArJccwsluI/NYkfS6rUpPnqTTENjpgvKqLyJRlWpehe0U L+2UZdT4Py6/QOel/FVYD1m0LLT6gQSTHHR+pgcM31g43qAjr/+WtEUxsFtrkNGestz+ c3ywRyfZ16cUg89/JfmWFRlkRSw+006IH38p5jf/TzKyQciq2eSRk/rcl9NDgQEq3lv5 VftQ== X-Gm-Message-State: AOAM532T6hNkHAWx4enpNubloxEpwkP4nBxFlVZ5E3kFKTA6c7RBt+ot So/jwnEJiYqiaQeNx/ry7xo= X-Google-Smtp-Source: ABdhPJynShQHG6VvrJjXj74sJF8XO6e4iygJ/N3ADJ932aCHsN0K28ap0sp/lwMPyNU2D7F/Pm174w== X-Received: by 2002:a5d:54c7:: with SMTP id x7mr19424633wrv.359.1605528449320; Mon, 16 Nov 2020 04:07:29 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id o17sm19455027wmd.34.2020.11.16.04.07.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 04:07:28 -0800 (PST) From: zimoun To: Pierre Neidhardt , Ludovic =?utf-8?Q?Court=C3=A8s?= , Ricardo Wurmus Subject: Re: Reviving Emacs-Guix In-Reply-To: <87blfxd5i8.fsf@ambrevar.xyz> References: <87ft5dzj2z.fsf@ambrevar.xyz> <87tuttci4z.fsf_-_@gnu.org> <87pn4g8eay.fsf@ambrevar.xyz> <87ft5bd8gz.fsf@elephly.net> <87pn4d1xpb.fsf@gnu.org> <87blfxd5i8.fsf@ambrevar.xyz> Date: Mon, 16 Nov 2020 13:01:58 +0100 Message-ID: <86wnylse6h.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::431; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x431.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=pass header.d=gmail.com header.s=20161025 header.b=PK03g5F6; 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: +3gb3cVnGWse Hi, On Mon, 16 Nov 2020 at 10:18, Pierre Neidhardt wrote: > Ludovic Court=C3=A8s writes: > >> It was a conscious design choice to have tight integration via the >> Scheme APIs rather than by wrapping the command-line interface, and I >> think it=E2=80=99s worked well. >> >> The development features (info "(emacs-guix) Development") also >> obviously benefit from that. > > Sadly it's the part that exposes one of the most obvious issues: > guix-devel-build-package-definition ("C-c . b") chokes Geiser and hangs > Emacs. First, please Pierre, could you stop to refer to `guix-devel-build-package-definition' when the correct one is `guix-build-package'; which needs some updates, I agree. Patch should come=E2=80=A6 Second, the issues with building packages using Emacs-Guix are about implementation details i.e., fix the use of the API. I am still missing why Geiser chokes when =E2=80=9Cguix repl=E2=80=9D in =E2=80=99M-x shell=E2= =80=99 do not since they are both inherited from `comint-mode'. It definitively looks like a misuse of the Guix=E2=80=99s API. IMHO. Last, I agree that the general design should use the Scheme=E2=80=99s API r= ather than wrapping the command-line interface. However, worse is better and maybe it could do the trick for some very specific case (build for instance). All the best, simon