From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#11567: 24.0.97; WTF? ROFL! (hilarious bug) Date: Mon, 28 May 2012 10:14:32 -0400 Message-ID: References: <8CBD82E7-3C0F-4E08-9127-9DAE6A1AFC9D@web.de> <4FC352DC.5040507@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1338214498 20856 80.91.229.3 (28 May 2012 14:14:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 May 2012 14:14:58 +0000 (UTC) Cc: Tobias Bading , 11567@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 28 16:14:57 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 1SZ0in-0001R5-5v for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 May 2012 16:14:57 +0200 Original-Received: from localhost ([::1]:46239 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZ0im-000119-SG for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 May 2012 10:14:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZ0if-0000to-8j for bug-gnu-emacs@gnu.org; Mon, 28 May 2012 10:14:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZ0ia-0005Rf-KB for bug-gnu-emacs@gnu.org; Mon, 28 May 2012 10:14:48 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZ0ia-0005Ra-H2 for bug-gnu-emacs@gnu.org; Mon, 28 May 2012 10:14:44 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SZ0jp-0007Af-Mf for bug-gnu-emacs@gnu.org; Mon, 28 May 2012 10:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 May 2012 14:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11567 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11567-submit@debbugs.gnu.org id=B11567.133821455827556 (code B ref 11567); Mon, 28 May 2012 14:16:01 +0000 Original-Received: (at 11567) by debbugs.gnu.org; 28 May 2012 14:15:58 +0000 Original-Received: from localhost ([127.0.0.1]:46691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZ0jl-0007AO-Q4 for submit@debbugs.gnu.org; Mon, 28 May 2012 10:15:57 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:59111) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZ0jk-0007AC-7s for 11567@debbugs.gnu.org; Mon, 28 May 2012 10:15:56 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoANAG6Zu09MCpYd/2dsb2JhbABEsEiDPQyBCIIVAQEEAVYjBQsLNBIUGA0kiBwFugmQRAOjM4FYgwU X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="183124879" Original-Received: from 76-10-150-29.dsl.teksavvy.com (HELO pastel.home) ([76.10.150.29]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 28 May 2012 10:14:32 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 7C7E1594DE; Mon, 28 May 2012 10:14:32 -0400 (EDT) In-Reply-To: <4FC352DC.5040507@gmx.at> (martin rudalics's message of "Mon, 28 May 2012 12:26:36 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) 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:60419 Archived-At: >> I propose the following patch, which does a little more checking if >> it's likely that emacs has been opening a special frame for the >> *Completions*-buffer. With some effort you could probably still get >> emacs to iconify an unexpecting frame, but I don't think many people >> would, if not for playing hide and seek that is... ;) Checking special-display-p is not a good idea. OTOH, it'd be OK to check whether the frame has an active minibuffer (IOW make sure we don't iconify an active minibuffer), and/or make sure the frame is not the last one. > Why can't we use `window--delete' instead of `iconify-frame' here? Probably no reason. Stefan