[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A few issues with thumbs.el
From: |
Juri Linkov |
Subject: |
Re: A few issues with thumbs.el |
Date: |
Mon, 30 May 2005 21:57:33 +0300 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
>> AFAIK, GIMP uses md5 for naming thumbnail files. It stores original
>> file names as comments in image files. thumb.el could do the same
>> adding comments with original file names, e.g.:
>
> I'd like that, but the most prevalent opinion has been that people
> wants to have the filename directly visible in the thumbname, so
> that's what I've finally implemented.
Maybe just a file name without the directory part is enough for people
to recognize the thumbnail file? This makes thumbnail filenames much
shorter, so they fit into 80-character wide windows (currently thumbnail
filenames are so long that they are truncated in dired buffers and
the non-directory part is not visible without horizontal scrolling).
How about the following template?
(format "%s/%s-%x.jpg"
thumbs-thumbsdir
(file-name-nondirectory filename)
(sxhash contents))
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: A few issues with thumbs.el, (continued)
- Re: A few issues with thumbs.el, Richard Stallman, 2005/05/28
- Re: A few issues with thumbs.el, Juanma Barranquero, 2005/05/28
- Re: A few issues with thumbs.el, Robert J. Chassell, 2005/05/28
- Re: A few issues with thumbs.el, Juanma Barranquero, 2005/05/28
- Re: A few issues with thumbs.el, Robert J. Chassell, 2005/05/29
- Re: A few issues with thumbs.el, Juanma Barranquero, 2005/05/29
- Re: A few issues with thumbs.el, Robert J. Chassell, 2005/05/29
- Re: A few issues with thumbs.el, Richard Stallman, 2005/05/29
- Re: A few issues with thumbs.el, Juanma Barranquero, 2005/05/29
- Re: A few issues with thumbs.el, Juanma Barranquero, 2005/05/30
- Re: A few issues with thumbs.el,
Juri Linkov <=
- Re: A few issues with thumbs.el, Juanma Barranquero, 2005/05/30
- Re: A few issues with thumbs.el, David Kastrup, 2005/05/30
- Re: A few issues with thumbs.el, Stefan Monnier, 2005/05/30
- Re: A few issues with thumbs.el, Juanma Barranquero, 2005/05/30
- Re: A few issues with thumbs.el, Richard Stallman, 2005/05/31
- Re: A few issues with thumbs.el, Juanma Barranquero, 2005/05/31
Re: A few issues with thumbs.el, Juanma Barranquero, 2005/05/25