Subject: bug#49784: 27.2; mouse-2 error with "No cross-reference here"

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 30 Jul 2021 20:54:08 +0200

Eli Zaretskii <[email-masked]> writes:

> Why is this a bug?  *Help* buffers have mouse-2 bound locally to a
> command, and local bindings take precedence over global ones.

I don't quite understand the reported issue either, but it's pretty odd
for help-mode to bind mouse-2 -- we generally don't do that in buffers;
only buttons have mouse bindings.

Especially with this not very helpful command:

;; The doc string is meant to explain what buttons do.
(defun help-follow-mouse ()
  "Follow the cross-reference that you click on."
  (interactive)
  (error "No cross-reference here"))

I guess the point is to...  not say

Buffer is read-only: #<buffer *Help*>

to be helpful?  It might just confuse more than it helps.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no