all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Suggestion to add clickable text activation function to Emacs
@ 2017-09-28 17:42 Robert Weiner
  2017-09-29 16:27 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Weiner @ 2017-09-28 17:42 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 925 bytes --]

Emacs allows for the definition of buffer regions that represent "clickable
text", see "(elisp)Clickable Text".  One type of clickable text is a button
which can be programmatically activated (have its action executed) with the
push-button function.

But there does not seem to be a function to programmatically activate other
types of clickable text.  This is a suggestion that such a function be
added to Emacs.  It would be similar to push-button but would account for
all the ways clickable text can be activated.  Right now it appears that
non-button clickable text can be activated essentially only interactively,
e.g. with a press of RET or mouse-2 or invocation of their key bindings.
But that is only one of many possible ways of activating clickable text.

There is a function, mouse-on-link-p, that determines if the given position
is within clickable text, but there is no corresponding activation function.

Bob

[-- Attachment #2: Type: text/html, Size: 1567 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-09-29 18:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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.