unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Use of dedicated windows in gdb-mi.el
@ 2015-02-06 18:02 Oleh Krehel
  2015-02-06 19:07 ` Eli Zaretskii
  0 siblings, 1 reply; 48+ messages in thread
From: Oleh Krehel @ 2015-02-06 18:02 UTC (permalink / raw)
  To: emacs-devel


Hi all,

I'm not happy with the current state of dedicated windows in gdb.  I saw
a discussion back from 2008 that kind of went nowhere.

Has the state-of-the-art in window placement improved since then?

In any case, could I add a custom variable to completely turn off
dedicated windows in gdb-mi.el? The current community workaround that I
found is to use commands that disregard dedicated windows in place of
the proper ones, just to play around gdb. I think it's better to just
give an option to turn dedicated windows off.

regards
Oleh



^ permalink raw reply	[flat|nested] 48+ messages in thread
* Re: Use of dedicated windows in gdb-mi.el
@ 2015-02-24 17:56 Glenn Brown
  2015-02-24 18:02 ` Oleh Krehel
  2015-02-24 18:31 ` Eli Zaretskii
  0 siblings, 2 replies; 48+ messages in thread
From: Glenn Brown @ 2015-02-24 17:56 UTC (permalink / raw)
  To: eliz, emacs-devel; +Cc: ohwoeowho

[-- Attachment #1: Type: text/plain, Size: 1412 bytes --]

I applaud the efforts to make gdb-mode more friendly to novices.

However, as as 20+ year users of 'M-x gdb' in emacs, I, too, find recent
changes to the default 'M-x gdb' behavior frustrating and
counter-productive for my own work: I miss inline output in the *gud*
frame: I am daily annoyed at output opening a new window I didn't ask for,
which I must manually close or 'Ctrl-x o' (other-window) past, since I am
often in 'emacs -nw' (No mouse) on remote machines.  I am annoyed that the
new window-that-I-never-asked-for won't let me 'Ctrl-x b'
(switch-to-buffer) to the buffer I actually want to see.

I understand that novices tend to use print-debugging and the new
input/output buffer can be useful to them.  I appreciate that the default
configuration should be optimized for novices doing native development in a
windowed environment.
But please understand that many professionals develop code where
stdout-in-its-own-window is counter-productive.  (In my daily use, the only
output is from the testing framework I use.)  Please understand that not
everyone has access to a mouse when doing remote and/or embedded
development.

So please, gdb-mode maintainers, if you are going to change the default
behaviour of gdb-mode, give us an easy way to get back access the old
output-in-the-*gud*-buffer behavior, which is more productive for some of
us professionals.

Thanks for your consideration,
--Glenn

[-- Attachment #2: Type: text/html, Size: 1632 bytes --]

^ permalink raw reply	[flat|nested] 48+ messages in thread
* Re: Use of dedicated windows in gdb-mi.el
@ 2015-02-10  0:49 Barry OReilly
  2015-02-10 16:05 ` Eli Zaretskii
  0 siblings, 1 reply; 48+ messages in thread
From: Barry OReilly @ 2015-02-10  0:49 UTC (permalink / raw)
  To: eliz, emacs-devel, ohwoeowho

[-- Attachment #1: Type: text/plain, Size: 601 bytes --]

> The dedicated windows are an explicit _feature_ of GDB-MI. GDB-MI
> attempts to provide a faithful emulation of an IDE-like debugging
> environment, where the source is browsed and edited in the source
> window, I/O is in the input-output window, registers and breakpoints
> in their specialized windows, etc. What you describe above is the
> consequence of that feature.

gdb-mi is buggy and the usability is poor. Anecdotally, the most
common Emacs FAQ I encounter is about gdb and the user is always
satisfied once pointed to gud-gdb. The "gdb" command ought to invoke
what "gud-gdb" does today.

[-- Attachment #2: Type: text/html, Size: 699 bytes --]

^ permalink raw reply	[flat|nested] 48+ messages in thread
[parent not found: <<87h9uynckc.fsf@gmail.com>]

end of thread, other threads:[~2015-02-25  6:09 UTC | newest]

Thread overview: 48+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-06 18:02 Use of dedicated windows in gdb-mi.el Oleh Krehel
2015-02-06 19:07 ` Eli Zaretskii
2015-02-06 19:14   ` Oleh Krehel
2015-02-06 21:33     ` Eli Zaretskii
2015-02-09  9:19       ` Thibaut Verron
2015-02-09 14:29         ` Stefan Monnier
2015-02-09 14:50           ` Oleh Krehel
2015-02-09 15:51           ` Eli Zaretskii
2015-02-09 18:42           ` martin rudalics
2015-02-09 15:44         ` Eli Zaretskii
2015-02-09 15:57           ` Oleh Krehel
2015-02-09 17:05             ` Eli Zaretskii
2015-02-09 17:22               ` Oleh Krehel
2015-02-09 17:56                 ` Eli Zaretskii
2015-02-09 18:11                   ` Oleh Krehel
2015-02-09 18:26                     ` Drew Adams
2015-02-09 18:39                       ` Oleh Krehel
2015-02-09 18:56                         ` Eli Zaretskii
2015-02-09 19:48                           ` Oleh Krehel
2015-02-09 20:00                             ` Eli Zaretskii
2015-02-09 19:44                         ` Drew Adams
2015-02-09 19:50                           ` Oleh Krehel
2015-02-09 20:01                             ` Eli Zaretskii
2015-02-09 20:09                               ` Oleh Krehel
2015-02-09 20:27                                 ` Eli Zaretskii
2015-02-09 20:33                                   ` Oleh Krehel
2015-02-09 20:44                                     ` Eli Zaretskii
2015-02-09 20:46                                       ` Oleh Krehel
2015-02-10 15:42                                         ` Eli Zaretskii
2015-02-10  2:20                             ` Stefan Monnier
2015-02-10  3:48                               ` Eli Zaretskii
2015-02-10  6:39                                 ` Oleh Krehel
2015-02-10 15:54                                   ` Eli Zaretskii
2015-02-09 18:52                     ` Eli Zaretskii
2015-02-09 18:53                       ` Oleh Krehel
2015-02-09 18:58                       ` Oleh Krehel
2015-02-09 19:20                         ` Eli Zaretskii
2015-02-09 19:47                           ` Oleh Krehel
     [not found]                   ` <<8761bb9cq8.fsf@gmail.com>
     [not found]                     ` <<83zj8m9atc.fsf@gnu.org>
2015-02-09 20:42                       ` Drew Adams
  -- strict thread matches above, loose matches on Subject: below --
2015-02-24 17:56 Glenn Brown
2015-02-24 18:02 ` Oleh Krehel
2015-02-24 18:31 ` Eli Zaretskii
2015-02-24 22:23   ` Paul Eggert
2015-02-25  3:46     ` Eli Zaretskii
2015-02-25  3:57     ` Stefan Monnier
2015-02-25  6:09       ` Glenn Brown
2015-02-10  0:49 Barry OReilly
2015-02-10 16:05 ` Eli Zaretskii
     [not found] <<87h9uynckc.fsf@gmail.com>

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).