From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Commit 958dd3ce68 will break emacs interface after "guix pull" Date: Sun, 08 May 2016 18:04:18 +0200 Message-ID: <87posw5yf1.fsf@gnu.org> References: <87d1p1fq4s.fsf@gnu.org> <87y47osvl0.fsf@gmail.com> <87bn4j79t7.fsf@gnu.org> <87k2j7m4bm.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]:43327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azRC2-0005Rk-Nj for guix-devel@gnu.org; Sun, 08 May 2016 12:04:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azRBw-0000jk-LY for guix-devel@gnu.org; Sun, 08 May 2016 12:04:29 -0400 In-Reply-To: <87k2j7m4bm.fsf@gmail.com> (Alex Kost's message of "Fri, 06 May 2016 21:25:33 +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" To: Alex Kost Cc: guix-devel@gnu.org Alex Kost skribis: > Ludovic Court=C3=A8s (2016-05-06 13:36 +0300) wrote: [...] >>> So I think it's the time to update guix-devel package. Is it OK to do >>> it now? >> >> Yes, we could do that, but the problem remains on foreign distros >> though. > > Not really: on foreign distros the recommended way (it's probably the > only way except using git checkout) to use emacs interface is to install > guix into a user profile, so once we update guix-devel snapshot, it can > be updated by a user, and this breakage will be fixed. At any rate, I=E2=80=99ll probably update it very soon. >> What about simply #:re-export (memoize) in (guix utils) for now? > > Oh, indeed, this is a good workaround, thanks! OK for the attached > patch or should I add some comment there? [...] > --- a/guix/utils.scm > +++ b/guix/utils.scm > @@ -44,6 +44,7 @@ > #:use-module (ice-9 format) > #:use-module ((ice-9 iconv) #:select (bytevector->string)) > #:use-module (system foreign) > + #:re-export (memoize) Just add a comment there, like =E2=80=9Cfor backwards compatibility=E2=80= =9D. Thank you! Ludo=E2=80=99.