From xemacs-m  Wed May 14 12:02:55 1997
Received: from cdc.noaa.gov (manager.Colorado.EDU [128.138.218.210])
	by xemacs.org (8.8.5/8.8.5) with SMTP id MAA10821
	for <xemacs-beta@xemacs.org>; Wed, 14 May 1997 12:02:53 -0500 (CDT)
Received: from charney by cdc.noaa.gov (SMI-8.6/SMI-SVR4)
	id LAA10713; Wed, 14 May 1997 11:02:47 -0600
Received: by charney (SMI-8.6) id LAA17346; Wed, 14 May 1997 11:02:47 -0600
To: XEmacs beta-list <xemacs-beta@xemacs.org>
Subject: Re: [20.2] dired-virtual-mode
References: <vklo5iau1k.fsf@cdc.noaa.gov>
Organization: CIRES, University of Colorado
X-Attribution: mb
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Mark Borges <mdb@cdc.noaa.gov>
Date: 14 May 1997 11:02:45 -0600
In-Reply-To: Mark Borges's message of 14 May 1997 10:37:59 -0600
Message-ID: <vkhgg6aswa.fsf@cdc.noaa.gov>
Lines: 39
X-Mailer: Gnus v5.4.52/XEmacs 20.2

>> On 14 May 1997 10:37:59 -0600,
>> Mark Borges(mb) wrote:
mb> I've been scavenging out my .emacs recently, and I noticed this
mb> (setq auto-mode-alist
mb>       (cons '("[^/]\\.dired\\'" . (lambda () 
mb> 				  (let (dired-local-variables-file)
mb> 				    (dired-virtual-mode))))
mb> 	    auto-mode-alist))

mb> no longer works (there isn't a dired-virtual-mode() ).

Sorry, never mind. The function just lost the `-mode' suffix:

dired-virtual: (dirname &optional switches)
  -- an interactive compiled Lisp function.
  -- loads from "dired-vir".
  -- loaded from dired-vir.elc.
Put this buffer into Virtual Dired mode.

In Virtual Dired mode, all commands that do not actually consult the
filesystem will work.

This is useful if you want to peruse and move around in an ls -lR
output file, for example one you got from an ftp server.  With
efs, you can even dired a directory containing an ls-lR file,
visit that file and turn on virtual dired mode.  But don't try to save
this file, as dired-virtual indents the listing and thus changes the
buffer.

If you have save a Dired buffer in a file you can use M-x dired-virtual to
resume it in a later session.

Type g in the
Virtual Dired buffer and answer `y' to convert the virtual to a real
dired buffer again.  You don't have to do this, though: you can relist
single subdirs using N.

-- 
  -mb-

