all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Nick Roberts <nickrob@snap.net.nz>, 3173@emacsbugs.donarmstrong.com
Cc: Richard Driscoll <rjd99@rjdriscoll.plus.com>
Subject: bug#3173: Enabling gud-tooltip-mode in .emacs doesn't work
Date: Sat, 2 May 2009 14:07:09 +0200	[thread overview]
Message-ID: <e01d8a50905020507jab7c43g7c3bd4e0884816d2@mail.gmail.com> (raw)
In-Reply-To: <18940.12109.204953.106@totara.tehura.co.nz>

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	other threads:[~2009-05-02 12:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <keinyjqj8.fsf@fencepost.gnu.org>
2009-04-30 14:04 ` bug#3173: Enabling gud-tooltip-mode in .emacs doesn't work Richard Driscoll
2009-05-02 11:32   ` Nick Roberts
2009-05-02 12:07     ` Lennart Borgman [this message]
2009-05-02 22:49       ` Nick Roberts
2009-11-16 20:00   ` bug#3173: marked as done (Enabling gud-tooltip-mode in .emacs doesn't work) Emacs bug Tracking System

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=e01d8a50905020507jab7c43g7c3bd4e0884816d2@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=3173@emacsbugs.donarmstrong.com \
    --cc=nickrob@snap.net.nz \
    --cc=rjd99@rjdriscoll.plus.com \
    /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.