]> code.delx.au - gnu-emacs/commit
Fix and improve GUD Tooltip mode.
authorEli Zaretskii <eliz@gnu.org>
Tue, 14 Aug 2012 18:48:39 +0000 (21:48 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 14 Aug 2012 18:48:39 +0000 (21:48 +0300)
commitba025fbd446b8c72735617713a0f0037388ae3f4
treefcbdd4b55fe00ca6aec347a61f9b76acf69fcc5a
parent9b8d51650b04c184e53c1c5dc703bb11eed7317e
Fix and improve GUD Tooltip mode.

 lisp/tooltip.el (tooltip-identifier-from-point): Don't treat tokens
 inside comments and strings as identifiers.
 lisp/progmodes/gud.el (gud-tooltip-print-command): Quote the
 expression to evaluate.  This allows to evaluate expressions with
 embedded whitespace.
 (gud-tooltip-tips): Add a blank before the newline in the
 message-box text, for the benefit of message-box emulation on
 MS-Windows.
 lisp/progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
 messages from GDB, pop them up in a tooltip to give feedback to
 user.
 (gdb-tooltip-print-1): Quote the expression to evaluate.  This
 allows to evaluate expressions with embedded whitespace.
 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
 if the TTY name is nil or empty (which happens when communicating
 with the inferior via pipes, e.g. on MS-Windows).
 (gdb-internals): If GDB sends a "&\n" empty debugging message,
 don't send that to the GUD buffer.

 doc/emacs/building.texi (Debugger Operation): Correct and improve
 documentation of the GUD Tooltip mode.
doc/emacs/ChangeLog
doc/emacs/building.texi
lisp/ChangeLog
lisp/progmodes/gdb-mi.el
lisp/progmodes/gud.el
lisp/tooltip.el