From: Nick Roberts <nick@nick.uklinux.net>
Cc: jan.h.d@swipnet.se
Subject: Re: Toolbar problems with GDB mode.
Date: Sun, 5 Jan 2003 23:20:13 +0000 [thread overview]
Message-ID: <15896.48557.231339.570521@nick.uklinux.net> (raw)
In-Reply-To: <E18Uxxm-00045T-00@fencepost.gnu.org>
> Is this menu defined in a local map or a in the global map? In other
> words, is this a bug in GUD or a bug in Emacs' handling of menus?
Its on the local map (gud-minor-map). I think the patch below is the right fix
for `M-x gdb' as toolbar and menubar are reset if the user kills the GUD
buffer or types quit there. If you agree, I will install it after making
further changes so that it works for `M-x gdba' too.
Nick
--- gud.el.~1.170.~ Sun Dec 22 00:01:30 2002
+++ gud.el Sun Jan 5 23:07:43 2003
@@ -2423,6 +2423,12 @@
(gud-filter proc ""))))))
(defun gud-sentinel (proc msg)
+ (dolist (buffer (buffer-list))
+ (save-excursion
+ (set-buffer buffer)
+ (when gud-minor-mode
+ (setq gud-minor-mode nil)
+ (kill-local-variable 'tool-bar-map))))
(cond ((null (buffer-name (process-buffer proc)))
;; buffer killed
;; Stop displaying an arrow in a source file.
next prev parent reply other threads:[~2003-01-05 23:20 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-03 17:50 Toolbar problems with GDB mode Jan D.
2003-01-03 20:05 ` Nick Roberts
2003-01-03 22:09 ` Jan D.
2003-01-04 0:25 ` Nick Roberts
2003-01-04 13:05 ` Jan D.
2003-01-04 19:54 ` Nick Roberts
2003-01-04 21:44 ` Jan D.
2003-01-06 20:05 ` Kevin Rodgers
2003-01-07 23:21 ` Nick Roberts
2003-01-10 16:23 ` Jan D.
2003-01-10 21:55 ` Nick Roberts
2003-01-04 23:44 ` Richard Stallman
2003-01-05 23:20 ` Nick Roberts [this message]
2003-01-11 19:49 ` Stefan Monnier
2003-01-12 0:05 ` Nick Roberts
2003-01-12 20:13 ` Stefan Monnier
2003-01-04 9:57 ` Eli Zaretskii
2003-01-04 13:36 ` Jan D.
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=15896.48557.231339.570521@nick.uklinux.net \
--to=nick@nick.uklinux.net \
--cc=jan.h.d@swipnet.se \
/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.