From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mOkBNoxNKmWMsAAA9RJhRA:P1 (envelope-from ) for ; Sat, 14 Oct 2023 10:13:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mOkBNoxNKmWMsAAA9RJhRA (envelope-from ) for ; Sat, 14 Oct 2023 10:13:00 +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 21252462E6 for ; Sat, 14 Oct 2023 10:13:00 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Oiw6Ftl3; 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=1697271180; a=rsa-sha256; cv=none; b=l04lBfOU8R88fMxPWRtAtMfgqUNhllW5B2gMoezwUa9fYTT0mBuua44zzC0vtLSdlWm65Y HY8/7afpYcxGbzoPeSH6YmpSkuDf1JPnVUPruPsiVEcLWHcuL7Slt6FFXQ/IbPQ2BXhVY/ 9+4N9U8viDAdwnNhX86y/oD8QvXAS18BwEwvP4rbRRcYUmmVe6Q6oiE7nQTN271vlVvE7O PyBKvgvGDYAwD/ee22N3BLnoQuCPh0csFq4IdPy6HCeLc3GB3Xk+0JSCh8MVuaDwh7kIRa 1qxaEN3cdaQK38f5lIQEdO+ueluv/cqloDGhVEklygUOfmfi/CfjIdrVrz37rQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Oiw6Ftl3; 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=1697271180; 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=t1j45rHIuekAIT7RDdnwfGA5uHpuedhx5sCAQtmg52s=; b=M3Tkgk1f8oDlDipDeCEnDMvy9eJJdver5oUIUsLC/NAIu1lEhxc53rE0j5mkXsD8ouU/j/ gWX4S+dOb3/5Eee66V3mx2VCwBMxcqPdVEtzpncSaCcMY49zckRA9ynHk+22vLfKroT3iJ oZaEonGC7ldciNbnTO00wMJpaSOR8qAqzk9izvO4yhwXFZX6LdUQiVvn4eMjdcW0knrXl8 BcxoQ62+zt6knpnQShl6otr0QyrkEdEMCLMmAwwgV266qBCjd0TNUonFMLq/mQwOlwGqcI nke8ZbhtGPhkKsfy+qZo351yXHkmYQAVzKJXfkK8yLXn5aXhvTlY0PQuVuaWwg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qrZkd-0000zN-Or; Sat, 14 Oct 2023 04:11:59 -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 1qrZkb-0000zC-Rl for emacs-orgmode@gnu.org; Sat, 14 Oct 2023 04:11:57 -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 1qrZkZ-0002OB-E5 for emacs-orgmode@gnu.org; Sat, 14 Oct 2023 04:11:57 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 8F1DA240027 for ; Sat, 14 Oct 2023 10:11:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1697271112; bh=LxUP1lz3TYCXWa19XZLr5mQW4SuLFJiNc5ADhtUEY3w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=Oiw6Ftl3TVgMcF/em67jwhY+ER1BR9QUAF0PpOrzXbask3WQzBdAjzfl/4oeGSR1q FvZ92/hnpo0UzoXlX1Q0fNFUklJo9ocWkrv9xaoi3CDlRcRjPkp40Njv8HMP9jICyH udMRswPoAsO/+PcO0jxrHmPMjbs2uK1vpzBGTaxAExRBrpqt2Pm8NmnASofdaG0itX gJUNVZ+CiUKmRMgrvyiUUn6L4I2QzxxT0nN61R0YP8kocr9YTOwNUaGcc0cQF/I1a1 tsh1bqHcqP5r+NqjfvAZy09BuHLjiLP8BryyRThdDe8vOYzOPBxbV+dX5c9idaQOvt 6Rn6U5D3sFvSQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S6x1405b5z6tvm; Sat, 14 Oct 2023 10:11:51 +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> <878r9nofpw.fsf@localhost> <8734ztvtvk.fsf@localhost> <875y4326v2.fsf@localhost> <8734z19pwy.fsf@localhost> <87r0m5phrc.fsf@localhost> <87zg0skn9t.fsf@localhost> <87il7ckr8k.fsf@localhost> Date: Sat, 14 Oct 2023 08:13:35 +0000 Message-ID: <87wmvp1v0w.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.40 X-Spam-Score: -6.40 X-Migadu-Queue-Id: 21252462E6 X-TUID: Sg6G5pkbup2b Max Nikulin writes: >> 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. > I am rather skeptical concerning a variant that is pleasant to read in > all cases. That is why I suggest to provide tools that allow to > customize export accordingly their writing styles. Maybe then we can simply provide default :export for html and latex, but nothing else? > ASCII is a special case since it uses end note style to present link > targets. > > Whether code is added before link description or after it, either > parenthesis are used or not, the following functions may be convenient > for Org and for users: > - export argument as inline source block > - add an item to ASCII list of links I wouldn't oppose improving ox-ascii API. Feel free to submit a patch. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at