Revamped caching system#199
Conversation
Begins to address #88.
|
I have a general question here regarding what your plans are. Specifically, about the elements of Is |
This commit will break Travis for this branch. stash.el has yet to be released. It will be released to MELPA and then to ELPA pending paperwork (at which point it will be removed from MELPA).
This obsoletes sx-cache.
Ensure application data is written before Emacs is killed.
There was a problem hiding this comment.
I really think this ought to be handled by stash.
There was a problem hiding this comment.
Given that it's a programmer's interface, I was hesitant to introduce functionality that wasn't specifically requested. Having gone through to use it, though, you're right – there are very few cases in which it isn't desired. A no-load flag to defstash would suffice.
Hopefully this will also resolve those issues Travis has been having downloading the right version...
There was a problem hiding this comment.
Given how catastrophic it would be to have two stashes with the same file name, maybe we should use more specific names for future stashes. Or (even better) maybe stash.el could take care of choosing unique file names based on variable name.
There was a problem hiding this comment.
The latter option seems good, but what else would auth be used for (in our case specifically)?
There was a problem hiding this comment.
Oh I don't know. I don't think we should change this variable specifically. It just occurred to me we might want to use longer names on future stashes.
Not ready for merge yet. Use this PR as a discussion medium.
Addresses #88.