From: Nick Roberts <nickrob@snap.net.nz>
Cc: emacs-devel@gnu.org
Subject: Re: Window/buffer management in gdb-ui
Date: Thu, 25 Nov 2004 15:14:46 +1300 [thread overview]
Message-ID: <16805.16406.567084.398496@farnswood.snap.net.nz> (raw)
In-Reply-To: <jwvpt23arhf.fsf-monnier+emacs@gnu.org>
> But now that I look at the code a bit more closely, I think I see where I'm
> suffering the most: it's in gdb-display-buffer. Could you explain to me why
> `display-buffer' is not doing what you want?
gdb-display-buffer was part of gdba.el. It did extra things like not replace
the window with the GUD buffer with new content. Perhaps display-buffer could
be used but now I make new gdb-related windows dedicated here
> Also, would it be possible to introduce a variable to prevent displaying the
> ASM code (when debugging C code, I prefer not to see anything than to be
> shown a piece of assembly when I'm in the middle of some libc-internal
> routine)?
Yes, I have thought that too. I'll put it on my TODO list.
> Here is also a patch that might give a flavor of the direction I'd like to
> go w.r.t buffer/window management. Please commit the parts which seem to
> work in your setup. They help mine.
It doesn't seem to interfere with the setups that I'm thinking of, so I've
installed these changes. I don't really know what the change below does
but gdb-frame-breakpoints-buffer is one of a family of commands accessible
from the menubar (GUD->GDB Frames->...) so should these be changed also?
> @@ -1199,9 +1199,8 @@
> (defun gdb-frame-breakpoints-buffer ()
> "Display status of user-settable breakpoints in a new frame."
> (interactive)
> - (select-frame (make-frame gdb-frame-parameters))
> - (switch-to-buffer (gdb-get-create-buffer 'gdb-breakpoints-buffer))
> - (set-window-dedicated-p (selected-window) t))
> + (let ((special-display-regexps (append special-display-regexps '(".*"))))
> + (pop-to-buffer (gdb-get-create-buffer 'gdb-breakpoints-buffer))))
>
> (defvar gdb-breakpoints-mode-map
> (let ((map (make-sparse-keymap))
Nick
next prev parent reply other threads:[~2004-11-25 2:14 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-24 14:59 Window/buffer management in gdb-ui Stefan Monnier
2004-11-24 20:09 ` Nick Roberts
2004-11-24 20:42 ` {Spam?} " Stefan Monnier
2004-11-25 2:30 ` Nick Roberts
2004-11-25 16:26 ` {Spam?} " Stefan
2004-11-24 21:30 ` Kai Grossjohann
2004-11-24 21:39 ` Kai Grossjohann
[not found] ` <jwvpt23arhf.fsf-monnier+emacs@gnu.org>
2004-11-25 2:14 ` Nick Roberts [this message]
2004-11-25 16:07 ` Stefan Monnier
2004-11-25 23:59 ` Nick Roberts
2004-11-26 4:21 ` Stefan Monnier
2004-11-26 15:53 ` Nick Roberts
2004-11-26 22:46 ` {Spam?} " Stefan Monnier
2004-11-26 10:16 ` Kim F. Storm
2004-11-26 15:42 ` Nick Roberts
2004-11-26 22:43 ` Stefan Monnier
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=16805.16406.567084.398496@farnswood.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=emacs-devel@gnu.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.