From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: extension for image view to go to next or previous image Date: Sat, 09 Apr 2011 07:32:09 +0200 Message-ID: <877hb4ouqu.fsf@gmail.com> References: <293db391-853d-4043-8b0b-aa68dad213bf@t13g2000vbo.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1302327238 30404 80.91.229.12 (9 Apr 2011 05:33:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 9 Apr 2011 05:33:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 09 07:33:54 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q8Qny-0004mR-3v for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Apr 2011 07:33:54 +0200 Original-Received: from localhost ([127.0.0.1]:44266 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8Qnx-0005xx-Iq for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Apr 2011 01:33:53 -0400 Original-Received: from [140.186.70.92] (port=35986 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8QmX-0005OG-3a for help-gnu-emacs@gnu.org; Sat, 09 Apr 2011 01:32:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q8QmV-0000NV-7p for help-gnu-emacs@gnu.org; Sat, 09 Apr 2011 01:32:24 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:35924) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q8QmU-0000NR-UU for help-gnu-emacs@gnu.org; Sat, 09 Apr 2011 01:32:23 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q8QmT-00048b-Ei for help-gnu-emacs@gnu.org; Sat, 09 Apr 2011 07:32:21 +0200 Original-Received: from 82.77.197-77.rev.gaoland.net ([77.197.77.82]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Apr 2011 07:32:21 +0200 Original-Received: from thierry.volpiatto by 82.77.197-77.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Apr 2011 07:32:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 82.77.197-77.rev.gaoland.net User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/23.3.50 (gnu/linux) Cancel-Lock: sha1:lV92KyVreEsqd5pg1NFZsYUrMkc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80728 Archived-At: chris writes: > Thank you Drew, I tried your suggestions. > > On Apr 8, 10:55 pm, "Drew Adams" wrote: >> Here are a couple of ways I would do it - there are no doubt other ways. >> Essentially, you just need a way to cycle among files. > > Yeah in a way this is true, but what I had in mind was a bit of lisp > code that would allow me to press 'n' (or SPC) on an image and then > see the next one, 'p' would get me the previous one. > >> >> 1. Use Icicles.  `C-x C-f', then cycle using `up'/`down'.  When a file is an >> image file the image is displayed.  To cycle among only files `foo*', type `foo' >> then cycle. > > Hmm, I tried to use icicles, but it seems to fight with ido, which I > am using. If they can't figure it out, I am with ido. But at the > moment, I am not sure this is the route I want to take. > >> 2. Use `image-dired'. Use `right'/`left' + `RET' in the thumbnails buffer to >> cycle among images. > > I also looked at image-dired, but that seems to be a different use > case. If there was a way to make the thumbnails larger, it might be > useful in some ways, but not for my main purpose. See also anything-find-files which can be turned in an image browser with possibility to rotate images on the fly and is very simple to use. http://repo.or.cz/w/anything-config.git You will find anything.pdf in doc directory with explanation. -- A+ Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997