From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: A few issues with thumbs.el Date: Wed, 25 May 2005 18:24:08 -0400 Message-ID: <87br6zuerw.fsf-monnier+emacs@gnu.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117060266 4112 80.91.229.2 (25 May 2005 22:31:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 25 May 2005 22:31:06 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 26 00:31:05 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Db4Nc-0000qf-LV for ged-emacs-devel@m.gmane.org; Thu, 26 May 2005 00:29:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Db4RZ-0006oL-Ca for ged-emacs-devel@m.gmane.org; Wed, 25 May 2005 18:33:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Db4OP-0004r3-Av for emacs-devel@gnu.org; Wed, 25 May 2005 18:30:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Db4OI-0004lV-6T for emacs-devel@gnu.org; Wed, 25 May 2005 18:30:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Db4OD-0004kJ-Mn for emacs-devel@gnu.org; Wed, 25 May 2005 18:30:13 -0400 Original-Received: from [209.226.175.97] (helo=tomts40-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Db4Iq-0002EB-0o for emacs-devel@gnu.org; Wed, 25 May 2005 18:24:40 -0400 Original-Received: from alfajor ([70.49.81.199]) by tomts40-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050525222409.PMWN27737.tomts40-srv.bellnexxia.net@alfajor>; Wed, 25 May 2005 18:24:09 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id E61D9D7700; Wed, 25 May 2005 18:24:08 -0400 (EDT) Original-To: Juanma Barranquero In-Reply-To: (Juanma Barranquero's message of "Wed, 25 May 2005 17:18:33 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:37648 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37648 > - `thumbs-thumbname' makes a simple transformation on the image > filename to generate a thumbnail filename (taking out slashes and > changing spaces to underscores). That simple transformation fails on > Windows (it doesn't modify the ":" in drive:path, for example). I > could fix that, but instead of playing cat&mouse with unusual chars, I > think it'd be better to just make a digest of the name (with md5) and > get rid of the problem. That's addressed in the patch below, too. Maybe it could use convert-standard-file-name. Stefan