[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#3173: Enabling gud-tooltip-mode in .emacs doesn't work
From: |
Nick Roberts |
Subject: |
bug#3173: Enabling gud-tooltip-mode in .emacs doesn't work |
Date: |
Sat, 2 May 2009 23:32:29 +1200 |
> When running gdb under Emacs, M-x gud-tooltip-mode works fine with
> tooltips appearing as the mouse is moved over variables.
>
> With the following in the .emacs file:-
>
>
> (custom-set-variables
> ;; custom-set-variables was added by Custom.
> ;; If you edit it by hand, you could mess it up, so be careful.
> ;; Your init file should contain only one such instance.
> ;; If there is more than one, they won't work right.
> '(gud-tooltip-mode t)
> '(inhibit-startup-screen t))
>
> .....Emacs and gdb are then started but nothing happens when the mouse
> is moved over variables.
It looks like setting a variable defined through define-minor-mode to t in
customize doesn't run the body code when that minor mode is loaded. I
don't know if that's a bug in customize or if gud-tooltip-mode shouldn't
be defined as a minor mode.
--
Nick http://www.inet.net.nz/~nickrob
- bug#3173: Enabling gud-tooltip-mode in .emacs doesn't work,
Nick Roberts <=