From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harald Hanche-Olsen Newsgroups: gmane.emacs.help Subject: Re: Killing all buffers Date: Sun, 11 Feb 2007 18:02:51 +0100 Organization: Norwegian university of science and technology Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1171215649 17818 80.91.229.12 (11 Feb 2007 17:40:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Feb 2007 17:40:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 11 18:40:37 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 1HGIgk-00071z-07 for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Feb 2007 18:40:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HGIgj-0004qA-Ik for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Feb 2007 12:40:33 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.freenet.de!border2.nntp.ams.giganews.com!nntp.giganews.com!uio.no!ntnu.no!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: fiinbeck.math.ntnu.no Original-X-Trace: orkan.itea.ntnu.no 1171212948 29441 129.241.15.140 (11 Feb 2007 16:55:48 GMT) Original-X-Complaints-To: usenet@itea.ntnu.no Original-NNTP-Posting-Date: Sun, 11 Feb 2007 16:55:48 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (berkeley-unix) Cancel-Lock: sha1:KANDIzew0PnBDuCY/ij5oa0j4O8= Original-Xref: shelby.stanford.edu gnu.emacs.help:145487 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:41091 Archived-At: + Joost Kremers : | 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 - It is undesirable to believe a proposition when there is no ground whatsoever for supposing it is true. -- Bertrand Russell