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: Sat, 05 May 2012 12:24:47 +0200 Message-ID: <4FA4FFEF.6000402@gmx.at> References: <87zk9xqarc.fsf@gnu.org> <4F9BA973.1030806@gmx.at> <4F9F9A1D.3010605@gmx.at> <83zk9rsxpv.fsf@gnu.org> <4FA100F3.5090102@gmx.at> <83mx5qsh8v.fsf@gnu.org> <4FA4F5EC.8080203@gmx.at> <837gwr555i.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 1336213521 30469 80.91.229.3 (5 May 2012 10:25:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 May 2012 10:25:21 +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 Sat May 05 12:25:20 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 1SQcAx-00024W-Ci for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 May 2012 12:25:19 +0200 Original-Received: from localhost ([::1]:46658 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQcAw-0001LJ-Ju for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 May 2012 06:25:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQcAt-0001L7-LD for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 06:25:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQcAr-0004if-Vg for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 06:25:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQcAr-0004iY-S6 for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 06:25:13 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SQcCc-0005tv-A8 for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 06:27:02 -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: Sat, 05 May 2012 10:27: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.133621359822647 (code B ref 11365); Sat, 05 May 2012 10:27:02 +0000 Original-Received: (at 11365) by debbugs.gnu.org; 5 May 2012 10:26:38 +0000 Original-Received: from localhost ([127.0.0.1]:36759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQcCC-0005tC-9G for submit@debbugs.gnu.org; Sat, 05 May 2012 06:26:38 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:57611) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1SQcC7-0005st-Px for 11365@debbugs.gnu.org; Sat, 05 May 2012 06:26:33 -0400 Original-Received: (qmail invoked by alias); 05 May 2012 10:24:34 -0000 Original-Received: from 62-47-36-225.adsl.highway.telekom.at (EHLO [62.47.36.225]) [62.47.36.225] by mail.gmx.net (mp070) with SMTP; 05 May 2012 12:24:34 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/x6zUgqQrxEySSG8j0bdb+cGqc8Jiy/NiEQMhjPj Zfj3/KtR+40Cer In-Reply-To: <837gwr555i.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:59777 Archived-At: > Why in gud-common-init? Why not in gdb-many-windows? Because `gud-common-init' sets up the initial *gud- window. At the time `gdb-many-windows' is called (if it is called at all) the knowledge about any previous window buffer is lost because it got changed by `gud-common-init'. > The other method of invoking GDB, gdb-gud, does not change the window > configuration in any significant way, and never restored window > configuration for as long as the old "M-x gdb" existed. Sam complained that >> *gud-lisp.run* buffer and window are preserved and that >> it does not restore the window configuration which existed >> when at M-x gdb RET time. Your proposal would address neither of these. > So I think we > can limit this feature to gdb-many-windows, which _does_ change the > window configuration in dramatic ways. It does so, indeed. martin