From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ONhTCgwrsmFaagEAgWs5BA (envelope-from ) for ; Thu, 09 Dec 2021 17:13:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cAkIBgwrsmGyOgAAbx9fmQ (envelope-from ) for ; Thu, 09 Dec 2021 16:13:00 +0000 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 3160EBE67 for ; Thu, 9 Dec 2021 17:12:59 +0100 (CET) Received: from localhost ([::1]:39920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvM2S-0002gk-Vv for larch@yhetil.org; Thu, 09 Dec 2021 11:12:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvM1B-0002e5-H3 for emacs-orgmode@gnu.org; Thu, 09 Dec 2021 11:11:38 -0500 Received: from mout02.posteo.de ([185.67.36.66]:42759) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvM0y-00008z-O9 for emacs-orgmode@gnu.org; Thu, 09 Dec 2021 11:11:26 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 726BD240105 for ; Thu, 9 Dec 2021 17:11:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1639066282; bh=MIcOkQRfU85QjhYt2Zmb0BjC4Oj3Nx5H+XVCstjk9g0=; h=From:To:Cc:Subject:Date:From; b=o98pnCQFfMp+eCVXrN2/lp+JUFA0pacFJbbpvxECRW15nk0RxEVpubxKc3/TQXj/P i2h3nXM5xmSedwkLPbDkuUlw6DchJ9l6Be1/ldrkcQHFPN1lSJrJFtGd4bYSqPgfGI +rcKLpGoyxY3z5Yn4eF64Ssv3eV7I9I6Hkr3J6QsGAj+pUCbxs19BuVkTJJI1DGtCu fee8vWuHHYbgc8mUuLKp7OHKoHwSb45TKe5OXMMKhe2KiS3ek2ybT+Tnn6/0dd0Qvl xa4t1urijf0DSkuHBTilnOSsnUm6egJpuqE0Y2WWbko2bvBqOBpiUBnQybcRrEragP uFF6gOHEgve7w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4J8zYP4w1Zz6tm5; Thu, 9 Dec 2021 17:11:21 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Max Nikulin Subject: Re: Raw Org AST snippets for "impossible" markup References: <4897bc60-b74f-ccfd-e13e-9b89a1194fdf@mailbox.org> <87fsrbp673.fsf@gmail.com> <1ef0e093-c165-2a5f-954d-6a33b64c8ee9@mailbox.org> <87r1avgnpi.fsf@localhost> <878rx2bzhw.fsf@nicolasgoaziou.fr> <9525e029-a590-3f48-df64-ffb9176075d9@mailbox.org> <87k0gh68ke.fsf@posteo.net> <8735n2hehj.fsf@posteo.net> <87lf0u8dnf.fsf@posteo.net> Date: Thu, 09 Dec 2021 16:11:18 +0000 In-Reply-To: (Max Nikulin's message of "Thu, 9 Dec 2021 21:56:16 +0700") Message-ID: <87wnkdiwrd.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@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_H2=-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: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639066379; 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=RFiTX0ZFX74RIGWJW4cKYkgYT91QNmWikC13AtmgtBA=; b=I8t6EfsiSWKCg5e6PyEUAu/01hWPgOkSSHSW9GKpkmqfRDkl+zveOEZ9+7b6EFvlSbSLXI LQV5baJdDO6GykyCFIcQwpTvMvbVd6wt6oRIvYbjNeUcR5ZIk8LwovnsEtCWNFcG7u73I3 cK8I3DHbDMQQNOSRIdHRnGvOYdHjLL/uT1k0vMyDQtpTj/OOv9XIxFsiIEcymLv1Oiaoqg fCzaBDU8pWzHcTLc7kbuFGgi7slyasLuGtPzwA6iQej9z6FVYSZf03G0vNatMz4LE44NXS N8hTeao+N0HKeyGm2txUR9fUuObNfYXF6YoaMk+g1qfCUnRSOasrPMGiD/1D4w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639066379; a=rsa-sha256; cv=none; b=NsZ0400F8uafVX30zgGlUbX0N7efTp6vLYSnyMEPqqCrhl5DoEbLCatvyx+CtowvnBtrYc ioCHJy1vVIVOWvOUPGKwV0dW1x9I0uxMxl4x8PgvVguSYatJhZ5eiPQIvQdeAa1HDuz0y9 qtc11gX37d+lcToT/1PVhfVoHd88lzE9p6cW2yiLA1HXW0LXda0crZkj+ODUOIdlkIEL19 ulHXTKYEP7qoROCR0BqKWT+TxYrks6NM1CrmiwPhForf7Y48+ISf9MRsMZFfbwBIoNeKB2 qWonQ2+wpcquPylfwB2uZ37R9ndVVfe2NfeCmKLwjkltwJHiC/sCAYioi99D5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=o98pnCQF; 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" X-Migadu-Spam-Score: -2.86 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=o98pnCQF; 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" X-Migadu-Queue-Id: 3160EBE67 X-Spam-Score: -2.86 X-Migadu-Scanner: scn1.migadu.com X-TUID: bSKr1Br/gk0n Max Nikulin writes: > Looking into your code I have realized that it should be implemented > using filter, not through :export property of links. Maybe without > working proof of concept with link exporters, this session of > monkey-typing would not be successful. Jumping into the "real world", how about these two examples of nested emphasis? #+begin_src org :results latex :results replace [[orgia:(italic () "The English versions of the " (italic () "Iliad") " and the " (italic () "Odyssey"))]] #+end_src #+RESULTS: #+begin_export latex \emph{The English versions of the \emph{Iliad} and the \emph{Odyssey}} #+end_export This one more complex: #+begin_src org :results latex :results replace [[orgia:(italic () "The English versions of the " (bold () (italic () "Iliad")) " and the " (bold () (italic () "Odyssey")))]] #+end_src #+RESULTS: #+begin_export latex \emph{The English versions of the \textbf{\emph{Iliad}} and the \textbf{\emph{Odyssey}}} #+end_export