From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.help Subject: Re: Wrong type argument: frame-live-p, # Date: Tue, 16 Dec 2008 11:06:31 +0100 Message-ID: <49477DA7.60708@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1229422061 25319 80.91.229.12 (16 Dec 2008 10:07:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Dec 2008 10:07:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 16 11:08:47 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LCWr2-0000Vb-Eo for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Dec 2008 11:08:40 +0100 Original-Received: from localhost ([127.0.0.1]:41714 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCWpp-0005M3-S0 for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Dec 2008 05:07:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LCWpE-0005Is-9p for help-gnu-emacs@gnu.org; Tue, 16 Dec 2008 05:06:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LCWpA-0005F5-NH for help-gnu-emacs@gnu.org; Tue, 16 Dec 2008 05:06:45 -0500 Original-Received: from [199.232.76.173] (port=45132 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCWpA-0005Ei-4E for help-gnu-emacs@gnu.org; Tue, 16 Dec 2008 05:06:44 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:43403) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LCWp9-000067-Am for help-gnu-emacs@gnu.org; Tue, 16 Dec 2008 05:06:43 -0500 Original-Received: (qmail invoked by alias); 16 Dec 2008 10:06:39 -0000 Original-Received: from 62-47-34-7.adsl.highway.telekom.at (EHLO [62.47.34.7]) [62.47.34.7] by mail.gmx.net (mp003) with SMTP; 16 Dec 2008 11:06:39 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19PHWoBmohP1TNI5wYa6l9Q5KbpeWYbEJWqYP8Yc/ PwwJy60lKxlRzS User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) Original-References: b2232458-c69a-4d9e-ba38-8ccdac74cbec@40g2000prx.googlegroups.com X-Y-GMX-Trusted: 0 X-FuHaFi: 0.73 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60671 Archived-At: > (defun kill-this-buffer-and-frame () > (interactive) > (kill-this-buffer) > (delete-frame)) > > It works as intended (that is, it kills the buffer and deletes the > frame) most of the time, but sometimes (I haven't been able to > determine when) I get: > > Wrong type argument: frame-live-p, # Sometimes a separate frame gets automatically killed along with its buffer, so you should not call `delete-frame' after `kill-this-buffer'. However, in the special case there's another function which wants to do something in the *Group* frame after you killed it. You would have to tell us which package is responsible for creating the *Group* frame in order to find out where the error comes from. martin