From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#12764: 24.2; `quit-window' wrongly iconifies frame Date: Wed, 31 Oct 2012 11:26:18 +0100 Message-ID: <5090FCCA.2030101@gmx.at> References: <87hapdcfm7.fsf@silenus.orebokech.com> <87pq408wt3.fsf@gnu.org> <508FAB9C.7020504@gmx.at> NNTP-Posting-Host: plane.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 1351679259 11752 80.91.229.3 (31 Oct 2012 10:27:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2012 10:27:39 +0000 (UTC) Cc: Romain Francoise , 12764@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 31 11:27:47 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 1TTVWT-0000wb-MS for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Oct 2012 11:27:45 +0100 Original-Received: from localhost ([::1]:42732 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTVWL-0004tM-A0 for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Oct 2012 06:27:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTVWD-0004mu-J3 for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 06:27:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTVWB-0001lm-1V for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 06:27:29 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTVWA-0001lg-U6 for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 06:27:26 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TTVYh-0005Ci-7Q for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 06:30:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Oct 2012 10:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12764 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12764-submit@debbugs.gnu.org id=B12764.135167934319881 (code B ref 12764); Wed, 31 Oct 2012 10:30:03 +0000 Original-Received: (at 12764) by debbugs.gnu.org; 31 Oct 2012 10:29:03 +0000 Original-Received: from localhost ([127.0.0.1]:40837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TTVXi-0005Ac-UD for submit@debbugs.gnu.org; Wed, 31 Oct 2012 06:29:03 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:51300) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TTVXg-0005AA-6u for 12764@debbugs.gnu.org; Wed, 31 Oct 2012 06:29:01 -0400 Original-Received: (qmail invoked by alias); 31 Oct 2012 10:26:22 -0000 Original-Received: from 62-47-46-176.adsl.highway.telekom.at (EHLO [62.47.46.176]) [62.47.46.176] by mail.gmx.net (mp031) with SMTP; 31 Oct 2012 11:26:22 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/ED2cBhS3EhwU3eFJWa3AgdZXuQ4XYhyF6zkwNTc AaLdYbsO7ulpPX In-Reply-To: <508FAB9C.7020504@gmx.at> 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:66266 Archived-At: > *** lisp/window.el 2012-10-27 08:58:30 +0000 > --- lisp/window.el 2012-10-30 09:51:16 +0000 > *************** > *** 3556,3562 **** > quad entry) > (cond > ((and (not prev-buffer) > ! (memq (nth 1 quit-restore) '(window frame)) > (eq (nth 3 quit-restore) buffer) > ;; Delete WINDOW if possible. > (window--delete window nil (eq bury-or-kill 'kill))) > --- 3556,3567 ---- > quad entry) > (cond > ((and (not prev-buffer) > ! (or (eq (nth 1 quit-restore) 'frame) > ! (and (eq (nth 1 quit-restore) 'window) > ! ;; If the window has been created on an existing > ! ;; frame and winds up as the sole window on that > ! ;; frame, do not delete it (Bug#12764). > ! (not (eq window (frame-root-window window))))) > (eq (nth 3 quit-restore) buffer) > ;; Delete WINDOW if possible. > (window--delete window nil (eq bury-or-kill 'kill))) Installed now in revision 110748 on trunk. Please check again. Thanks, martin