unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* gud menus
@ 2021-10-17 22:23 Lars Ingebrigtsen
  2021-10-17 23:12 ` Stefan Monnier
  2021-10-18 12:01 ` Eli Zaretskii
  0 siblings, 2 replies; 9+ messages in thread
From: Lars Ingebrigtsen @ 2021-10-17 22:23 UTC (permalink / raw)
  To: emacs-devel

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

I'm looking at

(easy-mmode-defmap gud-minor-mode-map
  (append
     `(([menu-bar debug] . ("Gud" . ,gud-menu-map)))
     ;; Get tool bar like functionality from the menu bar on a text only
     ;; terminal.
   (unless window-system
     `(([menu-bar down]
	. (,(propertize "down" 'face 'font-lock-doc-face) . gud-down))
       ([menu-bar up]
	. (,(propertize "up" 'face 'font-lock-doc-face) . gud-up))
       ([menu-bar finish]
	. (,(propertize "finish" 'face 'font-lock-doc-face) . gud-finish))
       ([menu-bar step]
	. (,(propertize "step" 'face 'font-lock-doc-face) . gud-step))
       ([menu-bar next]
	. (,(propertize "next" 'face 'font-lock-doc-face) . gud-next))

and I'm not quite sure how this is supposed to work.

It's only run in non-graphical Emacsen, and does indeed put those texts
into the window:


[-- Attachment #2: Type: image/png, Size: 27857 bytes --]

[-- Attachment #3: Type: text/plain, Size: 446 bytes --]


However, this makes F10 not work at all, so I can't use the menus in the
buffer after saying `M-x gud-gdb'.

Clicking on those texts does nothing, either -- with or without
xterm-mouse-mode.

So...  is this something that used to work?  And is it supposed to
disable the menus?  Or does it work, just in a way that's not readily
apparent? 

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


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

end of thread, other threads:[~2021-10-18 13:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-17 22:23 gud menus Lars Ingebrigtsen
2021-10-17 23:12 ` Stefan Monnier
2021-10-18  7:02   ` Lars Ingebrigtsen
2021-10-18 12:24     ` Eli Zaretskii
2021-10-18 12:04   ` Eli Zaretskii
2021-10-18 12:01 ` Eli Zaretskii
2021-10-18 12:33   ` Lars Ingebrigtsen
2021-10-18 13:07     ` Eli Zaretskii
2021-10-18 13:19       ` Lars Ingebrigtsen

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).