unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Harald Hanche-Olsen <hanche@math.ntnu.no>
To: help-gnu-emacs@gnu.org
Subject: Re: Killing all buffers
Date: Sun, 11 Feb 2007 18:02:51 +0100	[thread overview]
Message-ID: <pcomz3ksk3o.fsf@shuttle.math.ntnu.no> (raw)
In-Reply-To: slrnesuept.75k.joostkremers@j.kremers4.news.arnhem.chello.nl

+ Joost Kremers <joostkremers@yahoo.com>:

| Alberto Simões wrote:
|> Is there any way to kill all buffers (and get prompted about the ones 
|> not saved)?
|>
|>  From time to time I like to kill all opened buffers (for instance when 
|> changing from projects), and it takes me a long time killing one at a time.
|
| there is a command kill-some-buffers, which asks you for each open buffer
| if you want it killed.
|
| you still need to type yes or no for each buffer, so in actual fact it may
| be less trouble just to kill and restart emacs...

As usual, google is your friend.  There is a solution here, at the
second hit on googling for   emacs "kill all buffers"  :

  http://www.shallowsky.com/dotfiles/.emacs

It calls kill-buffer on each buffer, which means no questions asked
unless the buffer is unsaved.

-- 
* Harald Hanche-Olsen     <URL:http://www.math.ntnu.no/~hanche/>
- It is undesirable to believe a proposition
  when there is no ground whatsoever for supposing it is true.
  -- Bertrand Russell

  reply	other threads:[~2007-02-11 17:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4345.1171208140.2155.help-gnu-emacs@gnu.org>
2007-02-11 15:50 ` Killing all buffers Joost Kremers
2007-02-11 17:02   ` Harald Hanche-Olsen [this message]
2007-02-11 19:18 ` Stefan Reichör
2007-02-11 21:34   ` Matthew Flaschen
2007-02-11 15:35 Alberto Simões
2007-02-11 17:40 ` Sebastian P. Luque
2007-02-11 18:33 ` Matthew Flaschen
2007-02-11 20:47   ` Drew Adams

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=pcomz3ksk3o.fsf@shuttle.math.ntnu.no \
    --to=hanche@math.ntnu.no \
    --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).