emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Felix Dorner <felix.dorner@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Call code block via link?
Date: Sat, 10 Sep 2022 07:15:28 +0200	[thread overview]
Message-ID: <CALG+_hB2D20ceWgz=RtYvfBVKudRE6R2RuMHfPgKK9WkUvNXZQ@mail.gmail.com> (raw)

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

I have a silenced codeblock, that I postprocess to push the result (a
password) onto the kill-ring, and then returns "Password copied" (showing
in the status line). This works very nicely. I'm now looking for the cherry
on the cake: I'd like to render the #+CALL as a link, e.g. something like,
[Copy the secret thing]. Clicking/following the link would execute the call
and my password ready to paste elsewhere. Feasible?

Linux. The choice of a GNU generation.

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

             reply	other threads:[~2022-09-10  5:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-10  5:15 Felix Dorner [this message]
2022-09-10  6:09 ` Call code block via link? Ihor Radchenko
2022-09-19  9:59 ` Fraga, Eric
2022-10-05  3:28   ` Felix Dorner
2022-10-05  5:13     ` Ihor Radchenko

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:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALG+_hB2D20ceWgz=RtYvfBVKudRE6R2RuMHfPgKK9WkUvNXZQ@mail.gmail.com' \
    --to=felix.dorner@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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 public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).