From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mattis Newsgroups: gmane.emacs.devel Subject: Re: tumme directory Date: Sat, 11 Feb 2006 01:04:11 +0100 Message-ID: References: <87r76t8afw.fsf@stupidchicken.com> <87zmkzf99z.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1139616405 30799 80.91.229.6 (11 Feb 2006 00:06:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Feb 2006 00:06:45 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 11 01:06:17 2006 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1F7iHJ-0007bV-00 for ; Sat, 11 Feb 2006 01:06:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F7iHH-0003xX-0Z for ged-emacs-devel@m.gmane.org; Fri, 10 Feb 2006 19:06:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F7iFV-0003ff-7e for emacs-devel@gnu.org; Fri, 10 Feb 2006 19:04:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F7iFR-0003eJ-4l for emacs-devel@gnu.org; Fri, 10 Feb 2006 19:04:24 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F7iFQ-0003e3-Km for emacs-devel@gnu.org; Fri, 10 Feb 2006 19:04:20 -0500 Original-Received: from [66.249.82.192] (helo=xproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F7iJH-0004h5-Uo for emacs-devel@gnu.org; Fri, 10 Feb 2006 19:08:20 -0500 Original-Received: by xproxy.gmail.com with SMTP id t11so374258wxc for ; Fri, 10 Feb 2006 16:04:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EZL9ynHmf/DWR8acD7COiT2NYcHH9OlPYvaN26V2KqyiT8qTITJYGUzMtpDTJlovx1JBCOH770LtTsrDM+ALxrbsUOpgpDySS5B9EnmUu6+jtAhUxW9oVoW1giIAlh5H9dL+n5X7UzAOoqsUPtPhXCyce4dU8q4xfDPLwdhI/EA= Original-Received: by 10.70.128.18 with SMTP id a18mr2908762wxd; Fri, 10 Feb 2006 16:04:11 -0800 (PST) Original-Received: by 10.70.62.9 with HTTP; Fri, 10 Feb 2006 16:04:11 -0800 (PST) Original-To: Stefan Monnier In-Reply-To: <87zmkzf99z.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:50339 Archived-At: > A grep for ".emacs.d" in the Lisp sources will probably give you > some answer. What I'd do is: > > (defcustom tumme-dir > (cond > ((file-directory-p "~/.tumme/") "~/.tumme/") > ((file-directory-p "~/.emacs.d/") "~/.emacs.d/tumme/") > (t "~/.tumme/")) > "Directory where thumbnail images for are stored." > :type 'string > :group 'tumme) :) I just commited the changed suggested by Nick. Now it works the same way thumbs.el does. It could easily be changed again though, but this seems to work nicely. I just moved my thumbnails to the new dir and it works well: $ mkdir ~/.emacs.d/tumme $ mv ~/.tumme/*.thumb.jpg ~/.emacs.d/tumme/