Opened 7 months ago

Closed 7 months ago

#69558 closed enhancement (fixed)

mutt doesn't support header_cache directive

Reported by: gbergling (Gordon Bergling) Owned by: l2dy (Zero King)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: mutt

Description (last modified by ryandesign (Ryan Carsten Schmidt))

The default mutt port doesn't support the header_cache configuration option. The following error is reported.

Error in /Users/gbergling/.muttrc, line 31: header_cache: unknown variable

mutt itself was compiled with -USE_HCACHE. It would be great if that option could be enabled on the port since is noticeably speeds up the start of mutt, with a lot mails in the opening mailbox, and accessing other folders with a lot of mails too.

Change History (5)

comment:1 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: set to l2dy
Status: newassigned

comment:2 Changed 7 months ago by l2dy (Zero King)

If you install mutt with one of the three cache database variants, e.g. port install mutt +gdbm, you can enable header cache.

It was not added to default_variants because I don't know which one to use as default.

comment:3 Changed 7 months ago by gbergling (Gordon Bergling)

@l2dy, thanks that worked like a charm. Maybe this could be activated per default, I would think that the typical user of mutt doesn't care what cache database is in use.

comment:4 Changed 7 months ago by l2dy (Zero King)

In 489aa76dfe1afb6e885a0f77a35d42d5f05a675e/macports-ports (master):

mutt: update to 2.2.13 and set +gdbm by default

See: #69558#comment:3

comment:5 Changed 7 months ago by l2dy (Zero King)

Resolution: fixed
Status: assignedclosed

I cared and disabled Tokyo Cabinet, Kyoto Cabinet, and QDBM for this port, but I guess the average user does not.

+gdbm has been added to the default. Thanks!

Note: See TracTickets for help on using tickets.