From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Calc window handling Date: Wed, 05 Nov 2008 00:01:46 +0100 Message-ID: <4910D45A.1050101@gmx.at> References: <87prlb6tpv.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225839806 8583 80.91.229.12 (4 Nov 2008 23:03:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2008 23:03:26 +0000 (UTC) Cc: Jay Belanger , emacs-devel To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 05 00:04:28 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 1KxUwg-0007Hy-2T for ged-emacs-devel@m.gmane.org; Wed, 05 Nov 2008 00:04:22 +0100 Original-Received: from localhost ([127.0.0.1]:35287 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxUvZ-0005jw-48 for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 18:03:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KxUvV-0005jh-7l for emacs-devel@gnu.org; Tue, 04 Nov 2008 18:03:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KxUvS-0005jV-D9 for emacs-devel@gnu.org; Tue, 04 Nov 2008 18:03:08 -0500 Original-Received: from [199.232.76.173] (port=48397 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxUvS-0005jS-9m for emacs-devel@gnu.org; Tue, 04 Nov 2008 18:03:06 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:57650) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KxUvR-0007wT-OH for emacs-devel@gnu.org; Tue, 04 Nov 2008 18:03:06 -0500 Original-Received: (qmail invoked by alias); 04 Nov 2008 23:03:04 -0000 Original-Received: from 62-47-33-46.adsl.highway.telekom.at (EHLO [62.47.33.46]) [62.47.33.46] by mail.gmx.net (mp018) with SMTP; 05 Nov 2008 00:03:04 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18dAlhup+IdgirAsYRC1MR8jOKBgschWkRh7MmUY+ BElCFonsELRlTT User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <87prlb6tpv.fsf@cyd.mit.edu> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.73 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:105385 Archived-At: > Something broke in the calc window handling recently, at least in my CVS > build. I don't know whether calc, or Emacs's window management is at > fault. > > 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! > > Did you change anything in Calc that might have caused this? Jay didn't do anything. 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. martin