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#11365: 24.1.50; quitting gdb does not restore window configuration Date: Wed, 02 May 2012 11:40:03 +0200 Message-ID: <4FA100F3.5090102@gmx.at> References: <87zk9xqarc.fsf@gnu.org> <4F9BA973.1030806@gmx.at> <4F9F9A1D.3010605@gmx.at> <83zk9rsxpv.fsf@gnu.org> 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: dough.gmane.org 1335951649 3239 80.91.229.3 (2 May 2012 09:40:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 May 2012 09:40:49 +0000 (UTC) Cc: 11365@debbugs.gnu.org, sds@gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 02 11:40:44 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 1SPW3A-0006sL-FN for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 May 2012 11:40:44 +0200 Original-Received: from localhost ([::1]:60409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPW39-0005VS-PI for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 May 2012 05:40:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPW30-00057P-Hx for bug-gnu-emacs@gnu.org; Wed, 02 May 2012 05:40:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SPW2y-0001MG-Qq for bug-gnu-emacs@gnu.org; Wed, 02 May 2012 05:40:34 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPW2y-0001M9-Nb for bug-gnu-emacs@gnu.org; Wed, 02 May 2012 05:40:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SPW4R-0003BV-1D for bug-gnu-emacs@gnu.org; Wed, 02 May 2012 05:42: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, 02 May 2012 09:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11365 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11365-submit@debbugs.gnu.org id=B11365.133595168512188 (code B ref 11365); Wed, 02 May 2012 09:42:02 +0000 Original-Received: (at 11365) by debbugs.gnu.org; 2 May 2012 09:41:25 +0000 Original-Received: from localhost ([127.0.0.1]:33262 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SPW3p-0003AX-6E for submit@debbugs.gnu.org; Wed, 02 May 2012 05:41:25 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:60554) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1SPW3n-0003AK-0n for 11365@debbugs.gnu.org; Wed, 02 May 2012 05:41:23 -0400 Original-Received: (qmail invoked by alias); 02 May 2012 09:39:45 -0000 Original-Received: from 62-47-54-98.adsl.highway.telekom.at (EHLO [62.47.54.98]) [62.47.54.98] by mail.gmx.net (mp038) with SMTP; 02 May 2012 11:39:45 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19cOo9N9AJcHikigdBPpQQhSOmFnd1w5uwgtlVGZ6 X1XNZIaEd1nw2R In-Reply-To: <83zk9rsxpv.fsf@gnu.org> 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:59698 Archived-At: > The function to look at is gdb-reset. > (gdb-delete-frame-or-window is just what causes GDB to quit, but when > it actually does, the comint process sentinel kicks in and calls > gdb-reset.) But for gdb-reset to do what Sam wants, gdb-setup-windows > should record the configuration of windows before it sets up the GDB > windows, otherwise we will have no information about the previous > window configuration. I fail to understand you. The window configuration *is* handled by `gdb-delete-frame-or-window'. What should `gdb-reset' do about it and when? IIUC Sam wants `gdb-delete-frame-or-window' restore a previous configuration. martin