bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Lars Ingebrigtsen
Subject: bug#49784: 27.2; mouse-2 error with "No cross-reference here"
Date: Fri, 30 Jul 2021 20:54:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]