all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: 51561@debbugs.gnu.org
Subject: bug#51561: 29.0.50; overlay keymaps do not respect mouse-1 logic
Date: Tue, 02 Nov 2021 03:48:54 +0100	[thread overview]
Message-ID: <8735ofnug9.fsf@gnus.org> (raw)
In-Reply-To: <877ddrnuv4.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 02 Nov 2021 03:39:59 +0100")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Putting follow-link in a keymap is supposed to make
> mouse-1-click-follows-link do its thing.

No, it isn't.  You have to put this incantation into an overlay for it
to be a link.  Which is slightly logical, I guess?

      (overlay-put o 'follow-link 'mouse-face)
      (overlay-put o 'mouse-face 'highlight)

So there's nothing to fix here, I think.

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





  reply	other threads:[~2021-11-02  2:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-02  2:39 bug#51561: 29.0.50; overlay keymaps do not respect mouse-1 logic Lars Ingebrigtsen
2021-11-02  2:48 ` Lars Ingebrigtsen [this message]
2021-11-02  4:30 ` bug#51561: [External] : " Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8735ofnug9.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=51561@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.