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: Sun, 29 Jan 2006 15:34:53 +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 1138553804 17130 80.91.229.2 (29 Jan 2006 16:56:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 29 Jan 2006 16:56:44 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 29 17:56: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 1F3Fr0-0004E5-E2 for ged-emacs-devel@m.gmane.org; Sun, 29 Jan 2006 17:56:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F3Ftv-0008MZ-8o for ged-emacs-devel@m.gmane.org; Sun, 29 Jan 2006 11:59:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F3DhE-0004TV-VC for emacs-devel@gnu.org; Sun, 29 Jan 2006 09:38:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F3DhA-0004Rr-Bt for emacs-devel@gnu.org; Sun, 29 Jan 2006 09:38:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F3Dh9-0004Re-Pr for emacs-devel@gnu.org; Sun, 29 Jan 2006 09:38:23 -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 1F3DfH-0005eu-7m for emacs-devel@gnu.org; Sun, 29 Jan 2006 09:36:27 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F3Ddx-0005Gr-1R for emacs-devel@gnu.org; Sun, 29 Jan 2006 15:35:07 +0100 Original-Received: from 1-1-3-38a.gml.gbg.bostream.se ([82.182.110.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Jan 2006 15:35:05 +0100 Original-Received: from brakjoller by 1-1-3-38a.gml.gbg.bostream.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Jan 2006 15:35:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 37 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 1-1-3-38a.gml.gbg.bostream.se User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:vNyBPqPNusomIf7ZSXtT4xJlT+8= 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:49676 Archived-At: Miles Bader writes: > Having one "primary window" where the cursor is and another slave > window that gets popped up is manageable enough, and the most common > model in emacs; is there a command to invoke tumme that just give > you the "thumbnails" window, without requiring the "window > configuration" and "dired" steps? My last post had an error. This should work better: (defun tumme-display-thumbs-and-buffer (&optional arg) "Call `tumme-display-thumbs' and display thumbnail buffer. See command `tumme-display-thumbs' for details about the arguments. " (interactive "P") (tumme-display-thumbs arg) (display-buffer tumme-thumbnail-buffer)) Similarily, this new command used from the thumbnail buffer will split the window and show the image display buffer: (defun tumme-display-thumbnail-original-image-and-buffer (&optional arg) "Call `tumme-display-thumbnail-original-image' and display display buffer. See command `tumme-display-thumbnail-original-image' for details." (interactive "P") (tumme-display-thumbnail-original-image arg) (display-buffer tumme-display-image-buffer)) Try binding RET to it instead of the usual `tumme-display-thumbnail-original-image'. Optional prefix argument turns off image sizing. Again, the call to `display-buffer' could be baked into the original functions but we would need an option to control the behaviour then, IMHO.