[Stefano Zacchiroli] Bug#628018: [PATCH] notmuch-mutt utility for notmuch/contrib/

Jameson Graef Rollins jrollins at finestructure.net
Mon Mar 26 08:09:13 PDT 2012


On Mon, 26 Mar 2012 15:34:04 +0300, Tomi Ollila <tomi.ollila at iki.fi> wrote:
> I think storing stuff to  .../.cache/... is Great !!!
> 
> However, if we're "allowing" public software to use .../.cache/notmuch
> directory we should have policy to do so. I suggest we add a description
> file to notmuch source distribution which describes the public software
> that are allowed to contain files in notmuch XDG directories. The file
> could have format which describes the file/directory name, the software
> using it and some description why this file is there.
> 
> Another thing is this .cache hardcoding. Should this be resolved
> first by using $XDG_CACHE_HOME, (then *MAYBE* $XDG_CONFIG_HOME/.cache)
> and finally $HOME/.cache

These are good points.  I agree that since ~/.cache is an XDG standard
we should resolve the appropriate environment variables.

If notmuch-mutt is accepted into notmuch upstream then it really becomes
a part of notmuch and isn't really "public" anymore (at least in the
sense that you're using).  So I don't really see any problem with having
it use ~/.cache/notmuch.

jamie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120326/cb648455/attachment.pgp>


More information about the notmuch mailing list