all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Reuben Thomas <rrt@sc3d.org>
Cc: 7896@debbugs.gnu.org
Subject: bug#7896: 23.2.91; Multi-window gdb uses other frames confusingly
Date: Tue, 10 May 2022 04:48:26 +0200	[thread overview]
Message-ID: <878rram7b9.fsf@gnus.org> (raw)
In-Reply-To: <87pqrniidz.fsf@sc3d.org> (Reuben Thomas's message of "Sun, 23 Jan 2011 18:28:56 +0000")

Reuben Thomas <rrt@sc3d.org> 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’t expect the behavior to change just because I happen to have 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.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2022-05-10  2:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-23 18:28 bug#7896: 23.2.91; Multi-window gdb uses other frames confusingly Reuben Thomas
2022-05-10  2:48 ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878rram7b9.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=7896@debbugs.gnu.org \
    --cc=rrt@sc3d.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.