From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: A few issues with thumbs.el Date: Thu, 26 May 2005 02:40:02 +0200 Message-ID: References: <87br6zuerw.fsf-monnier+emacs@gnu.org> Reply-To: Juanma Barranquero NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1117068482 22424 80.91.229.2 (26 May 2005 00:48:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 May 2005 00:48:02 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 26 02:48:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Db6XO-0005s3-1u for ged-emacs-devel@m.gmane.org; Thu, 26 May 2005 02:47:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Db6bL-0003PI-Sv for ged-emacs-devel@m.gmane.org; Wed, 25 May 2005 20:51:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Db6XC-0001ri-5Z for emacs-devel@gnu.org; Wed, 25 May 2005 20:47:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Db6X9-0001pt-8J for emacs-devel@gnu.org; Wed, 25 May 2005 20:47:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Db6X8-0001k6-TQ for emacs-devel@gnu.org; Wed, 25 May 2005 20:47:34 -0400 Original-Received: from [64.233.184.197] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Db6QN-0000xP-KG for emacs-devel@gnu.org; Wed, 25 May 2005 20:40:35 -0400 Original-Received: by wproxy.gmail.com with SMTP id 50so370520wri for ; Wed, 25 May 2005 17:40:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UJrfLDTWJBIaaryBBeRd7eDIaIn8JTssoJClcoHBj+1FKUzvWOllA/Xn00RPPc1e6Lmu4qU95aqy7B+x3rVrCM+Q2B+TeOxMl7vNlvWbegfYAvV9qEMTOjIRR0o/DZwMDyP1SKqWQx1SBpHSp8Yt80oTQI8k191SA6RdK/l5b1U= Original-Received: by 10.54.40.57 with SMTP id n57mr642290wrn; Wed, 25 May 2005 17:40:02 -0700 (PDT) Original-Received: by 10.54.82.6 with HTTP; Wed, 25 May 2005 17:40:02 -0700 (PDT) Original-To: emacs-devel@gnu.org In-Reply-To: <87br6zuerw.fsf-monnier+emacs@gnu.org> Content-Disposition: inline X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:37658 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37658 > Maybe it could use convert-standard-file-name. Something like that, you mean? (defun thumbs-thumbname (img) "Return a thumbnail name for the image IMG." (convert-standard-filename (concat thumbs-thumbsdir "/" (expand-file-name img)))) It would work, but why should it be better than (defun thumbs-thumbname (img) "Return a thumbnail name for the image IMG." (concat thumbs-thumbsdir "/" (md5 (expand-file-name img)))) ? (I have no bias, it'll work either way. I'm asking out of curiosity.) --=20 /L/e/k/t/u