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: thumbs.el and transparency Date: Fri, 27 Jan 2006 17:53:36 +0100 Message-ID: References: <17366.53124.274532.548329@kahikatea.snap.net.nz> <87y814vhxj.fsf@jurta.org> <17367.17105.271024.157799@kahikatea.snap.net.nz> <17369.17978.521026.397616@kahikatea.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138481203 6077 80.91.229.2 (28 Jan 2006 20:46:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 28 Jan 2006 20:46:43 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 28 21:46:42 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 1F2wxu-0003Uo-SW for ged-emacs-devel@m.gmane.org; Sat, 28 Jan 2006 21:46:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F2wuf-0006Xa-B6 for ged-emacs-devel@m.gmane.org; Sat, 28 Jan 2006 15:43:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F2apB-0007fN-MD for emacs-devel@gnu.org; Fri, 27 Jan 2006 16:08:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F2ap7-0007eD-HY for emacs-devel@gnu.org; Fri, 27 Jan 2006 16:08:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F2WtP-0005lq-8u for emacs-devel@gnu.org; Fri, 27 Jan 2006 11:56:11 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1F2WrA-0001wi-JV for emacs-devel@gnu.org; Fri, 27 Jan 2006 11:53:53 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F2Wpn-0004RB-NM for emacs-devel@gnu.org; Fri, 27 Jan 2006 17:52:28 +0100 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 ; Fri, 27 Jan 2006 17:52:27 +0100 Original-Received: from brakjoller by user.ifsab.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Jan 2006 17:52:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 85 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:xYp6K+fkwJxOTn8dO6eSHkRMw8k= 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:49622 Archived-At: Miles Bader writes: > I've not seen much consensus on that point (indeed the consensus > _seemed_ to say that tumme will replace thumbs), but I must admit: I > couldn't figure out how to make tumme do anything remotely useful in > the 10 minutes I spent trying it out. There are lots of provocatively > named commands -- tumme-dired, tumme-gallery-generate, > tumme-slideshow-start -- but they never seem to _do_ anything other > than rearrange my windows a bit or display cryptic messages. > Certainly I never saw an image show up. Again, I it is a bit unpolished and the documentation (the Commentary in tumme.el) could need some work. This is what I did (running under Windows XP): Start emacs -q (load-file "~/elisp/tumme.el") ;; My emacs does not have tumme.el (tumme-setup-dired-keybindings) ;; Well... M-x tumme-dired RET some-directory-with-images RET Some might think that what tumme does now is very intrusive, it sets up a window configuration that I personally think is suitable for the task at hand. Whatever your reaction is, please follow: If all goes well, you should have a window config like this: +---------+---------+ | | | | | 2 | | | | | 1 +---------+ | | | | | 3 | | | | +---------+---------+ You need not have a window configuration like this, you can have only one window if you want, but I find it easier to work with this setup. You can have each buffer in its own frame or keep the buffers all in one frame. It'll be a lot of jumping back and forth if you only use one window though. 1 is a dired listing of the dir you specified. 2 is where the thumbnails will be displayed (buffer is in tumme-mode) and 3 is where a sized version of the image will be displayed. In dired window/buffer, mark some files. Next, press C-t d (`tumme-display-thumbs'). Tumme should now generate thumbnail images and display them in the thumbnail buffer. To jump to the thumbnail buffer, either use TAB (switched back and worth between dired and thumbnail mode) or C-x o, as you are probably used to. Use the arrow keys to move around the thumbnails. To display an image, press RET on the thumbnail. This will display a sized version in the display buffer. Move some more, press RET again to change the displayed image. Convenience commands: use SPC to advanced and display, use DEL (backspace) to back up and display previous picture. The mouse can also be used to display the images. If you enable "tracking of movement" (its in the Tumme menu), the cursor in the dired buffer will "follow" the cursor movement you do in the thumbnail buffer. If you want to see the full size image, either use C-x o to jump to the display buffer and then press "f" (full) there, or press C-return to display image in an external viewer (which must be configured). Press "s" to again display a sized version. I won't go into describing more commands available in the thumbnail or dired buffer (mark-commands, tag commands etc), they should all be seen from the Tumme menu. I would love to have feedback on how to make this process easier on the user, especially how to get him/her up to speed quicker. All basic stuff is in there, building "conveniece-commands" is just a matter of wrapping some of those basic methods in new commands.