all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <courier.000000005D4A850E.00007967@protected.rcdrun.com> (raw)


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

                 reply	other threads:[~2019-08-07  8:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=courier.000000005D4A850E.00007967@protected.rcdrun.com \
    --to=bugs@gnu.support \
    --cc=emacs-orgmode@gnu.org \
    /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.