From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cAq1OcsdHGPCRwAAbAwnHQ (envelope-from ) for ; Sat, 10 Sep 2022 07:17:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wH/IOMsdHGNANgEAG6o9tA (envelope-from ) for ; Sat, 10 Sep 2022 07:16:59 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9AFEF3310A for ; Sat, 10 Sep 2022 07:16:59 +0200 (CEST) Received: from localhost ([::1]:54904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWsrS-0005SP-A8 for larch@yhetil.org; Sat, 10 Sep 2022 01:16:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWsqH-0005Qb-72 for emacs-orgmode@gnu.org; Sat, 10 Sep 2022 01:15:47 -0400 Received: from mail-yb1-xb31.google.com ([2607:f8b0:4864:20::b31]:44814) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWsqE-0003Mr-MS for emacs-orgmode@gnu.org; Sat, 10 Sep 2022 01:15:44 -0400 Received: by mail-yb1-xb31.google.com with SMTP id g5so5454090ybg.11 for ; Fri, 09 Sep 2022 22:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date; bh=h3Zr2/U69zQxWmre7PH6gEC0Ue1iy1bhzZvAtYtK67Y=; b=XqCRz7T3KpkwfVaYr6cVp84Ps2HRXP4ECa1kAKMzUjiZ+CqXa45PigkYfMwSWJlQxU /W3fhh7776LQPwkl36DJsCgcKNU55rSQdFkw8Oilfvm1meiUDcbn6EhfD3GNoUS0lmKG /xyDYOdNCwiSLrWJWdIzyA8W+PYX+yzgnBzGH5ZdAhBJRPQwki9LLSCccFMJn0R0nV2Q t84igkdLzt12NQqrGTtzZGxnOFhPMRT+rJlUoTzhtSKX7YR7iabYNo/JAGkeTSXluW1m Dt96R0gfqIc405aDFXnaTcU2iC6j/3DdrE+uVYZPKfMU8UC52bfWaRoJU1/rCsd7/OeZ J/ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=h3Zr2/U69zQxWmre7PH6gEC0Ue1iy1bhzZvAtYtK67Y=; b=2OcISemboE72sojirTxTdM3T+KzLPvCGFDHBWk4CZyiL4B1cn6SHXxxqHaaHSq7PUN aA8A6H6CvBDOPAzqXSFydgl9NQc9yIdJ6j0PwVdsvHAEVnEaiGvcvUXw7qXZh+yZ9a6h lBEbZ4RmbAgQD0ug7K8g8/z3HJEaK1uG8yejNJvZrMszo7CvxyeqFFeUbSG+tL9TPvmL dwZLnOOOJxj2gUSz44K1mUcWReKTn3w6BfX2Iv4mHsNat88MRGbz9tUMAcDw5r2BSk+q Zb0c1GbM1/PgtktnprB5fvsGJ8KoxHCv2+HMAepvjCLNG1s0WHb5s+BgsXMCLZlZmp1q R7CQ== X-Gm-Message-State: ACgBeo3mfqiukvm+/eAYLt/qZsppYtjudPBZ6P7L11sCp0p6cZVQ4tFS VsMoa5JSwlt3gB37Vd7W3EWp68/t+jQhrWbkHgLx0pfO X-Google-Smtp-Source: AA6agR5sVfQ+oJssQnmK+X0Wa1xw5eYJXPOxWnk/QmFeaHepOvIxwHGhhPhegW4o3QZUMMiowXMxeKpevSpv7ZjW3qU= X-Received: by 2002:a25:ba4b:0:b0:6a7:8b87:c667 with SMTP id z11-20020a25ba4b000000b006a78b87c667mr13946189ybj.428.1662786939767; Fri, 09 Sep 2022 22:15:39 -0700 (PDT) MIME-Version: 1.0 From: Felix Dorner Date: Sat, 10 Sep 2022 07:15:28 +0200 Message-ID: Subject: Call code block via link? To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000e1d21105e84bc01d" Received-SPF: pass client-ip=2607:f8b0:4864:20::b31; envelope-from=felix.dorner@gmail.com; helo=mail-yb1-xb31.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662787019; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=h3Zr2/U69zQxWmre7PH6gEC0Ue1iy1bhzZvAtYtK67Y=; b=K+dbPgyRWhd0Tz1onJn4vqXx619xbf/PO2Z6cAGbCN+x3yVFaYUm7s5BzDWa6EdFBMrBxP Jk5bOTYqVwoFKe2euo3GmQgIwgnStW7er81BlaD/4ZExOcIOyNBP+m5qJSV0keLyHVXCEE vJO73hXOxIQ4EXxEjD5TJoda9A/cZppNIjilXlL15l5YWymG8VkjRAM9O/iGKNpYrABMoK 2Rztfva+rxqWEcbibpprCYYguXQt3nRpWpKlL5KzrKiR30WbH7D3zpCH2QoEqaGGBaLiix 4Vn9EpEL90bJYf/R9RCtXt/A1epFAgqhgpVbCxCHlF9kpxpkRbMWijPrk10k5Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662787019; a=rsa-sha256; cv=none; b=AsgWuVFDAuGthRQZMniwlTutUy7A2PPuqwkB8ZNsQuNwtkxi2eM5o4/VSbTvggkweSTzbI 52PsN7yM+k1qVKzcZQsm47ES0SgCHMyJleC8IPNjS8ScRTbKZmenWyytVBYvn5GlSpuLYg xiID+waAPSy4jMSP92AS88fMcCeNCwmzJLrZs76aRE1Fu7PG8btkJPiWAaW4x4/z71yXnW o5NIxM4kwSzrd4/7myj13DoNKpicSdHaLLH7k+LuXZGBRYDX58DNraS406rnSC5C22uQvZ 0p8UXDMQRzw12SGJd+BQDGwLcaTy7VePrFtrQE5+bsIWRmjjdDVh5k8QvWG6zQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=XqCRz7T3; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.79 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=XqCRz7T3; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9AFEF3310A X-Spam-Score: -2.79 X-Migadu-Scanner: scn0.migadu.com X-TUID: nfOPm7NzryUe --000000000000e1d21105e84bc01d Content-Type: text/plain; charset="UTF-8" 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. --000000000000e1d21105e84bc01d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have a silenced codeblock, that I postprocess to push th= e result (a password) onto the kill-ring, and then returns "Password c= opied" (showing in the status line). This works very nicely. I'm n= ow 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 t= he link would execute the call and my password ready to paste elsewhere. Fe= asible?

--
Linux. The choice of a GNU g= eneration.
--000000000000e1d21105e84bc01d--