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: A few issues with thumbs.el Date: Mon, 13 Jun 2005 09:12:40 +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> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1118647189 16496 80.91.229.2 (13 Jun 2005 07:19:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2005 07:19:49 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 13 09:19:49 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DhjEV-0000rf-QH for ged-emacs-devel@m.gmane.org; Mon, 13 Jun 2005 09:19:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DhjJF-0005pr-TP for ged-emacs-devel@m.gmane.org; Mon, 13 Jun 2005 03:24:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DhjGa-00055z-8m for emacs-devel@gnu.org; Mon, 13 Jun 2005 03:21:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DhjGU-000537-44 for emacs-devel@gnu.org; Mon, 13 Jun 2005 03:21:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DhjGT-0004tW-9o for emacs-devel@gnu.org; Mon, 13 Jun 2005 03:21:45 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Dhj9C-0002cl-0g for emacs-devel@gnu.org; Mon, 13 Jun 2005 03:14:14 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Dhj3J-00081p-1a for emacs-devel@gnu.org; Mon, 13 Jun 2005 09:08:09 +0200 Original-Received: from user.ifsab.se ([193.41.170.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Jun 2005 09:08:09 +0200 Original-Received: from brakjoller by user.ifsab.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Jun 2005 09:08:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 24 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: user.ifsab.se User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:j4ay0fXu1fIBiKfduOFncAaOtxM= 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:38696 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38696 Juanma Barranquero writes: >> 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? Something like that, yes. > 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"... Sounds messy to me.