From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sebastian P. Luque" Newsgroups: gmane.emacs.help Subject: Re: Killing all buffers Date: Sun, 11 Feb 2007 11:40:22 -0600 Organization: Memorial University Message-ID: <8764a8ioe1.fsf@patagonia.sebmags.homelinux.org> References: <45CF37AC.6000300@alfarrabio.di.uminho.pt> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1171215749 18083 80.91.229.12 (11 Feb 2007 17:42:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Feb 2007 17:42:29 +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:42:23 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 1HGIiU-0007vi-0D for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Feb 2007 18:42:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HGIiT-0006a7-Jk for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Feb 2007 12:42:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HGIgq-0005D5-Qb for help-gnu-emacs@gnu.org; Sun, 11 Feb 2007 12:40:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HGIgp-0005Bs-U0 for help-gnu-emacs@gnu.org; Sun, 11 Feb 2007 12:40:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HGIgp-0005Bb-Ny for help-gnu-emacs@gnu.org; Sun, 11 Feb 2007 12:40:39 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HGIgp-0004wn-Bh for help-gnu-emacs@gnu.org; Sun, 11 Feb 2007 12:40:39 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HGIgh-0003RI-9d for help-gnu-emacs@gnu.org; Sun, 11 Feb 2007 18:40:31 +0100 Original-Received: from s01060015e975d7fb.wp.shawcable.net ([24.77.75.70]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Feb 2007 18:40:31 +0100 Original-Received: from spluque by s01060015e975d7fb.wp.shawcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Feb 2007 18:40:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: s01060015e975d7fb.wp.shawcable.net User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux) Cancel-Lock: sha1:Qh88B8An2HXA2rSZOB2eiOqPNDU= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:41094 Archived-At: On Sun, 11 Feb 2007 15:35:08 +0000, Alberto Simões wrote: > Hi, > 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. The bs (no pun intended) library is very handy for this sort of thing. I use the following for handling buffers: (global-set-key "\C-x\C-b" 'bs-show) and calling that temporarily splits the window (to a customizible size) where 'k' would kill the buffer referred to in the current line. It has many useful features ('customize-group bs RET'). Would that help? -- Seb