From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 0JUGAl/0lmQICQEASxT56A (envelope-from ) for ; Sat, 24 Jun 2023 15:49:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YC7GAF/0lmQNQwEAG6o9tA (envelope-from ) for ; Sat, 24 Jun 2023 15:49:19 +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 A076229D14 for ; Sat, 24 Jun 2023 15:49:18 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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=1687614558; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Ha5iosOBLyqraov0j5nROB+KrTe9a9W17jk0F9BMP/Q=; b=VDzq/aVThu2Bf+oRsVgE6ap8EXbAp2UJ0QWpJaOabceDfID535To909jYG8v/TpVLXNFoZ wrueeJZMrcpn4uxka7+jnDTwOs0mm/RIl5Mm+OrvC/xu9BnZOAg7L8imlfVf/Uax3KgGPf F9bGasos4bdOAKl/AUt87nhm9fhennKOG+2iNNuFH7Mx/1Cgk6NMCuayDrarmhVwoahOzM cD9Hh4gcYRc2da7kW8O9Zd574nBQTfgLZFlMGAxeTxBpFj6UYXr72PeoleY+0IT7TrBMB7 /WhLrbF0nqwtvqTJNe5GE8roJcfGazcueVFI/v3fz/AOUHyDivJjT1EFE8Lo8g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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=1687614558; a=rsa-sha256; cv=none; b=MqbxLld8QyvgiAUeGlHmxzDrwfIwNNOe3Vqo3wCmijVyT0tb/QdZNcNJkDm99zaQ5jDvoq vbMEg2w0cl0XhwQePDbXQRC59hTQ624924U4nE8ayS7wYy2zlVrSXM6WJ7V940GFYRtn7b pozMP/UZEZmulnUzRw9zXKhKjOLeFr6n+W5+nDz6XromoWwG7hQFfr/Nb/HxQeI2KCqrLr efgoc3zeqhkiCXAVbhrk5QF44bDX3EIUEiJPe2DgdjynUMJPO7nEG/4LJzTlysbB0bH9KQ 07G6a5tkqtiOVSJHOdYlvFZivEMkqlMp/CIE7pTOiPkJLt50Z2qwpefG5lU+EQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qD3ck-0003yV-Un; Sat, 24 Jun 2023 09:48:22 -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 1qD3cj-0003yG-C2 for emacs-orgmode@gnu.org; Sat, 24 Jun 2023 09:48:21 -0400 Received: from mail.mojserwer.eu ([195.110.48.8]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qD3ch-0000ce-9v for emacs-orgmode@gnu.org; Sat, 24 Jun 2023 09:48:21 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 84FE09204CA; Sat, 24 Jun 2023 15:48:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W0x1iNAGjH7K; Sat, 24 Jun 2023 15:48:13 +0200 (CEST) Received: from localhost (91-227-196-3.net4me.pl [91.227.196.3]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 8093E22715A3; Sat, 24 Jun 2023 15:48:13 +0200 (CEST) References: <87353exyyz.fsf@mbork.pl> <87r0qyuyoa.fsf@localhost> <87353dr73o.fsf@mbork.pl> <87ttvpp68q.fsf@mbork.pl> <874jnpdtei.fsf@localhost> <87sfb9oyjy.fsf@mbork.pl> <87ttvpkkks.fsf@localhost> <87v8fd6lhh.fsf@mbork.pl> <87pm5lx9va.fsf@localhost> User-agent: mu4e 1.1.0; emacs 30.0.50 From: Marcin Borkowski To: Ihor Radchenko Cc: Org-Mode mailing list Subject: Re: How to export to the simplest possible HTML? In-reply-to: <87pm5lx9va.fsf@localhost> Date: Sat, 24 Jun 2023 15:48:10 +0200 Message-ID: <87sfah6kf9.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=195.110.48.8; envelope-from=mbork@mbork.pl; helo=mail.mojserwer.eu X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -2.15 X-Spam-Score: -2.15 X-Migadu-Queue-Id: A076229D14 X-TUID: +I2DEbBB9m+n On 2023-06-24, at 15:34, Ihor Radchenko wrote: > Marcin Borkowski writes: > >>> Org export passes the actual parsed and filtered AST that will be >>> exported to `org-export-filter-parse-tree-functions'. You can modify and >>> traverse the parse tree as you need. >> >> Yeah, that I do understand. Problem is, I don't know how the AST is >> structured, what functions operate on it etc. I am aware that I could >> learn all of that from the source and experimenting, but it would >> probably be a bit time-consuming, and other ways turned out to be much >> easier (which means better for me =E2=80=93 I want something simple). > > I tried to provide a summary in my recent patch. > https://list.orgmode.org/874jnudps5.fsf@localhost/3-a.txt Thanks, this looks interesting, I'll take a look! > You can also refer to > https://orgmode.org/worg/dev/org-element-api.html This one I know, of course, but it's a bit more high-level, I think. > >> As an aside, inspecting deeply nested structures in Elisp seems a pain >> in the neck. Does anyone know a good method of interactively inspecting >> them? > > https://github.com/mmontone/emacs-inspector Wow, this looks _great_!!! I'll install it and try it out! Thanks, --=20 Marcin Borkowski http://mbork.pl