Subject: Re: bug#18343: 24.4.50; REGRESSION: `help-echo' property is not added, so no tooltip or echo

From: Wolfgang Jenkner <[email-masked]>
Date: Thu, 28 Aug 2014 18:52:36 +0200

On Thu, Aug 28 2014, Drew Adams wrote:

> (add-text-properties 1 10 '(help-echo "FOOOOOOOOOOOOOOO"))
>
> Put the mouse pointer over one of the first 10 chars.  There is no
> tooltip.  `M-x tooltip-mode', to turn it off.  Put pointer over the char
> again.  There is no echo-area echo.
>
> `C-u C-x =' on one of the first 10 chars.  There is no `help-echo'
> property.

Just turn off font-lock-mode ;-)

Seriously, educated guess + vc-annotate gives:

Author: Stefan Monnier <[email-masked]>
Date:   Tue Apr 22 13:45:43 2014 -0400

    * lisp/emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
    (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
    (lisp-mode-variables): Set font-lock-extra-managed-props.

@@ -466,10 +489,10 @@ font-lock keywords will not be case sensitive."
                lisp-cl-font-lock-keywords-2))
 	  nil ,keywords-case-insensitive nil nil
 	  (font-lock-mark-block-function . mark-defun)
+          (font-lock-extra-managed-props help-echo)
 	  (font-lock-syntactic-face-function
 	   . lisp-font-lock-syntactic-face-function)))
   (setq-local prettify-symbols-alist lisp--prettify-symbols-alist)
-  ;; electric
   (when elisp
     (setq-local electric-pair-text-pairs
                 (cons '(?\` . ?\') electric-pair-text-pairs)))