From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Louis Subject: Bug: Feature request: make org-links elisp functions take parameter [9.2.5 (9.2.5-elpa @ /home/data1/protected/.emacs.d/elpa/org-20190801/)] Date: Wed, 07 Aug 2019 10:00:14 +0200 Message-ID: Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:39273) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvGrq-0005fr-SK for emacs-orgmode@gnu.org; Wed, 07 Aug 2019 04:00:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hvGrp-0006K0-Qp for emacs-orgmode@gnu.org; Wed, 07 Aug 2019 04:00:18 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]:55913) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hvGrp-0006Hj-Jm for emacs-orgmode@gnu.org; Wed, 07 Aug 2019 04:00:17 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Emacs : GNU Emacs 27.0.50 (build 3, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2019-08-04 Package: Org mode version 9.2.5 (9.2.5-elpa @ /home/data1/protected/.emacs.d/elpa/org-20190801/) I can see that Hide Org Link Abbrev Alist: can accept emacs lisp function. The function is then probably just receiving the button information. If I understand it well. What would be really useful is to add possibility for emacs lisp function to accept parameter directly from the button. If this is the link: [[contact:481550][Profile of Mr. John Doe]] then "contact" could be name for the link that invokes Emacs Lisp function with the value 481550. Person could click on the link and go straight to profile of Mr. John Doe. Profile would be invoked within GNU Emacs, and not in browser. As URL links have their corresponding %s option to add the value, so the Emacs Lisp functions should also get their corresponding option that value can be added. -- Thanks, Jean Louis