all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* M-x gdb : showing a selected buffer where it should be ?
@ 2019-06-08 22:13 jonetsu
  2019-06-09  6:10 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: jonetsu @ 2019-06-08 22:13 UTC (permalink / raw)
  To: help-gnu-emacs

In a M-x gdb session, with gdb-many-windows non nil (many windows
shown) putting the cursor in a window and selecting a buffer to show,
like the scratch buffer in the window where the cursor is at, as it
would normally be always the case, does nto work.  Instead 'something'
insists to _always_ show a selected buffer where the gdb interaction
window is, replacing the gbd interaction window.

sr-speedbar is also active.

Is there a way to bring sense to this and have emacs behave normally
regarding this, showing a selected buffer in the window where the
cursor currently is located while debugging ?



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: M-x gdb : showing a selected buffer where it should be ?
  2019-06-08 22:13 M-x gdb : showing a selected buffer where it should be ? jonetsu
@ 2019-06-09  6:10 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2019-06-09  6:10 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Sat, 8 Jun 2019 18:13:07 -0400
> From: jonetsu <jonetsu@teksavvy.com>
> 
> In a M-x gdb session, with gdb-many-windows non nil (many windows
> shown) putting the cursor in a window and selecting a buffer to show,
> like the scratch buffer in the window where the cursor is at, as it
> would normally be always the case, does nto work.  Instead 'something'
> insists to _always_ show a selected buffer where the gdb interaction
> window is, replacing the gbd interaction window.
> 
> sr-speedbar is also active.

If you don't start sr-speedbar, does the problem go away?

> Is there a way to bring sense to this and have emacs behave normally
> regarding this, showing a selected buffer in the window where the
> cursor currently is located while debugging ?

Please describe the scenario in more detail.  I've read your
description more than once, and couldn't understand what exactly are
you doing after "M-x gdb" and "M-x gdb-many-windows" (or its
equivalent on the menu bar).  Specifically, after selecting a buffer
to be displayed in a window, what do you do to trigger that
"something" which insists on showing a selected buffer where the gdb
interaction buffer?

Perhaps start by trying to reproduce the problem in "emacs -Q".  If it
doesn't reproduce there, some of your customizations are responsible.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-09  6:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-08 22:13 M-x gdb : showing a selected buffer where it should be ? jonetsu
2019-06-09  6:10 ` Eli Zaretskii

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.