unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Colin S. Miller" <no-spam-thank-you@csmiller.demon.co.uk>
To: help-gnu-emacs@gnu.org
Subject: Re: delete unneeded buffers
Date: Tue, 19 Aug 2008 19:58:55 +0100	[thread overview]
Message-ID: <48ab17f1$0$90276$14726298@news.sunsite.dk> (raw)
In-Reply-To: <g8f004$m4e$1@tamarack.fernuni-hagen.de>

Fabian Braennstroem wrote:
> Hi,
> 
>     does anyone know of a good way to kill unneeded buffers?
>     I think of something which kills all unvisible dired
>     buffers. Would be nice, if anyone has a suggestion.
> 
> Greetings!
>  Fabian
Fabian,

If you use ibuffer instead of buffer (normally on C-x b) you can do this.

To try out ibuffer, use M-x ibuffer-list-buffers.
To replace buffer with ibuffer, place in your
init.el

(require 'ibuffer)
(global-set-key [(control x) (control b)] 'ibuffer-list-buffers)

Once in *Ibuffer*
press
/ m RET dired-mode RET
to list only the dired buffers,
move the cursor to [Default],
then press
d x
to select and delete all dired buffers,
then press
/ /
to list all buffers again.

You can also use
s v
to sort by last view time, and
s m
to sort by major-mode.

HTH,
Colin S. Miller



-- 
Replace the obvious in my email address with the first three letters of the hostname to reply.


  reply	other threads:[~2008-08-19 18:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-19 17:30 delete unneeded buffers Fabian Braennstroem
2008-08-19 18:58 ` Colin S. Miller [this message]
2008-08-19 20:03 ` Drew Adams
2008-08-20  1:02   ` Drew Adams
     [not found] ` <mailman.17073.1219176206.18990.help-gnu-emacs@gnu.org>
2008-08-19 20:14   ` weber
2008-08-20  9:50 ` Nikolaj Schumacher
2008-08-21  4:51 ` Fabian Braennstroem

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='48ab17f1$0$90276$14726298@news.sunsite.dk' \
    --to=no-spam-thank-you@csmiller.demon.co.uk \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).