From: Eli Zaretskii <eliz@gnu.org>
To: rswgnu@gmail.com
Cc: emacs-devel@gnu.org
Subject: Re: Suggestion to add clickable text activation function to Emacs
Date: Fri, 29 Sep 2017 21:01:23 +0300 [thread overview]
Message-ID: <83zi9d5qq4.fsf@gnu.org> (raw)
In-Reply-To: <CA+OMD9idnUAf6Rh92yL56mTuNY+aDLkf-BOt5EDhO6xk3v4MLA@mail.gmail.com> (message from Robert Weiner on Fri, 29 Sep 2017 12:43:03 -0400)
> From: Robert Weiner <rsw@gnu.org>
> Date: Fri, 29 Sep 2017 12:43:03 -0400
> Cc: emacs-devel <emacs-devel@gnu.org>
>
> Maybe I'm missing something, but how will this be different from
> calling the binding of the click?
>
> The binding of what click? mouse-1, mouse-2, RET, some other key?
Whatever key or mouse button that you are interesting in, I suppose.
> Look at the doc in "(elisp)Clickable
> Text" and you will see there are many ways to activate such text as explained there. If we want clickable text
> actions to be runnable programmatically (no user clicks), then there needs to be a single function that can
> determine what action a user click would have performed and returns that action or performs it. In my original
> message, I noted that push-button does this for buttons, so the issue is the need for one for non-button
> clickable text. Does that clarify the issue?
No, not really. The normal APIs to find a binding of a click or a
keypress should give you the function which would be performed. But
you most probably already know that. So I guess I don't see clearly
the use case and its context. Could you perhaps describe such a use
case where you'd need the function you think you lack?
Thanks.
prev parent reply other threads:[~2017-09-29 18:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-28 17:42 Suggestion to add clickable text activation function to Emacs Robert Weiner
2017-09-29 16:27 ` Eli Zaretskii
2017-09-29 16:43 ` Robert Weiner
2017-09-29 18:01 ` Eli Zaretskii [this message]
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=83zi9d5qq4.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=rswgnu@gmail.com \
/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.