From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Weiner Newsgroups: gmane.emacs.devel Subject: Suggestion to add clickable text activation function to Emacs Date: Thu, 28 Sep 2017 13:42:15 -0400 Message-ID: Reply-To: rswgnu@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11418c4eafc34a055a436fed" X-Trace: blaine.gmane.org 1506620615 1385 195.159.176.226 (28 Sep 2017 17:43:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 28 Sep 2017 17:43:35 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 28 19:43:29 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxcqN-0008LR-Jm for ged-emacs-devel@m.gmane.org; Thu, 28 Sep 2017 19:43:27 +0200 Original-Received: from localhost ([::1]:60224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxcqU-0000aM-Vu for ged-emacs-devel@m.gmane.org; Thu, 28 Sep 2017 13:43:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxcpo-0000aH-D2 for emacs-devel@gnu.org; Thu, 28 Sep 2017 13:42:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxcpj-0005vX-FN for emacs-devel@gnu.org; Thu, 28 Sep 2017 13:42:52 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47719) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxcpj-0005vJ-BT for emacs-devel@gnu.org; Thu, 28 Sep 2017 13:42:47 -0400 Original-Received: from mail-qt0-f181.google.com ([209.85.216.181]:50916) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1dxcpj-00072S-40 for emacs-devel@gnu.org; Thu, 28 Sep 2017 13:42:47 -0400 Original-Received: by mail-qt0-f181.google.com with SMTP id f15so2692716qtf.7 for ; Thu, 28 Sep 2017 10:42:47 -0700 (PDT) X-Gm-Message-State: AMCzsaVoysSBtQHAfygROQFTIyBfiJCTELxdC8GKTzmlpn2DCyFJI+ah novZoT60/Pap03UGIewZwfjdtUqP6zDWIDj/6LM= X-Google-Smtp-Source: AOwi7QB/4t/i7Kpsu0/l7G5cE6y0jkGE+84BXGnKXy4e6ADOEnyFkyl9LQsZiwGpmoKHwXwyDkIiPLbhTf1YJGipdU0= X-Received: by 10.200.57.29 with SMTP id s29mr2234391qtb.309.1506620566649; Thu, 28 Sep 2017 10:42:46 -0700 (PDT) Original-Received: by 10.200.28.3 with HTTP; Thu, 28 Sep 2017 10:42:15 -0700 (PDT) X-Gmail-Original-Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:218856 Archived-At: --001a11418c4eafc34a055a436fed Content-Type: text/plain; charset="UTF-8" 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 --001a11418c4eafc34a055a436fed Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Emacs allows for the definition of buffer regions that represe= nt "clickable text", see "(elisp)Clickable Text".=C2=A0= One type of clickable text is a button which can be programmatically activ= ated (have its action executed) with the push-button function.

<= div class=3D"gmail_default" style=3D"font-family:monospace,monospace">But t= here does not seem to be a function to programmatically activate other type= s of clickable text.=C2=A0 This is a suggestion that such a function be add= ed to Emacs.=C2=A0 It would be similar to push-button but would account for= all the ways clickable text can be activated.=C2=A0 Right now it appears t= hat non-button clickable text can be activated essentially only interactive= ly, e.g. with a press of RET or mouse-2 or invocation of their key bindings= .=C2=A0 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 g= iven position is within clickable text, but there is no corresponding activ= ation function.

Bob

--001a11418c4eafc34a055a436fed--