From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.bugs Subject: bug#12764: 24.2; `quit-window' wrongly iconifies frame Date: Mon, 29 Oct 2012 19:12:00 +0100 Message-ID: <87hapdcfm7.fsf@silenus.orebokech.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1351534372 28680 80.91.229.3 (29 Oct 2012 18:12:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Oct 2012 18:12:52 +0000 (UTC) To: 12764@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 29 19:13:00 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 1TStpX-0007b8-Pt for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Oct 2012 19:12:56 +0100 Original-Received: from localhost ([::1]:60202 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TStpP-0007ao-I3 for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Oct 2012 14:12:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TStpI-0007ZQ-PN for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2012 14:12:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TStpE-0007F4-IZ for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2012 14:12:40 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TStpE-0007F0-ES for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2012 14:12:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TStra-0000r7-R1; Mon, 29 Oct 2012 14:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Romain Francoise Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: rudalics@gmx.at, bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Oct 2012 18:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12764 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: martin rudalics Original-Received: via spool by submit@debbugs.gnu.org id=B.13515344883253 (code B ref -1); Mon, 29 Oct 2012 18:15:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Oct 2012 18:14:48 +0000 Original-Received: from localhost ([127.0.0.1]:38474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TStrL-0000qQ-G0 for submit@debbugs.gnu.org; Mon, 29 Oct 2012 14:14:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56482) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TStrH-0000qF-Vs for submit@debbugs.gnu.org; Mon, 29 Oct 2012 14:14:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TStoq-00076P-8D for submit@debbugs.gnu.org; Mon, 29 Oct 2012 14:12:13 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:41508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TStoq-00076D-4L for submit@debbugs.gnu.org; Mon, 29 Oct 2012 14:12:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42242) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TStol-0007VF-GV for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2012 14:12:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TStoj-00072y-Tt for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2012 14:12:07 -0400 Original-Received: from stringer.orebokech.com ([88.190.240.207]:34927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TStoj-00072b-KU for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2012 14:12:05 -0400 Original-Received: from silenus.orebokech.com (silenus [192.168.1.4]) by stringer.orebokech.com (Postfix) with ESMTP id 94DE018801A4 for ; Mon, 29 Oct 2012 19:12:00 +0100 (CET) Original-Received: by silenus.orebokech.com (Postfix, from userid 1000) id 6F1EDA0245; Mon, 29 Oct 2012 19:12:00 +0100 (CET) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:66204 Archived-At: There's a regression in Emacs 24 compared to Emacs 23 wrt the behavior of `quit-window'. In some circumstances, it iconifies frames that were existing before the current buffer was created, which (AIUI) it's not supposed to do. Recipe starting from `emacs -Q': - C-x 5 2 to create a new frame - in the new frame, M-x man RET emacs RET - C-x 0 to make the man buffer the current buffer - q When you hit `q' the frame gets iconified, even though it was not created by M-x man. Git bisect finds the following commit as the culprit: | eb54d3ecc6903155955fc07d7f3baaed912c8378 is the first bad commit | commit eb54d3ecc6903155955fc07d7f3baaed912c8378 | Author: martin rudalics | Date: Tue Oct 4 17:28:25 2011 +0200 | | Make frame iconification/deletion optional when burying buffers. | | * window.el (window--delete): New function. | (frame-auto-delete): Resuscitate option. | (bury-buffer, replace-buffer-in-windows) | (quit-window): Rewrite using window--delete. | (display-buffer-pop-up-frame, display-buffer-pop-up-window): | Pass display-buffer-mark-dedicated to window--display-buffer-2 | (Bug#9639). Adding martin to Cc list. Thanks, In GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2012-10-29 on silenus Windowing system distributor `The X.Org Foundation', version 11.0.11204000 Configured using: `configure '--with-x-toolkit=lucid' '--without-dbus' '--without-gconf' '--without-gsettings' '--without-selinux' '--without-sound' '--without-m17n-flt' '--without-gpm' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r SPC e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dynamic-setting font-render-setting x-toolkit x multi-tty emacs)