Juanma Barranquero <[EMAIL PROTECTED]> writes:

>> After each call to `tumme-display-thumbs', check that variable, and if
>> nil, ask the user if it is OK to do a clean up (or really check if a
>> clean-up is necessary). We can provide options like "Yes, please
>> clen-up", "No, ask me later", or "No, and don't bother me again this
>> session" or something like that. Together with a custom variable that
>> determines if we should use cleaning at all, this should suit most
>> user's needs, right?
>
> You'd need a user option (settable to 'never, 'once-per-session,
> 'always and nil for "ask the user"), and an internal variable to
> record when the cleanup ran last time, wouldn't you?

Something like that, yes.

> But, if you implement Stefan's per-directory thumbnails dir, every
> directory would/should have its own set of configuration options, I
> think. Perhaps not for *when* to run the cleanup, but I can well
> imagine that U:\myimages\.thumbsdir (in my USB pendrive) doesn't
> need the same size settings than "C:\my documents\my
> images\.thumbsdir"...

Sounds messy to me.



_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to