[Top][All Lists]

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

Re: Suggestion to add clickable text activation function to Emacs

From: Eli Zaretskii
Subject: Re: Suggestion to add clickable text activation function to Emacs
Date: Fri, 29 Sep 2017 21:01:23 +0300

> From: Robert Weiner <address@hidden>
> Date: Fri, 29 Sep 2017 12:43:03 -0400
> Cc: emacs-devel <address@hidden>
>  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?


reply via email to

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