From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jay Belanger Newsgroups: gmane.emacs.devel Subject: Re: Calc window handling Date: Tue, 04 Nov 2008 17:47:53 -0600 Message-ID: <87prlbkq8m.fsf@gmail.com> References: <87prlb6tpv.fsf@cyd.mit.edu> <4910D45A.1050101@gmx.at> <87vdv3rsmw.fsf@cyd.mit.edu> Reply-To: jay.p.belanger@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1225842503 17147 80.91.229.12 (4 Nov 2008 23:48:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2008 23:48:23 +0000 (UTC) Cc: martin rudalics , jay.p.belanger@gmail.com, emacs-devel To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 05 00:49:25 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 1KxVeB-0004o3-9k for ged-emacs-devel@m.gmane.org; Wed, 05 Nov 2008 00:49:19 +0100 Original-Received: from localhost ([127.0.0.1]:41572 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxVd4-0002Ro-Bs for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 18:48:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KxVcz-0002OT-Jy for emacs-devel@gnu.org; Tue, 04 Nov 2008 18:48:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KxVcx-0002Lw-Oa for emacs-devel@gnu.org; Tue, 04 Nov 2008 18:48:05 -0500 Original-Received: from [199.232.76.173] (port=33667 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxVcx-0002Lt-Hm for emacs-devel@gnu.org; Tue, 04 Nov 2008 18:48:03 -0500 Original-Received: from s6.cableone.net ([24.116.0.232]:38927) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KxVcx-0004lm-BZ for emacs-devel@gnu.org; Tue, 04 Nov 2008 18:48:03 -0500 Original-Received: from belanger (unverified [24.116.73.151]) by s6.cableone.net (CableOne SMTP Service s6) with ESMTP id 9008886-1872270 for multiple; Tue, 04 Nov 2008 16:47:55 -0700 In-Reply-To: <87vdv3rsmw.fsf@cyd.mit.edu> (Chong Yidong's message of "Tue, 04 Nov 2008 18:14:15 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Vpipe: Scanner said ok (av_avast) X-NotAscii: charset=us-ascii X-IP-stats: Incoming Last 1, First 28, in=15, out=0, spam=0 ip=24.116.73.151 X-Originating-IP: 24.116.73.151 X-Abuse-Info: Send abuse complaints to abuse@cableone.net X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:105393 Archived-At: Chong Yidong writes: ... > 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. But one of those arguments is kbuf, which is equal to (get-buffer "*Calc Keypad*"). If no such buffer exists, then (delete-windows-on kbuf) will bury the current buffer and bring the Calc buffer back to the top. I will change calc-quit so that it checks to see if a buffer exists before calling delete-window-on on it. Jay