unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2277: 23.0.60; GUD tooltips don't work on OS X
@ 2009-02-11 10:11 Nick Roberts
  2017-08-16 10:43 ` Charles A. Roelli
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Roberts @ 2009-02-11 10:11 UTC (permalink / raw)
  To: emacs-pretest-bug


On OS X, if you enable GUD tooltips, you can't display any variable values as
tooltips in the source buffer.

Incidentally, FSF GDB now compiles on Darwin/OS X and I generally find this
version works better in Emacs, e.g, no ^M line endings, breakpoint icons
display.  However, even with this version, Emacs doesn't seem to display GUD
tooltips


-- 
Nick                                           http://www.inet.net.nz/~nickrob






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#2277: 23.0.60; GUD tooltips don't work on OS X
  2009-02-11 10:11 bug#2277: 23.0.60; GUD tooltips don't work on OS X Nick Roberts
@ 2017-08-16 10:43 ` Charles A. Roelli
  2017-08-23 12:44   ` Charles A. Roelli
  0 siblings, 1 reply; 3+ messages in thread
From: Charles A. Roelli @ 2017-08-16 10:43 UTC (permalink / raw)
  To: Nick Roberts, 2277

They work fine for me on 25.2 / macOS 10.6, using the following
recipe:

M-x gdb RET
b Fsignal RET
run -q RET
C-g in the newly opened Emacs
M-x gud-tooltip-mode

Hover over error_symbol to get a tooltip displaying "error_symbol =
39408".  I'll close in a few days if there's no further discussion.

> From: Nick Roberts <nickrob@snap.net.nz>
> Content-Type: text/plain; charset=us-ascii
> Date: Wed, 11 Feb 2009 23:11:44 +1300
> 
> 
> On OS X, if you enable GUD tooltips, you can't display any variable values as
> tooltips in the source buffer.
> 
> Incidentally, FSF GDB now compiles on Darwin/OS X and I generally find this
> version works better in Emacs, e.g, no ^M line endings, breakpoint icons
> display.  However, even with this version, Emacs doesn't seem to display GUD
> tooltips
> 
> 
> -- 
> Nick                                           http://www.inet.net.nz/~nickrob
> 
> 
> 
> 





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#2277: 23.0.60; GUD tooltips don't work on OS X
  2017-08-16 10:43 ` Charles A. Roelli
@ 2017-08-23 12:44   ` Charles A. Roelli
  0 siblings, 0 replies; 3+ messages in thread
From: Charles A. Roelli @ 2017-08-23 12:44 UTC (permalink / raw)
  To: 2277-done; +Cc: nickrob

> Date: Wed, 16 Aug 2017 12:43:12 +0200
> From: charles@aurox.ch (Charles A. Roelli)
> CC: 
> 
> They work fine for me on 25.2 / macOS 10.6, using the following
> recipe:
> 
> M-x gdb RET
> b Fsignal RET
> run -q RET
> C-g in the newly opened Emacs
> M-x gud-tooltip-mode
> 
> Hover over error_symbol to get a tooltip displaying "error_symbol =
> 39408".  I'll close in a few days if there's no further discussion.
> 
> > From: Nick Roberts <nickrob@snap.net.nz>
> > Content-Type: text/plain; charset=us-ascii
> > Date: Wed, 11 Feb 2009 23:11:44 +1300
> > 
> > 
> > On OS X, if you enable GUD tooltips, you can't display any variable values as
> > tooltips in the source buffer.
> > 
> > Incidentally, FSF GDB now compiles on Darwin/OS X and I generally find this
> > version works better in Emacs, e.g, no ^M line endings, breakpoint icons
> > display.  However, even with this version, Emacs doesn't seem to display GUD
> > tooltips
> > 
> > 
> > -- 
> > Nick                                           http://www.inet.net.nz/~nickrob
> > 
> > 
> > 
> > 
> 

I realized that this bug was possibly about "gud-gdb", which has been
superseded now.  When I try the recipe with "M-x gud-gdb" instead of
"M-x gdb", I get a warning from these lines in gud.el:

	      (when (and gud-tooltip-mode (eq gud-minor-mode 'gdb))
		(gud-tooltip-mode -1)
		;; The blank before the newline is for MS-Windows,
		;; whose emulation of message box removes newlines and
		;; displays a single long line.
		(message-box "Using GUD tooltips in this mode is unsafe \n\
so they have been disabled."))

Since this version of GUD shouldn't display tooltips anyway, I'll
close the bug.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-23 12:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-11 10:11 bug#2277: 23.0.60; GUD tooltips don't work on OS X Nick Roberts
2017-08-16 10:43 ` Charles A. Roelli
2017-08-23 12:44   ` Charles A. Roelli

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).