From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Mathias Dahl" Newsgroups: gmane.emacs.devel Subject: Re: xcf thumbnail image file support? Date: Sun, 30 Sep 2007 12:14:11 +0200 Message-ID: <7dbe73ed0709300314w41a47a5p23f1d6ff221005bf@mail.gmail.com> References: <46F97484.70408@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1191147268 19658 80.91.229.12 (30 Sep 2007 10:14:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Sep 2007 10:14:28 +0000 (UTC) Cc: emacs-devel To: "joakim@verona.se" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 30 12:14:25 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ibvoe-0001MH-Ol for ged-emacs-devel@m.gmane.org; Sun, 30 Sep 2007 12:14:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ibvoa-0003Dc-Su for ged-emacs-devel@m.gmane.org; Sun, 30 Sep 2007 06:14:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IbvoW-00039I-4x for emacs-devel@gnu.org; Sun, 30 Sep 2007 06:14:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IbvoT-00032V-Ob for emacs-devel@gnu.org; Sun, 30 Sep 2007 06:14:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbvoT-00032D-HM for emacs-devel@gnu.org; Sun, 30 Sep 2007 06:14:13 -0400 Original-Received: from wa-out-1112.google.com ([209.85.146.179]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IbvoT-0002kA-5i for emacs-devel@gnu.org; Sun, 30 Sep 2007 06:14:13 -0400 Original-Received: by wa-out-1112.google.com with SMTP id k34so4259403wah for ; Sun, 30 Sep 2007 03:14:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=R7+sDwZKkf+nSiy2FwpeYS9zr05ZFeFs460pl5PXybQ=; b=niv4VYMy5k90GVeKJmf2n7grhpw9kCXlgO1xMioySWx0rJrCnrglpnSbf77mVQWBWexuuWx135UfdlYa4chEm7Z9g/5ujuvlT6Kd+JHK4aPuU970X4gPJbrkGzsMnB+BNPg/bOAVb86DRCYO+3n3EzFRkEEIYga20Zdr4LybPOE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BhNnIZRXsK/zIWm3uDQKd1ItynITDsgZj2BxU07p+vJ0e5svRc0BjyMs44rKYoRAVBNHX52MQN4+mm6X74IGo+WvVDbmPO5SgFT4/0b0OCJah6upZXL/lSEyBnDWd63fDiYJ2xFTT/+vay9bFV9512GY6KkCHqPwEdmqoJGeNj0= Original-Received: by 10.114.76.1 with SMTP id y1mr2767466waa.1191147251404; Sun, 30 Sep 2007 03:14:11 -0700 (PDT) Original-Received: by 10.114.146.12 with HTTP; Sun, 30 Sep 2007 03:14:11 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-Detected-Kernel: Linux 2.6 (newer, 2) 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:80046 Archived-At: > So the original question should be rephrased as: > Is there work in progress to make emacs support the "thumbnail > managing standard"? It's been over a year since I looked into this now, so my memory is a bit fuzzy, but it seems I/we made some changes to Tumme, now Image-Dired, to support this standard. Quickly browsing the code now it seems basic support was added. You can set `image-dired-thumbnail-storage' to 'standard to test it: (defcustom image-dired-thumbnail-storage 'use-image-dired-dir "How to store image-dired's thumbnail files. Image-Dired can store thumbnail files in one of two ways and this is controlled by this variable. \"Use image-dired dir\" means that the thumbnails are stored in a central directory. \"Per directory\" means that each thumbnail is stored in a subdirectory called \".image-dired\" in the same directory where the image file is. \"Thumbnail Managing Standard\" means that the thumbnails are stored and generated according to the Thumbnail Managing Standard that allows sharing of thumbnails across different programs." :type '(choice :tag "How to store thumbnail files" (const :tag "Thumbnail Managing Standard" standard) (const :tag "Use image-dired-dir" use-image-dired-dir) (const :tag "Per-directory" per-directory)) :group 'image-dired) Basically if you use this setting, Image Dired and programs adhering to the standard should be able to share thumbnails. If you browse a dir in Dired for which you know thumbnails have been created under ~/.thumbnails, Image Dired should not need to create its own, when commands like C-t d is used, for example. I am not up to date on what things would be needed to be fully compliant though. Try it out and we might find some nice bugs to iron out :) /Mathias