[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gud menus
From: |
Lars Ingebrigtsen |
Subject: |
gud menus |
Date: |
Mon, 18 Oct 2021 00:23:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
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:
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
- gud menus,
Lars Ingebrigtsen <=