From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Should killing a help or compile buffer also delete the window? Date: Sun, 24 Apr 2005 17:22:53 -0400 Message-ID: References: <87is2c7mnx.fsf@brockman.se> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1114377784 9082 80.91.229.2 (24 Apr 2005 21:23:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 24 Apr 2005 21:23:04 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 24 23:23:03 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DPoZ0-0000xB-R7 for ged-emacs-devel@m.gmane.org; Sun, 24 Apr 2005 23:22:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DPoeP-0004Ut-87 for ged-emacs-devel@m.gmane.org; Sun, 24 Apr 2005 17:28:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DPodY-00040e-HC for emacs-devel@gnu.org; Sun, 24 Apr 2005 17:27:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DPodX-00040H-I0 for emacs-devel@gnu.org; Sun, 24 Apr 2005 17:27:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DPodX-0003cc-8q for emacs-devel@gnu.org; Sun, 24 Apr 2005 17:27:31 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DPocu-0005TB-Cw for emacs-devel@gnu.org; Sun, 24 Apr 2005 17:26:52 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DPoZ3-0005Cw-Iz; Sun, 24 Apr 2005 17:22:53 -0400 Original-To: Daniel Brockman In-reply-to: <87is2c7mnx.fsf@brockman.se> (message from Daniel Brockman on Sun, 24 Apr 2005 07:45:38 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:36342 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36342 I realize that you can't expect Emacs to know when you are done with a window unless you actually tell when. The obvious way to tell when is to type `C-x 1' or `C-x 0', but this leaves the temporary buffer lingering, which makes me nervous. You shouldn't consider these buffers a problem. I believe the Right Thing to do when the user kills a temporary buffer whose window was created as a side-effect of displaying the buffer in question is to restore the old window configuration. That would definitely be wrong, since you might have changed something about other windows in the mean time, and those changes should definitely not be undone. Finding "the right way" to remove a temporary buffer from the screen is a very hard problem. Nobody has ever proposed a solution that really is right all the time, or even nearly all the time. View mode has tried to implement one, but it too has problems. I don't want to spend time on thinking about it because I think it is unlikely to get anywhere.