GNU bug report logs - #2680
23.0.91; Tooltip persists inappropriately with tooltip-mode off

Previous Next

Package: emacs;

Reported by: Bob Rogers <rogers-emacs <at> rgrjr.dyndns.org>

Date: Sun, 15 Mar 2009 20:00:02 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bob Rogers <rogers-emacs <at> rgrjr.dyndns.org>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 2680 <at> debbugs.gnu.org
Subject: bug#2680: 23.0.91; Tooltip persists inappropriately with tooltip-mode off
Date: Sun, 15 Mar 2009 22:41:58 -0400
   From: Chong Yidong <cyd <at> stupidchicken.com>
   Date: Sun, 15 Mar 2009 21:44:56 -0400

   >    The attached patch to tooltip-show-help-non-mode appears to fix the
   > problem, though I suspect it is not TRT.  Shouldn't the third "cond"
   > clause in this function take care of this case?

   I'm afraid the net monsters ate your attachment.  Could you resend it?
   It's probably easiest to just put it in the body of your email.

Here it is.  (I was trying to distinguish the patch from the M-x
report-emacs-bug spew that came before it.  I guess I succeeded too
well.)

					-- Bob

------------------------------------------------------------------------
Index: lisp/tooltip.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/tooltip.el,v
retrieving revision 1.91
diff -u -r1.91 tooltip.el
--- lisp/tooltip.el	5 Jan 2009 03:19:50 -0000	1.91
+++ lisp/tooltip.el	15 Mar 2009 19:45:29 -0000
@@ -334,7 +334,7 @@
     (cond
      ((stringp help)
       (unless tooltip-previous-message
-        (setq tooltip-previous-message (current-message)))
+        (setq tooltip-previous-message (or (current-message) "")))
       (let ((message-truncate-lines t)
             (message-log-max nil))
         (message "%s" (replace-regexp-in-string "\n" ", " help))))




This bug report was last modified 16 years and 66 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.