all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: help-gnu-emacs@gnu.org
Subject: Re: Wrong type argument: frame-live-p, #<dead frame *Group* 0x91ca460>
Date: Tue, 16 Dec 2008 11:06:31 +0100	[thread overview]
Message-ID: <49477DA7.60708@gmx.at> (raw)

 > (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, #<dead frame *Group* 0x91ca460>

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




             reply	other threads:[~2008-12-16 10:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-16 10:06 martin rudalics [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-12-15 19:55 Wrong type argument: frame-live-p, #<dead frame *Group* 0x91ca460> lsilvapereyra
2008-12-15 20:55 ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49477DA7.60708@gmx.at \
    --to=rudalics@gmx.at \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.