From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9419: 24.0.50; C-x k deletes the entire frame instead of switching to another buffer Date: Thu, 01 Sep 2011 20:46:29 +0300 Message-ID: <831uw0dukq.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1314899274 29751 80.91.229.12 (1 Sep 2011 17:47:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Sep 2011 17:47:54 +0000 (UTC) To: 9419@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 01 19:47:49 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QzBMh-000651-VR for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Sep 2011 19:47:48 +0200 Original-Received: from localhost ([::1]:38226 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzBMh-0005PA-89 for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Sep 2011 13:47:47 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzBMe-0005Ou-4q for bug-gnu-emacs@gnu.org; Thu, 01 Sep 2011 13:47:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QzBMc-0002Kr-81 for bug-gnu-emacs@gnu.org; Thu, 01 Sep 2011 13:47:44 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzBMc-0002Kh-6M for bug-gnu-emacs@gnu.org; Thu, 01 Sep 2011 13:47:42 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QzBPp-0007Iy-Lt; Thu, 01 Sep 2011 13:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Sep 2011 17:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9419 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.131489943428045 (code B ref -1); Thu, 01 Sep 2011 17:51:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Sep 2011 17:50:34 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QzBPN-0007II-UP for submit@debbugs.gnu.org; Thu, 01 Sep 2011 13:50:34 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QzBPK-0007IA-NZ for submit@debbugs.gnu.org; Thu, 01 Sep 2011 13:50:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QzBM5-0002FW-Mk for submit@debbugs.gnu.org; Thu, 01 Sep 2011 13:47:10 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:34307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzBM5-0002FS-LK for submit@debbugs.gnu.org; Thu, 01 Sep 2011 13:47:09 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzBM4-0005Hz-M4 for bug-gnu-emacs@gnu.org; Thu, 01 Sep 2011 13:47:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QzBM3-0002F8-5r for bug-gnu-emacs@gnu.org; Thu, 01 Sep 2011 13:47:08 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:53556) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzBM2-0002F3-Ot for bug-gnu-emacs@gnu.org; Thu, 01 Sep 2011 13:47:07 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LQU00E00UBDD800@a-mtaout20.012.net.il> for bug-gnu-emacs@gnu.org; Thu, 01 Sep 2011 20:46:28 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.83.44]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LQU00EIJUPF6O30@a-mtaout20.012.net.il> for bug-gnu-emacs@gnu.org; Thu, 01 Sep 2011 20:46:28 +0300 (IDT) X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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.11 Precedence: list Resent-Date: Thu, 01 Sep 2011 13:51:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:50530 Archived-At: This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': emacs -Q M-x list-colors-display RET C-x 1 C-x 5 b *Colors* RET C-x b foo RET C-x b *Colors* RET C-x k Boom! the frame is deleted, although there's at least one more buffer (`foo') in that frame's nuffer list. This happens because window-deletable-p returns `frame' for the window of the *Colors* buffer. It does so because that buffer's window's quit-restore parameter has `new-frame' as its car. Why is that so, I don't know; quit-restore doesn't seem to be documented anywhere, only mentioned in a few doc strings without any explanation. Perhaps the reason is that *Colors* was the first buffer on that frame? If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file d:/gnu/bzr/emacs/trunk/etc/DEBUG. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-09-01 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt' 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: ENU value of $XMODIFIERS: nil locale-coding-system: cp1255 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 t C-g M-x l i s t - c o l o C-x 1 C-x 5 b * C o l C-x b f o o x C-x b b a r C-x b C-x k M-x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Quit Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug color help-mode easymenu view time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars 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 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 multi-tty emacs)