From unknown Thu Jun 19 14:02:50 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#19966 <19966@debbugs.gnu.org> To: bug#19966 <19966@debbugs.gnu.org> Subject: Status: 24.4; Get error on hover over variable for tooltip inspection, gud/pdb Reply-To: bug#19966 <19966@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:02:50 +0000 retitle 19966 24.4; Get error on hover over variable for tooltip inspection= , gud/pdb reassign 19966 emacs submitter 19966 Tom Burbage severity 19966 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 27 17:58:20 2015 Received: (at submit) by debbugs.gnu.org; 27 Feb 2015 22:58:20 +0000 Received: from localhost ([127.0.0.1]:60286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YRTrP-0007iu-VT for submit@debbugs.gnu.org; Fri, 27 Feb 2015 17:58:20 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56952) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YRTP7-0006xP-Ua for submit@debbugs.gnu.org; Fri, 27 Feb 2015 17:29:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YRTP1-0008Cq-MV for submit@debbugs.gnu.org; Fri, 27 Feb 2015 17:29:00 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRTP1-0008Cm-KR for submit@debbugs.gnu.org; Fri, 27 Feb 2015 17:28:59 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRTP0-00031b-43 for bug-gnu-emacs@gnu.org; Fri, 27 Feb 2015 17:28:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YRTOy-0008C2-KB for bug-gnu-emacs@gnu.org; Fri, 27 Feb 2015 17:28:58 -0500 Received: from mail-pd0-x233.google.com ([2607:f8b0:400e:c02::233]:33626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRTOy-0008BT-9J for bug-gnu-emacs@gnu.org; Fri, 27 Feb 2015 17:28:56 -0500 Received: by pdjz10 with SMTP id z10so24206334pdj.0 for ; Fri, 27 Feb 2015 14:28:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=OUjZCmuwp93dnh7jjzljUg7xdqLs4Dv7C1muvqHX/1E=; b=ZWhTa0Pq3CzH3hJtz5GW4+Q4TkXMIpYJYNtHje3f/U/DG1eH4A/94QFQd0hTQlozxu r/ERuu9GclaKefduVMrleYoLxMHbN2rADubzQCYKkUg3eHD8Ylfl/QeqLtKk5GjkzML2 HIwznJwuWoWz7fi4HRzcpbz6O9LRHCf2QwKy4hVU2Tb10ZiR2povCLxs9QoFbDZDPCiS AeIBJqPWOXG93DzGaYK9WtkGPmboIJyOHGXrhpMZY3jL0ZlXS9zctZZvRAwOOonJ8+BT 0yB4SUYj2WHKUgEE1kfo0sBr2mr5UT0/8Dpk6Rm8aEQ6wFSqqeZkUyl+Dc01RObXOOvv JrKw== X-Received: by 10.66.142.100 with SMTP id rv4mr27961389pab.84.1425076134750; Fri, 27 Feb 2015 14:28:54 -0800 (PST) Received: from ?IPv6:::1? ([2601:9:5080:8b3:6062:8b12:3a32:ef05]) by mx.google.com with ESMTPSA id lf10sm3947323pbc.66.2015.02.27.14.28.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Feb 2015 14:28:53 -0800 (PST) Message-ID: <54F0EFA3.5020106@gmail.com> Date: Fri, 27 Feb 2015 14:28:51 -0800 From: Tom Burbage User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 24.4; Get error on hover over variable for tooltip inspection, gud/pdb Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 150227-0, 02/27/2015), Outbound message X-Antivirus-Status: Clean X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 27 Feb 2015 17:58:17 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Using current binary build of Emacs 24.4 for Windows. emacs-24.4-bin-i686-pc-mingw32 The use context is: 1 - Open a python source file 2 - M-x pdb ;; run gud/pdb for the current .py 3 - step until a variable becomes defined/initialized 4 - hover the mouse over the variable name in the source The errors: Error running timer `tooltip-timeout': (wrong-type-argument markerp nil) Command: next [4 times] Error running timer `tooltip-timeout': (void-variable v) [2 times] NOTES - I have the tooltip.el tooltip-mode OFF/nil - I have gud-tooltip-mode ON (obviously) - If I start Emacs w/ --no-init, I can still reproduce the problem - If I replace progmodes/gud.el , gud.elc with those from 24.3, the errors do not occur Other problems ensue on Windows when tooltip messages actually display as tooltip windows, and I suspect maybe it is an HWND stealing problem, but not sure and that's a different issue. I'm OK with the info being printed to the "echo area" In GNU Emacs 24.4.1 (i686-pc-mingw32) of 2014-10-24 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.3.9600 Configured using: `configure --prefix=/c/usr' Important settings: value of $LANG: ENU locale-coding-system: cp1252 Major mode: Messages Minor modes in effect: gud-tooltip-mode: t pyvenv-mode: t minibuffer-electric-default-mode: t delete-selection-mode: t show-paren-mode: t global-auto-revert-mode: t yas-global-mode: 0 electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f d : / s r c / e x m a m p y b i t w M-x p d b C-c C-n C-c C-n C-c C-n C-c C-n M-w M-w M-x r e p o r t - e m a c s - b u g Recent messages: [yas] Loading for `fundamental-mode', just-in-time: (lambda nil (yas--load-directory-1 (quote c:/Users/tiburbage/.emacs.d/elpa/yasnippet-20150212.240/snippets/fundamental-mode) (quote fundamental-mode)))! [yas] Loading compiled snippets from c:/Users/tiburbage/.emacs.d/elpa/yasnippet-20150212.240/snippets/fundamental-mode Loading c:/Users/tiburbage/.emacs.d/elpa/yasnippet-20150212.240/snippets/fundamental-mode/.yas-setup...done [yas] Prepared just-in-time loading for c:/Users/tiburbage/.emacs.d/elpa/yasnippet-20150212.240/snippets [yas] Prepared just-in-time loading for ~/.emacs.d/snippets [yas] Reloaded everything (snippets will load just-in-time).... ad-handle-definition: `pdb' got redefined Error running timer `tooltip-timeout': (wrong-type-argument markerp nil) Command: next [4 times] Error running timer `tooltip-timeout': (void-variable v) [2 times] Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr warnings emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils gud company-files company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-cmake company-xcode company-clang company-eclim company-template company-css company-nxml company-bbdb highlight-indentation flymake company edmacro kmacro elpy pyvenv elpy-refactor grep compile files-x etags cus-edit cus-start cus-load wid-edit python json eldoc ecb-autoloads org-mouse org-info cl-macs cc-styles cc-align cc-engine cc-vars cc-defs org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs ido minibuf-eldef delsel paren autorevert filenotify yasnippet cl gv help-mode easy-mmode advice help-fns dired+ image-dired cl-loaddefs cl-lib format-spec image-file dired-aux w32-browser dired-x dired tib_dark_base-theme eieio byte-opt bytecomp byte-compile cconv eieio-core info easymenu pyflakes-autoloads pymacs-autoloads python-pep8-autoloads package epg-config time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32notify w32 multi-tty emacs) Memory information: ((conses 8 272601 22701) (symbols 32 36073 0) (miscs 32 116 303) (strings 16 76881 9492) (string-bytes 1 2192836) (vectors 8 30374) (vector-slots 4 702227 6942) (floats 8 776 381) (intervals 28 410 2) (buffers 508 15)) From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 28 03:35:35 2015 Received: (at 19966) by debbugs.gnu.org; 28 Feb 2015 08:35:35 +0000 Received: from localhost ([127.0.0.1]:60348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YRcs3-0006El-4F for submit@debbugs.gnu.org; Sat, 28 Feb 2015 03:35:35 -0500 Received: from mtaout29.012.net.il ([80.179.55.185]:41289) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YRcrx-0006ER-Il for 19966@debbugs.gnu.org; Sat, 28 Feb 2015 03:35:30 -0500 Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NKH008002YCW000@mtaout29.012.net.il> for 19966@debbugs.gnu.org; Sat, 28 Feb 2015 10:31:13 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NKH006VU3O1YV40@mtaout29.012.net.il>; Sat, 28 Feb 2015 10:31:13 +0200 (IST) Date: Sat, 28 Feb 2015 10:35:43 +0200 From: Eli Zaretskii Subject: Re: bug#19966: 24.4; Get error on hover over variable for tooltip inspection, gud/pdb In-reply-to: <54F0EFA3.5020106@gmail.com> X-012-Sender: halo1@inter.net.il To: Tom Burbage Message-id: <83oaoe4en4.fsf@gnu.org> References: <54F0EFA3.5020106@gmail.com> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19966 Cc: 19966@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 27 Feb 2015 14:28:51 -0800 > From: Tom Burbage > > Using current binary build of Emacs 24.4 for Windows. > emacs-24.4-bin-i686-pc-mingw32 > The use context is: > 1 - Open a python source file > 2 - M-x pdb ;; run gud/pdb for the current .py > 3 - step until a variable becomes defined/initialized > 4 - hover the mouse over the variable name in the source > The errors: > Error running timer `tooltip-timeout': (wrong-type-argument markerp nil) > Command: next [4 times] > Error running timer `tooltip-timeout': (void-variable v) [2 times] I cannot reproduce this. Does this happen for you in "emacs -Q"? Can you show a backtrace from these errors? Are you sure you are using gud.el, gdb-mi.el, and tooltip.el from Emacs 24.4, not shadowing any of them with different versions? I tested this with "M-x gdb" debugging emacs.exe, not "M-x pdb" debugging a Python program (don't have a setup for the latter). Do you see the same problem with "M-x gdb"? If not, perhaps PDB behaves differently when it gets the request for values sent by Emacs, please try to look into that. > - I have the tooltip.el tooltip-mode OFF/nil > - I have gud-tooltip-mode ON (obviously) A strange configuration, IMO, but I tried it is a well, and still didn't see the problem. > - If I start Emacs w/ --no-init, I can still reproduce the problem > - If I replace progmodes/gud.el , gud.elc with those from 24.3, the > errors do not occur > > Other problems ensue on Windows when tooltip messages actually display > as tooltip windows, and I suspect maybe it is an HWND stealing problem, > but not sure and that's a different issue. I'm OK with the info being > printed to the "echo area" I don't see any problems with tooltips on Windows, neither in GUD nor elsewhere. What problems do you see? Btw, even if I turn tooltip-mode OFF, and verify it's off by hovering the mouse above tool-bar buttons, GUD tooltips still show as balloon help for me. Not sure if this is a bug or a feature, but it doesn't seem to cause any harm here. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 28 15:43:56 2015 Received: (at 19966) by debbugs.gnu.org; 28 Feb 2015 20:43:57 +0000 Received: from localhost ([127.0.0.1]:60897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YRoEu-00019h-7s for submit@debbugs.gnu.org; Sat, 28 Feb 2015 15:43:56 -0500 Received: from mtaout29.012.net.il ([80.179.55.185]:47596) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YRoEr-00019P-KY for 19966@debbugs.gnu.org; Sat, 28 Feb 2015 15:43:54 -0500 Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NKI00L0011WGP00@mtaout29.012.net.il> for 19966@debbugs.gnu.org; Sat, 28 Feb 2015 22:39:38 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NKI00MNW1E21Z00@mtaout29.012.net.il>; Sat, 28 Feb 2015 22:39:38 +0200 (IST) Date: Sat, 28 Feb 2015 22:43:36 +0200 From: Eli Zaretskii Subject: Re: bug#19966: 24.4; Get error on hover over variable for tooltip inspection, gud/pdb In-reply-to: <54F21B0C.7040903@gmail.com> X-012-Sender: halo1@inter.net.il To: Tom Burbage Message-id: <83r3t9sr5z.fsf@gnu.org> References: <54F0EFA3.5020106@gmail.com> <83oaoe4en4.fsf@gnu.org> <54F21B0C.7040903@gmail.com> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19966 Cc: 19966@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) [Please keep the bug address on the CC list.] > Date: Sat, 28 Feb 2015 11:46:20 -0800 > From: Tom Burbage > > Here's an important update: I just tried and successfully reproduced > this problem on OSX using a binary version of 24.4 (from > http://emacsformacosx.com/). So at least it isn't something Windows > specific. I don't have a Linux currently to try it on. > My OSX version: GNU Emacs 24.4.1 (x86_64-apple-darwin13.4.0, NS > apple-appkit-1265.21) of 2014-10-20 on builder10-9.porkrind.org > > Back to the Windows steps: > I've attached a simple .bat file (renamed to .txt with hope that an > attachment checker won't remove it) that you can use. Just rename it to > pdb.bat, then edit: > 1 - You may need, depending on your environment, to make the path to > python.exe fully qualified > 2 - For a python file, you can just save something like below to e.g. > test.py: > var1 = 1 > var2 = 2 > var3 = 3 > > Then: > 1 - start Emacs using -Q > 2 - Open test.py > 3 - M-x pdb > 4 - (run like this) /pdb.bat test.py > GUD should come up successfully > 5 - From the "Gud" menu, Show GUD Tooltips > 6 - Step over one or two lines > 7 - hover over "var1" in the source > That's were I see in the echo area: > > Error running timer `tooltip-timeout': (void-variable v) Thanks. This is above my pay grade. Here's the Lisp backtrace, which I hope will allow someone to pick up where I left off: Lisp Backtrace: "process-filter" (0x82d3e0) 0x39e2a58 Lisp type 6 "advice--add-function" (0x82d800) "if" (0x82da40) "if" (0x82db80) "let" (0x82dd20) "if" (0x82de60) "progn" (0x82df70) "if" (0x82e080) "let" (0x82e220) "progn" (0x82e330) "if" (0x82e440) "let" (0x82e5e0) "gud-tooltip-tips" (0x82e84c) "run-hook-with-args-until-success" (0x82e848) "tooltip-timeout" (0x82ec0c) "apply" (0x82ec08) "byte-code" (0x82ee8c) "timer-event-handler" (0x82f2cc) (In case someone wonders how did we get to advice--add-function here: it comes from add-function in gud-tooltip-tips. I have no idea what is the variable 'v' which triggers the error.) From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 02 12:31:21 2015 Received: (at 19966) by debbugs.gnu.org; 2 Mar 2015 17:31:21 +0000 Received: from localhost ([127.0.0.1]:33054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YSUBd-0002s6-Eq for submit@debbugs.gnu.org; Mon, 02 Mar 2015 12:31:21 -0500 Received: from chene.dit.umontreal.ca ([132.204.246.20]:49275) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YSUBa-0002rs-BX for 19966@debbugs.gnu.org; Mon, 02 Mar 2015 12:31:19 -0500 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t22HVE6j025958; Mon, 2 Mar 2015 12:31:15 -0500 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id F282CAE124; Mon, 2 Mar 2015 12:31:10 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#19966: 24.4; Get error on hover over variable for tooltip inspection, gud/pdb Message-ID: References: <54F0EFA3.5020106@gmail.com> <83oaoe4en4.fsf@gnu.org> <54F21B0C.7040903@gmail.com> <83r3t9sr5z.fsf@gnu.org> Date: Mon, 02 Mar 2015 12:31:10 -0500 In-Reply-To: <83r3t9sr5z.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 28 Feb 2015 22:43:36 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5233=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5233> : inlines <2337> : streams <1398807> : uri <1869174> X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 19966 Cc: 19966@debbugs.gnu.org, Tom Burbage X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) Can you try the patch below? Stefan diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 42c5b20..29a6dc6 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -1,4 +1,4 @@ -;;; gud.el --- Grand Unified Debugger mode for running GDB and other debuggers +;;; gud.el --- Grand Unified Debugger mode for running GDB and other debuggers -*- lexical-binding:t -*- ;; Copyright (C) 1992-1996, 1998, 2000-2015 Free Software Foundation, ;; Inc. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 02 12:44:13 2015 Received: (at 19966) by debbugs.gnu.org; 2 Mar 2015 17:44:13 +0000 Received: from localhost ([127.0.0.1]:33085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YSUO5-0003CM-CM for submit@debbugs.gnu.org; Mon, 02 Mar 2015 12:44:13 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:37889) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YSUO2-0003C7-Fe for 19966@debbugs.gnu.org; Mon, 02 Mar 2015 12:44:11 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NKL00900IHPEJ00@a-mtaout22.012.net.il> for 19966@debbugs.gnu.org; Mon, 02 Mar 2015 19:44:04 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NKL009G5ILFDO20@a-mtaout22.012.net.il>; Mon, 02 Mar 2015 19:44:04 +0200 (IST) Date: Mon, 02 Mar 2015 19:43:54 +0200 From: Eli Zaretskii Subject: Re: bug#19966: 24.4; Get error on hover over variable for tooltip inspection, gud/pdb In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83sidnqopx.fsf@gnu.org> References: <54F0EFA3.5020106@gmail.com> <83oaoe4en4.fsf@gnu.org> <54F21B0C.7040903@gmail.com> <83r3t9sr5z.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19966 Cc: 19966@debbugs.gnu.org, tiburbage@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Stefan Monnier > Cc: Tom Burbage , 19966@debbugs.gnu.org > Date: Mon, 02 Mar 2015 12:31:10 -0500 > > Can you try the patch below? Seems to fix the problem here, thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 03 14:24:53 2015 Received: (at 19966-done) by debbugs.gnu.org; 3 Mar 2015 19:24:53 +0000 Received: from localhost ([127.0.0.1]:34228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YSsR3-0007qv-3i for submit@debbugs.gnu.org; Tue, 03 Mar 2015 14:24:53 -0500 Received: from chene.dit.umontreal.ca ([132.204.246.20]:34462) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YSsR0-0007qk-Od for 19966-done@debbugs.gnu.org; Tue, 03 Mar 2015 14:24:51 -0500 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t23JOkGZ005586; Tue, 3 Mar 2015 14:24:47 -0500 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id C8784AE187; Tue, 3 Mar 2015 14:24:42 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#19966: 24.4; Get error on hover over variable for tooltip inspection, gud/pdb Message-ID: References: <54F0EFA3.5020106@gmail.com> <83oaoe4en4.fsf@gnu.org> <54F21B0C.7040903@gmail.com> <83r3t9sr5z.fsf@gnu.org> Date: Tue, 03 Mar 2015 14:24:42 -0500 In-Reply-To: (Stefan Monnier's message of "Mon, 02 Mar 2015 12:31:10 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV5234=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5234> : inlines <2342> : streams <1399402> : uri <1870157> X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 19966-done Cc: 19966-done@debbugs.gnu.org, Tom Burbage X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) > Can you try the patch below? Installed, along with a change in gv-ref to try and emit warnings when bumping into similar situations. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 04 02:29:41 2015 Received: (at 19966) by debbugs.gnu.org; 4 Mar 2015 07:29:41 +0000 Received: from localhost ([127.0.0.1]:34487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YT3kT-0008MX-6T for submit@debbugs.gnu.org; Wed, 04 Mar 2015 02:29:41 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:39219) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YT3kR-0008ML-DQ for 19966@debbugs.gnu.org; Wed, 04 Mar 2015 02:29:39 -0500 Received: by pablf10 with SMTP id lf10so60599129pab.6 for <19966@debbugs.gnu.org>; Tue, 03 Mar 2015 23:29:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=ZiEoXSyJUvCL+DVit5Ue7FQ1JvuovShQmWRht5LLOt0=; b=EVvLtRWtOsmy5AfA4/Z3k3Li132bZR8D9YJZubPK5LsoMVCaZFKULRpYws2JWYMHgi Dvvi7b4xQGTy87CR2eqZMTqz4Na2m228gUQQq86ROtPjZHpJs43Jm6Lbo5YcxRW9g2NQ 7BXPuaWQ4JbcI49b0WjIlC3bt7KvQ6ogwJAYik8SCu9sjilPAw6OpQ0fyr8hZgq0iRge iGMB7LcgSmbANBQVCiFgDs8Vh7aENHpFXRFcJVvz0BK2h5JLZim4RY/urq1yjfpmsX9w Fre87AK6tx5vjZKIc/L31U5NyA2p1Q0JU7SCAN0xcPPwO1QM7cwkVuExUGJYA5Z50YT2 iZ7g== X-Received: by 10.68.189.5 with SMTP id ge5mr4251212pbc.161.1425454173453; Tue, 03 Mar 2015 23:29:33 -0800 (PST) Received: from ?IPv6:::1? ([2601:9:5080:8b3:386c:59cd:91f2:571e]) by mx.google.com with ESMTPSA id bc5sm3016517pdb.47.2015.03.03.23.29.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Mar 2015 23:29:32 -0800 (PST) Message-ID: <54F6B459.1040102@gmail.com> Date: Tue, 03 Mar 2015 23:29:29 -0800 From: Tom Burbage User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Stefan Monnier , Eli Zaretskii Subject: Re: bug#19966: 24.4; Get error on hover over variable for tooltip inspection, gud/pdb References: <54F0EFA3.5020106@gmail.com> <83oaoe4en4.fsf@gnu.org> <54F21B0C.7040903@gmail.com> <83r3t9sr5z.fsf@gnu.org> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 150303-1, 03/03/2015), Outbound message X-Antivirus-Status: Clean X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19966 Cc: 19966@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Stefan, Thanks for your attention to this. I have to admit I wasn't sure what you were asking me to do per the patch, but it looked like it was just the addition of: -*- lexical-binding:t -*- so I tried replacing the first line of the gud.el that came with my build, byte-compiled it, and the problems are gone! http://emacswiki.org/emacs/DynamicBindingVsLexicalBinding and I see you (Stefan) referenced there. Thanks again. Tom Burbage Redwood City, CA On 3/2/2015 9:31 AM, Stefan Monnier wrote: > Can you try the patch below? > > > Stefan > > > diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el > index 42c5b20..29a6dc6 100644 > --- a/lisp/progmodes/gud.el > +++ b/lisp/progmodes/gud.el > @@ -1,4 +1,4 @@ > -;;; gud.el --- Grand Unified Debugger mode for running GDB and other debuggers > +;;; gud.el --- Grand Unified Debugger mode for running GDB and other debuggers -*- lexical-binding:t -*- > > ;; Copyright (C) 1992-1996, 1998, 2000-2015 Free Software Foundation, > ;; Inc. From unknown Thu Jun 19 14:02:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 01 Apr 2015 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator