From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Louis Subject: Re: guix edit mutt -- with new option, and dependency, how I got it working Date: Thu, 10 Mar 2016 07:58:06 +0100 Message-ID: <20160310065806.GA2618@protected.rcdrun.com> References: <20160310004446.GA23830@protected.rcdrun.com> <20160310014522.GB29687@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aduYg-0007iB-PR for help-guix@gnu.org; Thu, 10 Mar 2016 01:58:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aduYd-0002sb-Gi for help-guix@gnu.org; Thu, 10 Mar 2016 01:58:54 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]:56118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aduYd-0002sU-9q for help-guix@gnu.org; Thu, 10 Mar 2016 01:58:51 -0500 Content-Disposition: inline In-Reply-To: <20160310014522.GB29687@jasmine> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org To: Leo Famulari Cc: help-guix@gnu.org Hello Leo, I was using mutt on Debian, that option was always included: header_cache - mutt accesses remote emails - this speeds up everything - GuixSD already includes gdbm and tokyocabinet - I have chosen gdbm, but testing could show if else is better Imagine, when you have 2000-3000 emails, one need to wait long time, for mutt to read all the headers, seconds. This way it is 1 second. It should be included by default, as GuixSD does have external database libraries. Jean Louis Mutt documentation: .1. Header Caching Mutt provides optional support for caching message headers for the following types of folders: IMAP, POP, Maildir and MH. Header caching greatly speeds up opening large folders because for remote folders, headers usually only need to be downloaded once. For Maildir and MH, reading the headers from a single file is much faster than looking at possibly thousands of single files (since Maildir and MH use one file per message.) Header caching can be enabled via the configure script and the --enable-hcache option. It's not turned on by default because external database libraries are required: one of tokyocabinet, qdbm, gdbm or bdb must be present. On Wed, Mar 09, 2016 at 08:45:22PM -0500, Leo Famulari wrote: > On Thu, Mar 10, 2016 at 01:44:47AM +0100, Jean Louis wrote: > > Hello, > > > > I wish to share how I got this working: > > [...] > > > So, I have done that with file: > > > > ~/gnu/guix/packages/mutt.scm > > > > which is attached. > > > > And I have added, dependency "gdbm" for the option --enable-hcache to > > have it working: > > > > (inputs > > `(("cyrus-sasl" ,cyrus-sasl) > > ("gpgme" ,gpgme) > > ("gdbm" ,gdbm) > > > > and > > > > `(#:configure-flags '("--enable-smtp" > > "--enable-imap" > > "--enable-pop" > > "--enable-gpgme" > > "--enable-hcache" > > Cool, I'm glad you got that working. > > Do you think this option (--enable-hcache) should be in our default mutt > package? Would all mutt users benefit from it? Or is it something > specific to your use case?