From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nickrob@snap.net.nz (Nick Roberts) Newsgroups: gmane.emacs.bugs Subject: bug#3173: Enabling gud-tooltip-mode in .emacs doesn't work Date: Sat, 2 May 2009 23:32:29 +1200 Message-ID: <18940.12109.204953.106@totara.tehura.co.nz> References: <49F9AFD5.4000002@rjdriscoll.plus.com> Reply-To: Nick Roberts , 3173@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1241265315 4037 80.91.229.12 (2 May 2009 11:55:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 May 2009 11:55:15 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Richard Driscoll , 3173@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 02 13:55:05 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M0Do7-0000NL-ML for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 May 2009 13:55:03 +0200 Original-Received: from localhost ([127.0.0.1]:39716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M0Do7-0004Pt-6a for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 May 2009 07:55:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M0DlL-0001eR-G2 for bug-gnu-emacs@gnu.org; Sat, 02 May 2009 07:52:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M0DlE-0001bN-HB for bug-gnu-emacs@gnu.org; Sat, 02 May 2009 07:52:09 -0400 Original-Received: from [199.232.76.173] (port=47243 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M0DlA-0001an-8A for bug-gnu-emacs@gnu.org; Sat, 02 May 2009 07:52:01 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53177) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M0Dl9-0001aY-8w for bug-gnu-emacs@gnu.org; Sat, 02 May 2009 07:51:59 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n42BpqOv002786; Sat, 2 May 2009 04:51:55 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n42BeAlc031265; Sat, 2 May 2009 04:40:10 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: nickrob@snap.net.nz (Nick Roberts) Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 02 May 2009 11:40:10 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3173 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3173-submit@emacsbugs.donarmstrong.com id=B3173.124126396429281 (code B ref 3173); Sat, 02 May 2009 11:40:10 +0000 Original-Received: (at 3173) by emacsbugs.donarmstrong.com; 2 May 2009 11:32:44 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from viper.snap.net.nz (mx.southnet.co.nz [202.37.101.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n42BWcqM029251 for <3173@emacsbugs.donarmstrong.com>; Sat, 2 May 2009 04:32:40 -0700 Original-Received: from totara (89.27.255.123.static.snap.net.nz [123.255.27.89]) by viper.snap.net.nz (Postfix) with ESMTP id C2D0F3DA383; Sat, 2 May 2009 23:32:32 +1200 (NZST) Original-Received: by totara (Postfix, from userid 1000) id 4445AC133; Sat, 2 May 2009 23:32:29 +1200 (NZST) In-Reply-To: <49F9AFD5.4000002@rjdriscoll.plus.com> X-Mailer: VM 7.19 under Emacs 22.2.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 02 May 2009 07:52:08 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27605 Archived-At: > 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