Subject: bug#102: keymap property ignored for mouse click on overlay

From: martin rudalics <[email-masked]>
Date: Wed, 16 Apr 2008 21:04:43 +0200

> It's simple:
> 
> (defun foo (beg end)
>   (interactive "r")
>   (let ((overlay (make-overlay beg end)))
>     (overlay-put
>      overlay 'display
>      (propertize "xxxxxxxxx" 'face 'font-lock-constant-face
>                              'keymap foo-map))
>     (overlay-put overlay 'keymap foo-map)))

It's all in the original thread, compare:

http://lists.gnu.org/archive/html/emacs-devel/2008-03/msg01923.html

I have at least one Emacs 22 build where this fails.  Please
recheck whether it works for Emacs 22.2.