[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guix edit mutt -- with new option, and dependency, how I got it work

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

Hello Leo,

I was using mutt on Debian, that option was always included:

- 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

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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]