From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: Quickly Viewing Files in a File List, and then Quickly Closing Date: Fri, 18 Oct 2013 16:38:08 +0800 Message-ID: <87li1rj7nz.fsf@ericabrahamsen.net> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1382085452 23521 80.91.229.3 (18 Oct 2013 08:37:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Oct 2013 08:37:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 18 10:37:37 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VX5Yv-0001Eh-1B for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Oct 2013 10:37:37 +0200 Original-Received: from localhost ([::1]:56334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VX5Yu-00047Z-Lw for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Oct 2013 04:37:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VX5Ya-00041l-T4 for help-gnu-emacs@gnu.org; Fri, 18 Oct 2013 04:37:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VX5YT-00048K-JC for help-gnu-emacs@gnu.org; Fri, 18 Oct 2013 04:37:16 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:56356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VX5YT-00048B-CS for help-gnu-emacs@gnu.org; Fri, 18 Oct 2013 04:37:09 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VX5YQ-0000vv-3H for help-gnu-emacs@gnu.org; Fri, 18 Oct 2013 10:37:06 +0200 Original-Received: from 50.56.99.223 ([50.56.99.223]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Oct 2013 10:37:06 +0200 Original-Received: from eric by 50.56.99.223 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Oct 2013 10:37:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 50.56.99.223 User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:t455ThXCQNOk5V2rZniKYDHfkVU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94080 Archived-At: Eric Brown writes: > I am looking for a "QuickLook" feature for Emacs. For example, when > scrolling through a file list in dired (or sunrise commander): > > - is it possible to automatically show the contents of the file under > point in a second window? But if point is moved, quickly move along > and show the next file/image whatnot? > > - is there a "hold-down-button" to view, and let off button to resume > browsing the file list? > > I currently use C-x 1 or C-x o q approaches, but I usually end up with > e a bunch of buffers or sore fingers when going through many files. > > Does anyone have suggestions? I apologize if the answer is sitting in > the Emacs manual. Dired has some very nice shortcuts for this sort of thing: If you hit "v" on a file, you'll visit it in view mode, which means you can hit "q" to close it. So looking quickly though a bunch of text files just means bouncing between "n", "v" and "q". I think view mode is great. Also check "o" and "C-o" -- the latter might be all you need. Other than that, it wouldn't be too hard to write something like a "follow mode" for dired. If it closed the files afterwards that would be nice. E