bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#3173: Enabling gud-tooltip-mode in .emacs doesn't work


From: Lennart Borgman
Subject: bug#3173: Enabling gud-tooltip-mode in .emacs doesn't work
Date: Sat, 2 May 2009 14:07:09 +0200

On Sat, May 2, 2009 at 1:32 PM, Nick Roberts <nickrob@snap.net.nz> wrote:
>  > 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.

It might be related to the same problem for define-minor-mode used in
libraries not included in Emacs. (I have long ago submitted a patch
for this and I believe I still have this in EmacsW32.)

Could it be that this happen because gud-tooltip-mode is not autoloaded?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]