From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#10955: 24.0.94; Closing Speedbar frame raises error Date: Tue, 06 Mar 2012 17:04:27 +0100 Message-ID: <87sjhlhg1g.fsf@escher.home> References: <871up6kn8c.fsf@escher.home> <4F562EF1.8060701@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1331049980 27478 80.91.229.3 (6 Mar 2012 16:06:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2012 16:06:20 +0000 (UTC) Cc: 10955@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 06 17:06:15 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S4wty-0008Cn-Rf for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Mar 2012 17:06:14 +0100 Original-Received: from localhost ([::1]:57514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4wty-0007Vx-4D for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Mar 2012 11:06:14 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4wtq-0007U4-AR for bug-gnu-emacs@gnu.org; Tue, 06 Mar 2012 11:06:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4wtP-0000VF-74 for bug-gnu-emacs@gnu.org; Tue, 06 Mar 2012 11:06:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4wtP-0000VA-3W for bug-gnu-emacs@gnu.org; Tue, 06 Mar 2012 11:05:39 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S4wtm-00019z-1i for bug-gnu-emacs@gnu.org; Tue, 06 Mar 2012 11:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Mar 2012 16:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10955-submit@debbugs.gnu.org id=B10955.13310499454433 (code B ref 10955); Tue, 06 Mar 2012 16:06:02 +0000 Original-Received: (at 10955) by debbugs.gnu.org; 6 Mar 2012 16:05:45 +0000 Original-Received: from localhost ([127.0.0.1]:36069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4wtU-00019C-TN for submit@debbugs.gnu.org; Tue, 06 Mar 2012 11:05:45 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:46277) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1S4wt9-00018d-U6 for 10955@debbugs.gnu.org; Tue, 06 Mar 2012 11:05:34 -0500 Original-Received: (qmail invoked by alias); 06 Mar 2012 16:04:29 -0000 Original-Received: from i59F55325.versanet.de (EHLO escher.home) [89.245.83.37] by mail.gmx.net (mp039) with SMTP; 06 Mar 2012 17:04:29 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX18koD5BkJAktKqiZqUo8TJmN25+lGi9Z5Lr+8E8UF fhJDhbyA7K0Fyl In-Reply-To: <4F562EF1.8060701@gmx.at> (martin rudalics's message of "Tue, 06 Mar 2012 16:36:17 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57536 Archived-At: On Tue, 06 Mar 2012 16:36:17 +0100 martin rudalics wrote: >> 0. emacs -Q >> 1. Check "Enter Debugger on Error" in the Options menu. >> 2. M-x speedbar >> 3. With the Speedbar frame selected, type `q'. >> =>The Speedbar frame vanishes, and in the remaining frame, the following >> backtrace appears: >> >> Debugger entered--Lisp error: (error "Attempt to delete the sole visible or >> iconified frame") >> delete-frame(#) >> window--delete(# t t) >> replace-buffer-in-windows(#) >> kill-buffer(#) >> dframe-close-frame() >> call-interactively(dframe-close-frame nil nil) [...] > So this code makes it impossible to delete an invisible (or iconified) > frame if it's selected and there is only one other visible frame. The > attached patch should fix this but I'm not very sure whether it's > correct. I also can't say if it's the best fix, but I confirm that with it I don't see the error I reported. Steve Berman