From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: (Geiser or guile bug) Guix-daemon output is missing Date: Wed, 09 Sep 2015 22:11:22 +0200 Message-ID: <87bndbs68l.fsf@gnu.org> References: <87d1xvx6lb.fsf@gmail.com> <87lhcj44qc.fsf@gnu.org> <87613jsfnw.fsf@gmail.com> 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]:42414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZliK-0001vO-Uq for guix-devel@gnu.org; Wed, 09 Sep 2015 16:11:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZliH-0000As-Nl for guix-devel@gnu.org; Wed, 09 Sep 2015 16:11:28 -0400 In-Reply-To: <87613jsfnw.fsf@gmail.com> (Alex Kost's message of "Wed, 09 Sep 2015 19:47:47 +0300") 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: Alex Kost Cc: guix-devel@gnu.org Alex Kost skribis: > As a workaround for this issue it was proposed=C2=B9 to transform > =E2=80=98current-build-output-port=E2=80=99 into a procedure (I have chec= ked that it > solves the problem). What do you think about it? Perhaps to make sure > that the port will be always the same define it like this: > > (define current-build-output-port (memoize current-error-port)) > > Is it acceptable? No, =E2=80=98current-build-output-port=E2=80=99 should remain a SRFI-39 par= ameter so that callers can easily rebind it. However, perhaps the guix.el code could do: (current-build-output-port (current-error-port)) at startup; would that be doable? Thanks, Ludo=E2=80=99.