From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Slawomir Nowaczyk Newsgroups: gmane.emacs.devel Subject: Re: Minor problem with calc-quit Date: Wed, 31 May 2006 00:51:55 +0200 Message-ID: <20060531001005.07A6.SLAWOMIR.NOWACZYK.847@student.lu.se> References: <20060530132228.0798.SLAWOMIR.NOWACZYK.847@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1149029555 29635 80.91.229.2 (30 May 2006 22:52:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 May 2006 22:52:35 +0000 (UTC) Cc: drew.adams@oracle.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 31 00:52:34 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FlD4b-0001Ec-JJ for ged-emacs-devel@m.gmane.org; Wed, 31 May 2006 00:52:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FlD4a-00027j-O3 for ged-emacs-devel@m.gmane.org; Tue, 30 May 2006 18:52:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FlD4G-0001xT-HK for emacs-devel@gnu.org; Tue, 30 May 2006 18:52:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FlD4B-0001pv-C4 for emacs-devel@gnu.org; Tue, 30 May 2006 18:52:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FlD4B-0001pB-2d for emacs-devel@gnu.org; Tue, 30 May 2006 18:51:59 -0400 Original-Received: from [130.235.16.11] (helo=himmelsborg.cs.lth.se) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FlDA3-0004aD-RP for emacs-devel@gnu.org; Tue, 30 May 2006 18:58:04 -0400 Original-Received: from [127.0.0.1] (slawek@dain [130.235.16.76]) by himmelsborg.cs.lth.se (8.13.6/8.13.6/perf-jw-tr) with ESMTP id k4UMppw9020612; Wed, 31 May 2006 00:51:52 +0200 (CEST) Original-To: emacs-devel@gnu.org In-Reply-To: X-Esmandil_Citation: done X-Mailer-Plugin: Popup Memopad for Becky!2 Ver.0.02 Rev.2 X-Mailer: Becky! ver. 2.21.04 [en] 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:55502 Archived-At: On Tue, 30 May 2006 08:55:36 -0400 (EDT) "Robert J. Chassell" wrote: #> When quitting calc (using calc-quit, i.e. "q") I get an error: #> #> I can run and quit calc with no trouble using #> this morning's GNU Emacs CVS snapshot, Tue, 2006 May 30 09:50 UTC #> GNU Emacs 22.0.50.84 (i686-pc-linux-gnu, GTK+ Version 2.8.16) #> started with #> #> emacs/src/emacs -Q -D #> #> both with and without *Calc Keypad*. Thanks for investigating this and sorry for the false alarm. Turns out I had Drew Adams' "frame-cmds.el" in my load path, which contains its own version of delete-windows-on and which somehow was being loaded even for "emacs -Q". #> The function `delete-windows-on' returns nil when there is no *Calc #> Keypad* (i.e., the argument for `delete-windows-on' is nil; I tested #> that) and (presumably) deletes the buffer containing the key pad when #> it exists. Right... It turns out that version from frame-cmds.el doesn't handle the case of "buffer" argument being nil all that well... Drew, you might want to do something about that :) -- Best wishes, Slawomir Nowaczyk ( slawomir.nowaczyk.847@student.lu.se ) If at first you dont succeed, destroy all evidence that you tried.