On Mon, 26 Mar 2012 15:34:04 +0300, Tomi Ollila 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.