emms-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emms-patches] Re: [PATCH] lisp/emms-cache.el: Initialize cache immediat


From: Lucas Bonnet
Subject: [Emms-patches] Re: [PATCH] lisp/emms-cache.el: Initialize cache immediately instead of using after-init-hook.
Date: Fri, 12 Mar 2010 14:49:11 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.90 (gnu/linux)

David Engster <address@hidden> writes:

> * emms-cache.el (emms-cache): Call emms-cache-restore directly instead
>   of using after-init-hook.
> ---
> Further comments on this patch: I think using the after-init-hook to
> restore the cache is problematic.  If you happen to call up EMMS later,
> be it manually or through some means like idle-require, the cache won't
> be restored from the cache file.  Therefore, I'd like to suggest to
> restore the cache immediately when EMMS is initialized.  I currently
> don't see any advantage to do this in the after-init-hook, but if I'm
> missing something here, please let me know.

Hmm, you mean that some process would alter the cache file outside of
Emacs, after the initialization, meaning that EMMS will keep using the
dirty cache? Or did I get it completely wrong?


Regards,
-- 
Lucas

Attachment: pgpzuvTmoNagy.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]