From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: tumme testing Date: Sun, 12 Feb 2006 19:45:38 +0200 Organization: JURTA Message-ID: <873bioa7fx.fsf@jurta.org> References: <17366.53124.274532.548329@kahikatea.snap.net.nz> <87slqvfobk.fsf@jurta.org> <87d5hy43b6.fsf@jurta.org> <87u0b8lwhw.fsf@jurta.org> <87bqxgynfn.fsf@jurta.org> <87accya7ds.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139767184 12305 80.91.229.2 (12 Feb 2006 17:59:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Feb 2006 17:59:44 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 12 18:59:44 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F8LVe-0007DZ-RM for ged-emacs-devel@m.gmane.org; Sun, 12 Feb 2006 18:59:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F8LVe-0000uE-CU for ged-emacs-devel@m.gmane.org; Sun, 12 Feb 2006 12:59:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F8LUA-0000Q2-Rb for emacs-devel@gnu.org; Sun, 12 Feb 2006 12:58:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F8LU8-0000OC-5u for emacs-devel@gnu.org; Sun, 12 Feb 2006 12:58:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F8LU7-0000Nl-HL for emacs-devel@gnu.org; Sun, 12 Feb 2006 12:58:07 -0500 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F8LYO-0000ZV-1j for emacs-devel@gnu.org; Sun, 12 Feb 2006 13:02:32 -0500 Original-Received: from mail.neti.ee (80-235-40-69-dsl.mus.estpak.ee [80.235.40.69]) by Relayhost2.neti.ee (Postfix) with ESMTP id AD5599A37; Sun, 12 Feb 2006 19:58:02 +0200 (EET) Original-To: Mathias Dahl In-Reply-To: (Mathias Dahl's message of "Sat, 11 Feb 2006 10:21:38 +0100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee 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:50412 Archived-At: > Getting the data is not the problem. What I meant was that it might be > a bit harder to get a good UI layout in a character based > application. I guess what the parent wanted was something like the > following: I imagine a layout like below would be useful and intuitive: +--------+ +--------+ | THUMB | | THUMB | | | | | +--------+ +--------+ filename1.jpg filename1.jpg [1600x1200] [1600x1200] where [1600x1200] is a link to the full size version. > Of course it should be configurable too; personally, file name and size > is not interesting to me at all, in most cases. All thumbnail programs I encountered so far display as minimum the file name, size and image dimensions. >> If not with iimage.el, then at least with `put-image'. Though `put-image' >> currently has one drawback: its created overlays don't evaporate when >> relocated to the beginning of the buffer, because `put-image' doesn't put >> the property `evaporate' to its overlays. But adding `evaporate' is not >> possible because then the overlay evaporates immediately after its creation, >> since its length is 0 initially, due to (make-overlay pos pos buffer), >> where `pos pos' creates the 0-length overlay. > > I'll take your word for it. :) > > So, when will we see your first addition to tumme? :) You have a lot > of ideas and seem to have technical expertice superior to mine. Well. As the first step, I've added the support for displaying thumbnails directly in the dired buffer. The command `tumme-dired-insert-marked-thumbs' is bound to `C-t C-t' and when invoked on the marked files adds thumbnails to the dired buffer. It also takes care of relocating thumbnails after refreshing the dired buffer or changing the sorting order with `s'. -- Juri Linkov http://www.jurta.org/emacs/