From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.help Subject: Re: How to save dred duffer? Date: Mon, 25 Jun 2007 10:17:14 +0200 Message-ID: References: <1182675144.458123.180750@c77g2000hse.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1182760921 20255 80.91.229.12 (25 Jun 2007 08:42:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Jun 2007 08:42:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 25 10:42:00 2007 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.50) id 1I2k8y-0005Mf-QV for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Jun 2007 10:41:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I2k8y-0004cZ-5Z for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Jun 2007 04:41:56 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-X-Trace: individual.net go9ot/rMRGRqFLTdEuSe9QOd/auxmKQAU68QFYIUOtzYu6yZxo User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (windows-nt) Cancel-Lock: sha1:82EHYys53KXiSajNS0h0wIot944= Original-Xref: shelby.stanford.edu gnu.emacs.help:149678 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:45267 Archived-At: "srdjan.markovich@gmail.com" writes: > Hi there > > Is it possible to save dired buffer in order to reuse it in latter > sessions? I know that I can save all opened buffers using desktop.el > script. But it saves everything. > I want to be able to save only one dired buffer and to give it > specific filename so I can open it and continue work latter... > > Regards You might want to check out dired-virtual-mode. It is part of dired-x. I use it to save large dired listings, maybe for directories that I know will take a lot of time to refresh. I save these buffers as a normal text file, with the extension .dired, and combine this with the following customization: (add-to-list 'auto-mode-alist '("[^/]\\.dired$" . dired-virtual-mode))