From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: Re: guix package is slow Date: Sun, 01 Jul 2018 15:33:29 -0400 Message-ID: <87h8livjhy.fsf@gmail.com> References: <8a4e9b4cb730094a84ef3ff29233c6dd@riseup.net> <87vaa0gutr.fsf@gmail.com> <87tvpjug0a.fsf@gmail.com> <87r2km4wpd.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZi6K-0007ja-4X for guix-devel@gnu.org; Sun, 01 Jul 2018 15:33:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fZi6G-00080m-7r for guix-devel@gnu.org; Sun, 01 Jul 2018 15:33:36 -0400 Received: from mail-it0-x22e.google.com ([2607:f8b0:4001:c0b::22e]:39769) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fZi6G-0007zs-1n for guix-devel@gnu.org; Sun, 01 Jul 2018 15:33:32 -0400 Received: by mail-it0-x22e.google.com with SMTP id p185-v6so9381493itp.4 for ; Sun, 01 Jul 2018 12:33:31 -0700 (PDT) In-Reply-To: <87r2km4wpd.fsf@gmail.com> (Pierre Neidhardt's message of "Sun, 01 Jul 2018 20:50:22 +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" To: Pierre Neidhardt Cc: guix-devel Hello Pierre! Pierre Neidhardt writes: > Maxim Cournoyer writes: > >> Could you elaborate on how you create and then use such cache? > > It's very dumb, really: it just drops the output of `guix package > --search "."` to a file :D > >> Is it useful when used inside Emacs only, say in a *shell* buffer? > > Well, you can use `recsel' or any text processing tool over it, but > beside that, not much I'm afraid. I see :) >> If so, what does it bring over using emacs-guix, which caches in memory >> the package definitions? > > In terms of caching, nothing, but the Helm interface has some > significant perks over emacs-guix: > > - Perform transactions (install/remove) over multiple packages. To be fair, I think you can already accomplish this using emacs-guix by separating with commas multiple package names :). > - Perform actions over multiple packages: browse home-page, show > (reverse) deps, find-files (with helm-find-files -- awesome! :p). This sounds interesting -- I guess I should read more about helm. Thank you for taking the time to explain! Maxim