From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: guix package is slow Date: Sun, 01 Jul 2018 20:50:22 +0200 Message-ID: <87r2km4wpd.fsf@gmail.com> References: <8a4e9b4cb730094a84ef3ff29233c6dd@riseup.net> <87vaa0gutr.fsf@gmail.com> <87tvpjug0a.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZhQc-0006oh-Da for guix-devel@gnu.org; Sun, 01 Jul 2018 14:50:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fZhQZ-0004ry-A9 for guix-devel@gnu.org; Sun, 01 Jul 2018 14:50:30 -0400 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:55907) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fZhQZ-0004oj-1G for guix-devel@gnu.org; Sun, 01 Jul 2018 14:50:27 -0400 Received: by mail-wm0-x232.google.com with SMTP id v16-v6so6808551wmv.5 for ; Sun, 01 Jul 2018 11:50:26 -0700 (PDT) In-reply-to: <87tvpjug0a.fsf@gmail.com> 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: Maxim Cournoyer Cc: guix-devel --=-=-= Content-Type: text/plain 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. > 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. - Perform actions over multiple packages: browse home-page, show (reverse) deps, find-files (with helm-find-files -- awesome! :p). That's about it. It's much more basic than emacs-guix but convenient enough that I still find some use for it :) That said, this `helm-system-packages-guix.el` was mostly a proof of concept, it's far from being as neat and complete as emacs-guix. A proper Helm/Ivy interface for emacs-guix would be much better, maybe some day. -- Pierre Neidhardt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAls5Im8ACgkQm9z0l6S7 zH8zUQf6AydAOpjWbGeVadYmKkMS8eukJDoXaE3rvTeCEI6WgmVuEne2ciPcGYMa 0pZtI3CrxSfoTltWGKBTCAmL/Uoh4ZYcIs5NUHr0X6Ii3SJVNF9cJK7mmLxnTrMX zvjykbhn9kSbTP+Pq34OciqgSrj7zIdPuc9dfqptlwitxueAXWmHCGhN3SYkd9os 3wgB2G5u3+lWNXybwDIoLtowqluV1x+fDkd+DIj+lQT5OVMCQLSTVzsKwHLn1nvA AbCzU0tYAACRB7aWxtL8Jw6kKSSV3+i730K14GUilRLyDVP1XR/TnPCQ6CCgjM6v GMC8z4nPydFDFdyrACEgLqAyVn7ynQ== =aEtS -----END PGP SIGNATURE----- --=-=-=--