From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eNk0EC8eOGNqNgAAbAwnHQ (envelope-from ) for ; Sat, 01 Oct 2022 13:02:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AIBbEC8eOGPjZwEA9RJhRA (envelope-from ) for ; Sat, 01 Oct 2022 13:02:07 +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 CA3AE1F0B9 for ; Sat, 1 Oct 2022 13:02:06 +0200 (CEST) Received: from localhost ([::1]:42792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeaFv-0003NJ-Uy for larch@yhetil.org; Sat, 01 Oct 2022 07:02:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeaEY-0003N6-Rm for emacs-orgmode@gnu.org; Sat, 01 Oct 2022 07:00:38 -0400 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]:47013) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeaEX-00088Y-0Y for emacs-orgmode@gnu.org; Sat, 01 Oct 2022 07:00:38 -0400 Received: by mail-pj1-x1033.google.com with SMTP id 8-20020a17090a0b8800b00205d8564b11so6289066pjr.5 for ; Sat, 01 Oct 2022 04:00:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=LCt1UavsxTgY/Gu15/nxJ8ithngSiOFxWNv7q0Pm44I=; b=oj7bIZIR+7wGbt3424acjcC99yrGYlr5NY2ZZbHqb0dQmgErIBtRrEWiNCxKqxUL0G gAijLJV/Bze0MKv/FaYSveGF+phIoiQTRIWi0z70rnHmPM7s4wrZPIlXuFQtUF7Ponkm v98Z3xNIfKuI+1a1fdC6mmvUonhwOHVxMcqenVt0O9HjvqlC8SO3dslEL47BX3hgVOqN 2zHB8Tgoy0uXJyqDJH9PZcRZdrbbld1YF3GOIWJiK4kvqIiWlU37D6lTv/DWxvlzIIAl bbq/hX9i1cZDvPLTJQ56TTeohTava/xhSvQRpTuupqxs82t8GWay+aYM/BZScsIPNfj+ CzYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=LCt1UavsxTgY/Gu15/nxJ8ithngSiOFxWNv7q0Pm44I=; b=dkk0sxf/q9lQXMS0oBVww2TspZBysg6lG2O84BJwsT/NmcGx9twiaLi3dJlu6Iykik F49d+jDw2qBTLy9BKYqQkLMwJ8cIDEuk+76ZfcSKraQrw3IubIM1Lwbn+mRN37J2amc+ sxCkbyZveR1ZgvgTioz2zZLwD1feyjmS0i9llxzz1f5+nzkHxS0vkvpqXLFnp19tovsM uEs9cHVqXGvIF49C+nHYcG8Idw8xrft6a8Kr/I5MCOe8Ls1rBJkEPNzOGE/LvFOU55CS ElA0I6siAZ5Y9Qn20qRGPU3u46GTvInIS+5Tt+dJtVVsyhmLdmDcAGOEe6c2J4mSas0q nKPA== X-Gm-Message-State: ACrzQf2kNjFG3SoO1MYplLZc2jI+nPvrXD9ubPX3SS+y42Z0GPnqn7uz s9saoYqI54cqVjRATaGK4ZM= X-Google-Smtp-Source: AMsMyM528/nCJ9yLv2XKHgrF0P7YqBkvrGQ864P9h9vbtst20oPgou/NfXPS/bJizSFjVsJJi3L4Xg== X-Received: by 2002:a17:90b:4b84:b0:202:ec40:8643 with SMTP id lr4-20020a17090b4b8400b00202ec408643mr2827958pjb.86.1664622035342; Sat, 01 Oct 2022 04:00:35 -0700 (PDT) Received: from localhost ([2409:8970:a80:3a4:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id x6-20020a17090a6b4600b00202fbd9c21dsm3066644pjl.48.2022.10.01.04.00.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Oct 2022 04:00:34 -0700 (PDT) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: [HELP] Fwd: Org format as a new standard source format for GNU manuals In-Reply-To: References: <87bkqx4jyg.fsf@localhost> <878rm02pc1.fsf@localhost> Date: Sat, 01 Oct 2022 19:01:27 +0800 Message-ID: <87ill3st88.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1033.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664622127; 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=LCt1UavsxTgY/Gu15/nxJ8ithngSiOFxWNv7q0Pm44I=; b=LcIvrlHIw8Wi31OAHlq5bmwvVUwHh62KlkeqqdGGzYbW2m1yZjH/BX6HB3OBmFVT04G9t+ jfucgY1QslHwUIqEchVP3jV5igjVmxrBNdecII2rQxaJk67WJmFJphhCpXsq7d7FRjzMe8 rLHQ6A69fZnYNWv+OSSOS+SAnbQPWWcwe/sZX1QTNQaZVQgD+iZ3p6nC5LBTtynGWUQvFY 4Q+WkSt3Tm4G84cyRbKUsHL6R9vnsZdNLfuvsxNGydC5/avDyna0EvCZqfOqy0wzltqkfM Mw6mncYo72I1R4L8oW0DR6mP9zejmfkI/MeMhThB8XUSfb/Tvd9cv7yQj7+K6g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664622127; a=rsa-sha256; cv=none; b=I3n879g0MSSFcH4kxW3NAUcglPIBvFdwwJ6hy7tCpRYBb6XWHrDIfDUTvEoTd0js6Qqnkd 8th5Su93C3Jw10AmceNpZ1Mto9iRIV1CFa5BLLcIRX5bzMa4TVFZ6E7+MRAkS/Ig/cI18t XINDdDgyIVPtfxekmJ6ZQKO/WkFjl3OGMcf2oH2et02EVpiXJRqa/Y562HUuY+m+VbN9pN qBiMkYtjuu14oAydaQPnrcM6VDNFJM3VlrekZp+WkP/rvZBHe+6/zVvR210h4VYQ/gNYx6 duX4zXnFhydpZW14pASpKRr+/wAoxa0wIRVn4CBGzm8N5q5UWY6RyQ+oIhJ9DA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=oj7bIZIR; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.34 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=oj7bIZIR; dmarc=pass (policy=none) header.from=gmail.com; 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: CA3AE1F0B9 X-Spam-Score: -3.34 X-Migadu-Scanner: scn1.migadu.com X-TUID: zb2SMC6fC9Xt Max Nikulin writes: > I do not remember if the following idea has been discussed. What about > extending source blocks and inline source snippets to allow :results ast > header argument that caused executing during export only and expects > s-expression with AST branch that is included into parsed tree without > intermediate Org markup representation? Then a special org-babel backend > may be created to support new markup type. I am unsure however at which > stage of export source blocks are executed, maybe too early to implement > the idea. The advantage is that no extension of Org syntax is necessary. This will not help with new extendable markup elements. No new org element types can be created this way. We still need generalized inline markup object. This can help with escaping syntax and spaces in verbatim. I do recall you mentioned this idea in one of the earlier threads. https://orgmode.org/list/sokqa3$e8s$1@ciao.gmane.io Max Nikulin (2021-12-06) Subject: Raw Org AST snippets for "impossible" markup This idea is ok by itself, although we should not use the real AST; rather some AST-like representation that can be fixed and then translated to real AST. (I'd rather keep the possibility to change our real AST; for example, I have plans to change property storage into vector for faster access---current property list is slower than querying the binary tree with all elements in buffer). The downside of this idea is that it will force users into the Elisp escape hell src_elisp(verbatim "this is \\-n just slash-n and we still cannot use unmatched } here"}. I'd rather have something more friendly to users, if possible. -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92