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: Sun, 06 May 2012 12:25:07 +0200 Message-ID: <4FA65183.8070003@gmx.at> References: <87zk9xqarc.fsf@gnu.org> <4F9BA973.1030806@gmx.at> <4F9F9A1D.3010605@gmx.at> <4FA100E7.3040605@gmx.at> <87ehr2pt0q.fsf@gnu.org> <4FA4F5F0.6030401@gmx.at> <87y5p57tqe.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 1336299974 21455 80.91.229.3 (6 May 2012 10:26:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 May 2012 10:26:14 +0000 (UTC) Cc: 11365@debbugs.gnu.org To: sds@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 06 12:26:13 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 1SQyfM-0005ny-SH for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 May 2012 12:26:12 +0200 Original-Received: from localhost ([::1]:57174 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQyfM-00020Q-8A for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 May 2012 06:26:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQyfJ-00020L-ON for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 06:26:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQyfH-0005K9-Tq for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 06:26:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQyfH-0005K4-Qd for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 06:26:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SQyh7-0003Cr-Rj for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 06:28:01 -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: Sun, 06 May 2012 10:28:01 +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.133630004212275 (code B ref 11365); Sun, 06 May 2012 10:28:01 +0000 Original-Received: (at 11365) by debbugs.gnu.org; 6 May 2012 10:27:22 +0000 Original-Received: from localhost ([127.0.0.1]:37853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQygU-0003Bv-5F for submit@debbugs.gnu.org; Sun, 06 May 2012 06:27:22 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:38405) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1SQygR-0003Bi-90 for 11365@debbugs.gnu.org; Sun, 06 May 2012 06:27:20 -0400 Original-Received: (qmail invoked by alias); 06 May 2012 10:25:18 -0000 Original-Received: from 62-47-51-130.adsl.highway.telekom.at (EHLO [62.47.51.130]) [62.47.51.130] by mail.gmx.net (mp012) with SMTP; 06 May 2012 12:25:18 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/W+e8HRRnW7Ul2p5LA/Fq42rnsJnOVM5Ugcknvqv RbDOvb2DEG4EeN In-Reply-To: <87y5p57tqe.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:59808 Archived-At: > quit-window is not a solution, because it often kills the window. Only if it was specially created by `display-buffer' before. > I live in a maximized emacs frame which is split vertically in to two > columns, and an indiscriminate use of quit-window quickly destroys that. This should not happen in the case at hand: The gud window is either created or reused via `display-buffer'. Anyway, we could provide a `quit-window-function' variable. Or maybe a `display-buffer-record-window-function' which can set up the quit-restore parameter in some way and, if the first element of the quit-restore parameter is a function, have `quit-window' call that function, passing it the cdr of the quit-restore parameter as argument. > In fact, I would like a feature which would make these two side-by-side > windows indestructible (i.e., prevent them from being destroyed other > than by an explicit interactive C-x 0). I guess I can set their > delete-window parameters to ignore but then > > -1- C-x 0 will NOT delete them while You could set the `delete-window' parameter to some home-brewed function that deletes the window for C-x 0 only. Probably, you then might have to do something similar for C-x 1 ... > -2- any application which binds ignore-window-parameters to t will > delete them. Applications binding `ignore-window-parameters' should know what they are doing. > but I digress... martin