From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#7896: 23.2.91; Multi-window gdb uses other frames confusingly Date: Tue, 10 May 2022 04:48:26 +0200 Message-ID: <878rram7b9.fsf@gnus.org> References: <87pqrniidz.fsf@sc3d.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33354"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 7896@debbugs.gnu.org To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 10 04:49:28 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1noFwF-0008U8-Mh for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 May 2022 04:49:27 +0200 Original-Received: from localhost ([::1]:48262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noFwE-0001gN-7e for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 May 2022 22:49:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noFvq-0001g5-2U for bug-gnu-emacs@gnu.org; Mon, 09 May 2022 22:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37782) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1noFvp-00023o-Pt for bug-gnu-emacs@gnu.org; Mon, 09 May 2022 22:49:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1noFvp-00070d-LK for bug-gnu-emacs@gnu.org; Mon, 09 May 2022 22:49:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 May 2022 02:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7896 X-GNU-PR-Package: emacs Original-Received: via spool by 7896-submit@debbugs.gnu.org id=B7896.165215091826900 (code B ref 7896); Tue, 10 May 2022 02:49:01 +0000 Original-Received: (at 7896) by debbugs.gnu.org; 10 May 2022 02:48:38 +0000 Original-Received: from localhost ([127.0.0.1]:59909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noFvS-0006zn-8b for submit@debbugs.gnu.org; Mon, 09 May 2022 22:48:38 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:49338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noFvP-0006zT-RW for 7896@debbugs.gnu.org; Mon, 09 May 2022 22:48:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=2xFJbAgNDPWu5V9mlSheetWA2ccrlPUB5BmUOwSlQeo=; b=hdoPhX2HdGZmp/AO6GTuif2EcA dwCSmE5fJ1Ai7LtTbnTRgUTCVd5ylnP9Cz0Md0zk7hBTrCnzvJkSjXmvd7Z+wClgcy0W4mudUSl/h 36azITXlcuuHGvEbeUAzvhLcTSugYCsEsL6epY0kax6oJTEVp7rDeCDyWKV1ph3BRwOA=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1noFvG-0005PE-Ga; Tue, 10 May 2022 04:48:29 +0200 X-Now-Playing: Joni Mitchell's _Ladies of the Canyon_: "The Circle Game" In-Reply-To: <87pqrniidz.fsf@sc3d.org> (Reuben Thomas's message of "Sun, 23 Jan 2011 18:28:56 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:231805 Archived-At: Reuben Thomas writes: > While using multi-window gdb, I opened another frame, and looked at a > related source file in it, though not the one that currently contained > the execution point. I then switched back to the gdb frame, and advanced > execution until it reached a point in the file in the buffer currently > displayed in the other frame. gdb raised this frame, which happened to > fill the whole screen (although the focus remained in the gdb frame). > > I submit that this is rather unhelpful behavior: in multi-window mode, > gdb should always show the current execution point in the source window. > I don=E2=80=99t expect the behavior to change just because I happen to ha= ve the > relevant buffer open in another frame. (I'm going through old bug reports that unfortunately weren't resolved at the time.) Some people have multi frame setups they display side-by-side, and in those cases, popping up a new window with the same buffer would be unhelpful. So different people have different preferences here, but it sounds like what gdb does by default is reasonable. (I haven't actually tested this to see whether the behaviour is still the same.) In any case, to customise complex window preferences like this, Emacs uses the display-buffer-alist (and related) variables. So I don't think there's anything to be done here on the Emacs side, and I'm therefore closing this bug report. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no