From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mOPwOLcRDGVERgEAauVa8A:P1 (envelope-from ) for ; Thu, 21 Sep 2023 11:49:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mOPwOLcRDGVERgEAauVa8A (envelope-from ) for ; Thu, 21 Sep 2023 11:49:43 +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 489373068D for ; Thu, 21 Sep 2023 11:49:43 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=CokB3cv9; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695289783; a=rsa-sha256; cv=none; b=c3y6BSWSU1KQ6jLS7//lfnudbqq/B7W5qNDR1c9RG/kVBhfX84C7xejXUHVw00OsW9omGV Hb41ZND0ahrtOJgxcgsz+Zaf1U0LDrGohfG7mw+QudXpnxhDcIayJCEo+L2LSpNSEY9zkU 3SmzdwdIcA0xogXOSfm1Pj/zQeAljvHSYXIIMxfaBjXEjQl+suXP5nZEE70doscIepI3I4 tjdEFoZ7HmlUSOA1/4br2tMhfFE4urMgpsfhL+ESkovxqIuf+Owxa3dWNjTFBbEz9J4n50 vJNTfJRYnR/PphrO8hwzvewVQI3FhAfDWWDg8Yzed7ISXvCAsIZwrcM7SLGtJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695289783; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=QKlg8iV3VPCLB6sM/oKhsoUP7Ml/AMgsfIFZUswzzqQ=; b=mlgsTN592uouRPr76wSBSHYLqFnbz1gytHUMqdlEsfd2wTgfM3ZucQ6OkmnqJjmeowIloA lhA0P0PU7hDzg0gHXXN4FA7WBw+sjTmTF567A/eLCHSey7T6d0Lzn0t/ZdlJK5SofuRSXh cdMuZKmjIoVLu76Wz4HXntHsM2mnMZ6ssvhekBqpI8PJn5cwGJQKkTC98RZp4pne29aNQ5 OxAU8pLEcHsJm1/wjax77ZUC5uHde88I8vHVsu+IfTv3rHkeDUQJq/b7T9elkkBYN7tdlb xPIGCNkNWaq1iok70hv3lqbiA/BU2Fidm0sffyKy4Jdz259cvNWtUkOu8eMo9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=CokB3cv9; 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"; dmarc=pass (policy=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjGIe-0006BW-Ua; Thu, 21 Sep 2023 05:48:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjGId-0006B9-9A for emacs-orgmode@gnu.org; Thu, 21 Sep 2023 05:48:43 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjGIa-0007v6-5k for emacs-orgmode@gnu.org; Thu, 21 Sep 2023 05:48:42 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 2416D240103 for ; Thu, 21 Sep 2023 11:48:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1695289717; bh=TYpmyggm+oYDtdD8IUgSlIucR0blssVmucsQuaGFiSM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=CokB3cv979/f1anFunVvX+uVRJCQg8S/6VWXQM7JxPQSk7uKrlfrDGo24iuSwoCdE roCVxX/vP5xfuzONXF208+L7THWg0MDdJKjHKsrJ7wFvEPjt6NMLN5NCCsRdVGiSRw wbnB9HBmdqJTlr2C7BaVnf/NX4/9DYncgYK4XPdGQtQG3LZkJXvJRCHmONYIu2tMvb U2VOiG1P048esf91JG1ZuIOmJe2+KKhUC/oGEvy/rImlh3p/+Mc5uB9RblU/Nc+WlE iFB+VTuwOBNP3LKT+k3mgZLoJQt3cbLuWG/xMd3OrwzThbdDayzsZxap980ITEKJye wcoKm+ZgDaCqA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RrrFJ5SY4z9s15; Thu, 21 Sep 2023 11:48:36 +0200 (CEST) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: Exporting elisp: and shell: links In-Reply-To: References: <87il8v2q00.fsf@riseup.net> <89434f4f-8aea-23f2-bbfc-3961c18f2154@gmail.com> <87a5u6tgb3.fsf@localhost> <878r9nofpw.fsf@localhost> <8734ztvtvk.fsf@localhost> Date: Thu, 21 Sep 2023 09:49:53 +0000 Message-ID: <875y4326v2.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.48 X-Spam-Score: -6.48 X-Migadu-Queue-Id: 489373068D X-Migadu-Scanner: mx2.migadu.com X-TUID: zCknI8uKHHoW Max Nikulin writes: >> As a user, I would expect >> >> [[elisp:(identity "a")]] >> >> to be export-equivalent to >> >> src_elisp[:exports code]{(identity "a")} >> >> across all backends. Makes sense. >>> What is your expectation for links having description? >>> >>> [[elisp:(identity "a")][Run it]] >> >> Good point! Perhaps we just need to find a >> good symbol that would work well between the >> Elisp code and the description? >> >> For example >> >> /Run it/ \to src_elisp[:exports code]{(identity "a")} >> >> exports to ASCII as >> >> /Run it/ -> `(identity "a")' >> >> Of course, \to could be something else... Another idea: use code as description displayed in the tooltip (in html). Copy-on-clip also makes sense. Yet another idea: export code inside a footnote. This will work across all the backends. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at