unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: [QUESTION] Mouse click on an text-property object displayed as image not working
Date: Thu, 14 Jan 2021 18:18:38 +0100	[thread overview]
Message-ID: <8735z3e8sx.fsf@web.de> (raw)
In-Reply-To: VI1PR1001MB10706D1E310D662A3DD6D5B4A3A80@VI1PR1001MB1070.EURPRD10.PROD.OUTLOOK.COM

Christopher Miles <numbchild@gmail.com> writes:

>   keymap               [Show]

That button is clickable btw.

> So I should define keymap on ~image-map~. But this is global. Is there
> any other good solution to get around this adding keybinding on global
> map? Maybe make this ~image-map~ buffer locally?

This is the harder part of the question.  Seems in your case
`org-display-inline-images' is attaching the keymap property.  You could
try to override the property, depending on when your code is run.  The
overlays seem to be collected in `org-inline-image-overlays'.  If a
changed buffer-local binding of `image-map' does not make sense in your
case you could also advice `org-display-inline-images'.

Regards,

Michael.




  reply	other threads:[~2021-01-14 17:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-13  2:40 [QUESTION] Mouse click on an text-property object displayed as image not working Christopher Miles
2021-01-14 11:12 ` Michael Heerdegen
2021-01-14 15:03   ` Christopher Miles
2021-01-14 17:18     ` Michael Heerdegen [this message]
2021-01-16  4:35       ` [SOLVED] " Christopher Miles

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=8735z3e8sx.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=help-gnu-emacs@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).