From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hodge Newsgroups: gmane.emacs.help Subject: Re: Remove all directory listings buffers Date: Thu, 26 Nov 2009 09:13:05 +0800 Message-ID: <7vr5rmay1q.fsf@hodge.id.au> References: <4b0d3db1$0$280$14726298@news.sunsite.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259199721 10372 80.91.229.12 (26 Nov 2009 01:42:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Nov 2009 01: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 Thu Nov 26 02:41:55 2009 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 1NDTLd-0002vE-Fr for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Nov 2009 02:40:41 +0100 Original-Received: from localhost ([127.0.0.1]:34751 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDTLc-0006L1-SN for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Nov 2009 20:40:40 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!news2.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Wed, 25 Nov 2009 19:13:01 -0600 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) Cancel-Lock: sha1:3U39z2kw5VLIM1mG539Dr4ibVn4= Original-Lines: 17 Original-X-Trace: sv3-kT9zAyy0tt/WFvrSNwjjh3Lh9K0pIr54n1PlmGrl2q5Fa81z6nf0pB3nitAZTd+tXyZLbae9VjSsULr!23RxIzBB4uo3lR/LhjG0FkF+pkrlIYNTKr28Au9DKZeVIdJa176a9CUhMKfFsw== Original-X-Complaints-To: www.supernews.com/docs/abuse.html X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Original-Xref: news.stanford.edu gnu.emacs.help:175061 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:70132 Archived-At: Hi, I use something called tempbuf mode which silently deletes unused buffers after applying some heuristics, all I do in my .emacs is (require 'tempbuf) (add-hook 'dired-mode-hook 'tempbuf-mode) The upside is that I apply this to other buffers - info, woman etc - and they expire nicely without intervention. Very occasionally, a buffer gets expired when I want to use it , but its no big deal to repeat the dired when that hapens. I have used it for years and it still works pretty well HTH