> How about the following template? > > (format "%s/%s-%x.jpg" > thumbs-thumbsdir > (file-name-nondirectory filename) > (sxhash contents))
A problem is that (sxhash contents) will be slower; I have no issue with that, but perhaps someone will. Other than that, I'm OK with any fix that produces valid filenames and minimizes collisions. See what other people think before committing the change, though. Small decisions often bring big discussions :) -- /L/e/k/t/u _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel