From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.help Subject: Re: Kill other buffers Date: Mon, 12 Dec 2005 12:06:06 +0000 Organization: muc.de e.V. -- private internet access Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1134420249 13239 80.91.229.2 (12 Dec 2005 20:44:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Dec 2005 20:44:09 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 12 21:44:07 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EluU5-0000ha-8L for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Dec 2005 21:41:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EluUa-0006tx-80 for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Dec 2005 15:41:52 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!news.germany.com!news.space.net!news.muc.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: acm.muc.de Original-X-Trace: marvin.muc.de 1134409366 52474 193.149.49.134 (12 Dec 2005 17:42:46 GMT) Original-X-Complaints-To: news-admin@muc.de Original-NNTP-Posting-Date: 12 Dec 2005 17:42:46 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686)) Original-Xref: shelby.stanford.edu gnu.emacs.help:136285 Original-To: help-gnu-emacs@gnu.org 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:31900 Archived-At: Pedro Sa da Costa wrote on Sun, 11 Dec 2005 17:52:35 +0000: > Suppose that i have 3 files opened in emacs. > Now, i'm in file 1 and i want to close file 2 and file 3. There is any > short- key to close (kill) other buffers opened, while i'm in file 1? No. At least, not a standard one. As an alternative, try this: With C-x C-b, get a list of buffers, and with C-x o (that's "control-x oh") go to that list. Use D to mark each buffer you want to kill. (C-d can be useful, too; use U to unmark buffers you didn't really mean to mark.) Finally, type X to delete the lot of them. > Thanks, > Pedro -- Alan Mackenzie (Munich, Germany) Email: aacm@muuc.dee; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a").