From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: [PATCH 0/7] Add =?utf-8?Q?=22guix-devel-=E2=80=A6=22?= commands. Date: Wed, 19 Aug 2015 23:47:10 +0300 Message-ID: <87bne32egh.fsf@gmail.com> References: <1437814197-6321-1-git-send-email-alezost@gmail.com> <87mvxowvs7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSAGP-0006oP-85 for guix-devel@gnu.org; Wed, 19 Aug 2015 16:47:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSAGK-0003NF-5d for guix-devel@gnu.org; Wed, 19 Aug 2015 16:47:13 -0400 In-Reply-To: <87mvxowvs7.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 18 Aug 2015 15:50:16 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Court=C3=A8s (2015-08-18 16:50 +0300) wrote: > Alex Kost skribis: > >> And finally, I'm afraid building guix package in a Geiser REPL may not >> be very useful because of >> (you have wait for the REPL command to be finished before continuing to >> edit .scm-file). > > Bummer, indeed. I wonder if that could be worked around by spawning a > new Guile server thread that would be used to build the package, and > opening a new Geiser REPL connected to that thread? Maybe too complex, > though. That's what I did for *Guix REPL*: it is a server by default, and there is *Guix Internal REPL* which connects to it (there is a commentary about it in "emacs/guix-backend.el"). But I don't think it should be done here: as a user I expect that the building will be performed in the current Geiser REPL, so it's up to me (as a user) to decide what repl it is. Also to avoid that limitation, a user can just run another Geiser REPL after the building begins, and can continue to edit a scheme file with the help of the current REPL, while the building will continue in the previous one. (I will mention this in the manual) --=20 Alex