From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CKLxItzZJ2XMOQEAG6o9tA:P1 (envelope-from ) for ; Thu, 12 Oct 2023 13:34:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CKLxItzZJ2XMOQEAG6o9tA (envelope-from ) for ; Thu, 12 Oct 2023 13:34:52 +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 6C5DB3E1BA for ; Thu, 12 Oct 2023 13:34:52 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="VVCLt/9w"; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697110492; a=rsa-sha256; cv=none; b=UCd5/M/QFQKx9Senoq0X/XqK1/Vcq9CXw31uaygEGmz0XHxWK2h6303PGvvtIBX0tgrK1h bar4NMwtWZTeUVrRyiIE4hT3mMMKuxNpcVi7CGzVvCQ9Zms30Bmrne0Rc4GBt61U34l+49 UCBS+cObaYQ+RKBoYozrXK7ZMrUIbt7hZrRZHWqxrQv0lQD5b+l7ydF3LrhcHRNEDDZCEx aKcfczNNbL2lWmkc0YQQ+y7tFONlR9xgdCDTNWqojbs0tSeV7pTrsjSPa8AiJi22FJrdwC nGnvstDfnoTqTzHWtayYRF/W5Yz8zFK8RvTac2uwKdEXP92dIT8hlGywT7Hdlg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="VVCLt/9w"; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697110492; 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=qACb7/iYKDP7eID+Qs+v2bMBp8LJ0cYPzKoWuoru0LQ=; b=Wrd+Gu2svWd12Q4fyGeQVRjCyZ/kxPLSA24HnQ6jkbOd4CH+VZq5poCwblIa76hlyca1h7 c7PJ6NKFpxoq2WsdLk9uM1N41tY5uNU77xAgT8PdDRUMrmWkPthgrUu0TN4VNJxhOKiwrP QvCoH46gu2lZRak+PCCy1QskeBoe/I5I6gAufbLHE1lMcWZLzGypJYSKRtJBGtKhzAXkf7 MVjDimESpCGvzuCOYDD2jcXcWyy2glweWuWwMrrro9Ix2/OjHYW1Rd7jflKvfYsGoiD5RE TsJGQ/MLwcrGHRFJI6zzGmgn5btTuCLbS5LRxspfCvw/pE9cRr8olChdxtUzfw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqtxT-0001ja-2y; Thu, 12 Oct 2023 07:34:27 -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 1qqtxQ-0001jL-Fu for emacs-orgmode@gnu.org; Thu, 12 Oct 2023 07:34:24 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqtxO-0007QS-1P for emacs-orgmode@gnu.org; Thu, 12 Oct 2023 07:34:24 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 6E953240028 for ; Thu, 12 Oct 2023 13:34:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1697110459; bh=EiXS5u5MnDspvDzsRGO424hhiNU4Y/WJaIsxF7bRqkc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=VVCLt/9w4m3d0CLsJyhWwbS6u9vLnA99VTLo7SDNjdy+iPXLYHRowwYv/wH6h3kAX /ptZt1OQOjWB4NHGfsTjNoCdW5r8foSOXfCVf5aPfA3JJEB8Vz277gsIHXm+X8lw+k H2otIR7bAF36cJk54cOaxsRpbsRr44g3zX4gdKdmAFfWB9VTEomwlrrder2L5xhs2K IqTHgo6+hQx3peFPzBfcJsaZswaum7N+pLIh9NPFFLE4AZNOYQS2UeIpEnSRfTeB6D 4MoOIF9qHFG0KggeNiAmkcRxTooxyad9GNX8YITImXQNF0uNbPOB7gjn/cTjKx4ldf fa/JNWolBSCMw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S5nbZ6M4Tz6tvp; Thu, 12 Oct 2023 13:34:18 +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> <875y4326v2.fsf@localhost> <8734z19pwy.fsf@localhost> <87r0m5phrc.fsf@localhost> <87zg0skn9t.fsf@localhost> Date: Thu, 12 Oct 2023 11:35:55 +0000 Message-ID: <87il7ckr8k.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -6.67 X-Spam-Score: -6.67 X-Migadu-Queue-Id: 6C5DB3E1BA X-TUID: Ur2TCgZ2dBGL Max Nikulin writes: >> I like more how ox-ascii (without the >> proposed diff) handles the situation via footnote-like link. > > That is why I believe that extracting fragments of code into helper > functions is important. If ox-ascii.el had a function that adds an item > to link list then ol.el would use it to add src_elisp elements to this list. May you elaborate? I am not talking about implementation details, but about the reasonable defaults for the export. Not necessary ASCII, but other backends as well. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at