On Mon, Mar 26, 2012 at 05:29:02PM +0200, Stefano Zacchiroli wrote: > But while it's trivial to make notmuch-mutt itself support > $XDG_CACHE_HOME, it is less so for the Mutt configuration snippet > (i.e. the notmuch-mutt.rc file which is part of my submission). AFAICT > the function does not support variable > expansions, not to mention default values while doing so. ... but Mutt configuration has backtick expansions! So never mind the above. The attached patch should be all that's needed to proper $XDG_CACHE_HOME support, according to XDG basedir spec. If you folks now consider the contrib submission good enough for inclusion, feel free to just "git am" the 3 patches. If you want me to implement other changes --- including bureaucratic stuff like merging patches together --- just let me know! Cheers. -- Stefano Zacchiroli zack@{upsilon.cc,pps.jussieu.fr,debian.org} . o . Maître de conférences ...... http://upsilon.cc/zack ...... . . o Debian Project Leader ....... @zack on identi.ca ....... o o o « the first rule of tautology club is the first rule of tautology club »