From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: kill buffer in other window Date: Tue, 04 Mar 2008 19:27:06 +1100 Organization: Rapt Technologies Message-ID: <87wsoiq4h1.fsf@lion.rapttech.com.au> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204620131 25325 80.91.229.12 (4 Mar 2008 08:42:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Mar 2008 08:42:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 04 09:42:38 2008 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 1JWSjH-0000Yn-Aw for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Mar 2008 09:42:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JWSik-0003sM-9R for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Mar 2008 03:41:58 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!sn-xt-sjc-04!sn-xt-sjc-01!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:FgdIcZrkVvCPzyr2xXg4tYRoNuA= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 27 Original-Xref: shelby.stanford.edu gnu.emacs.help:156667 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:52038 Archived-At: Florian Kaufmann writes: > Hello > > Say you called something that displays a new buffer in the 'other > window', e.g. describe-function, grep. When you done reading that > buffer, you want to undo the displaying. That is kill the buffer, and > delete the window if one was created. I din't found yet a convenient > way to do it. Of course I can write a small lisp function, but I think > there are other cool ways. > First, don't get hung up on killing the buffer. Buffers like *Help* don't use much resoruces and the buffer will be reused next time you use help. I've often got many buffers open in emacs at a time (normally around 30 or more). All you want is to have the buffer not use up valuable display space. To do this, use the window commands. For example, when a help buffer pops up and your finished with it, just hit C-x 1 from within the buffer you want to stay and the help buffer will vanish while your current buffer expands to fill the frame. Tim -- tcross (at) rapttech dot com dot au