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: Mon, 13 Jun 2005 01:46:58 +0200 Message-ID: References: <87u0kqrsur.fsf-monnier+emacs@gnu.org> <87hdgon2p2.fsf@jurta.org> <87vf508myc.fsf-monnier+emacs@gnu.org> <87wtp3d626.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 1118619920 592 80.91.229.2 (12 Jun 2005 23:45:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Jun 2005 23:45:20 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 13 01:45:18 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dhc8Z-0001GD-P2 for ged-emacs-devel@m.gmane.org; Mon, 13 Jun 2005 01:45:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DhcDF-0006u1-TT for ged-emacs-devel@m.gmane.org; Sun, 12 Jun 2005 19:49:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DhcCv-0006mR-2b for emacs-devel@gnu.org; Sun, 12 Jun 2005 19:49:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DhcCq-0006j2-DZ for emacs-devel@gnu.org; Sun, 12 Jun 2005 19:49:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DhcCq-0006hP-9O for emacs-devel@gnu.org; Sun, 12 Jun 2005 19:49:32 -0400 Original-Received: from [64.233.182.198] (helo=nproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DhcBI-0004so-QY for emacs-devel@gnu.org; Sun, 12 Jun 2005 19:47:57 -0400 Original-Received: by nproxy.gmail.com with SMTP id i2so75839nfe for ; Sun, 12 Jun 2005 16:46:58 -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=Fi0jpqPdzGaxaMLX3hiBHJi+G+VjsBdnoZ2J/eMnlI+G5gmwlyTIWGpTJpcK1paSB9+RrxFRsmzctIcZ9NYq6acBPijOQ5RPqGJ0zUinmtFYxjHCnz0V9CTePuqCQFwsgq3cJdZAXZZrcGfpvziR0m6Bd3DQGMSNIcKjnqSWAlk= Original-Received: by 10.48.249.11 with SMTP id w11mr64451nfh; Sun, 12 Jun 2005 16:46:58 -0700 (PDT) Original-Received: by 10.48.250.5 with HTTP; Sun, 12 Jun 2005 16:46:58 -0700 (PDT) Original-To: emacs-devel@gnu.org In-Reply-To: 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:38680 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38680 > After each call to `tumme-display-thumbs', check that variable, and if > nil, ask the user if it is OK to do a clean up (or really check if a > clean-up is necessary). We can provide options like "Yes, please > clen-up", "No, ask me later", or "No, and don't bother me again this > session" or something like that. Together with a custom variable that > determines if we should use cleaning at all, this should suit most > user's needs, right? You'd need a user option (settable to 'never, 'once-per-session, 'always and nil for "ask the user"), and an internal variable to record when the cleanup ran last time, wouldn't you? But, if you implement Stefan's per-directory thumbnails dir, every directory would/should have its own set of configuration options, I think. Perhaps not for *when* to run the cleanup, but I can well imagine that U:\myimages\.thumbsdir (in my USB pendrive) doesn't need the same size settings than "C:\my documents\my images\.thumbsdir"... --=20 /L/e/k/t/u