From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Calc window handling Date: Tue, 04 Nov 2008 18:14:15 -0500 Message-ID: <87vdv3rsmw.fsf@cyd.mit.edu> References: <87prlb6tpv.fsf@cyd.mit.edu> <4910D45A.1050101@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1225840463 10889 80.91.229.12 (4 Nov 2008 23:14:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2008 23:14:23 +0000 (UTC) Cc: Jay Belanger , emacs-devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 05 00:15:24 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KxV7J-0002TC-Of for ged-emacs-devel@m.gmane.org; Wed, 05 Nov 2008 00:15:22 +0100 Original-Received: from localhost ([127.0.0.1]:58508 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxV6C-0002yT-Hg for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 18:14:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KxV68-0002yO-E5 for emacs-devel@gnu.org; Tue, 04 Nov 2008 18:14:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KxV66-0002yC-Of for emacs-devel@gnu.org; Tue, 04 Nov 2008 18:14:07 -0500 Original-Received: from [199.232.76.173] (port=42468 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxV66-0002y9-LU for emacs-devel@gnu.org; Tue, 04 Nov 2008 18:14:06 -0500 Original-Received: from cyd.mit.edu ([18.115.2.24]:48406) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KxV66-0000pz-N2 for emacs-devel@gnu.org; Tue, 04 Nov 2008 18:14:06 -0500 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 9901957E1D3; Tue, 4 Nov 2008 18:14:15 -0500 (EST) In-Reply-To: <4910D45A.1050101@gmx.at> (martin rudalics's message of "Wed, 05 Nov 2008 00:01:46 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:105390 Archived-At: martin rudalics writes: >> emacs -Q >> M-x calc >> q >> >> => The selected buffer is the Calc buffer, as the only window on the >> frame. The Calc buffer is supposed to be buried! > > I recently changed `delete-windows-on' to make a nil argument default > to the current buffer and it seems `calc-quit' is calling > `delete-windows-on' a couple of times with argument nil _not_ meaning > the current buffer. I felt quite sure about my change because > according to the documentation nil was not considered a valid argument > till now for `delete-windows-on' and most other functions in this area > have nil stand for the current buffer. I'm not sure what you're referring to. As far as I can tell, calc-quit doesn't call delete-windows-on with nil arguments: it uses the Calc buffers as the argument.