From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CDgiAsAZOGOkzQAAbAwnHQ (envelope-from ) for ; Sat, 01 Oct 2022 12:43:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4BhLAsAZOGOmKQAA9RJhRA (envelope-from ) for ; Sat, 01 Oct 2022 12:43:12 +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 D2C676A63 for ; Sat, 1 Oct 2022 12:43:11 +0200 (CEST) Received: from localhost ([::1]:40142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeZxf-0005pn-2n for larch@yhetil.org; Sat, 01 Oct 2022 06:43:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeZww-0005pW-HI for emacs-orgmode@gnu.org; Sat, 01 Oct 2022 06:42:30 -0400 Received: from ciao.gmane.io ([116.202.254.214]:44964) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeZwv-0005Vr-51 for emacs-orgmode@gnu.org; Sat, 01 Oct 2022 06:42:26 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1oeZwt-00050A-HV for emacs-orgmode@gnu.org; Sat, 01 Oct 2022 12:42:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: [HELP] Fwd: Org format as a new standard source format for GNU manuals Date: Sat, 1 Oct 2022 17:42:17 +0700 Message-ID: References: <87bkqx4jyg.fsf@localhost> <878rm02pc1.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Content-Language: en-US In-Reply-To: <878rm02pc1.fsf@localhost> Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 22 X-Spam_score: 2.2 X-Spam_bar: ++ X-Spam_report: (2.2 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.583, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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=1664620991; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=kIlw3abRDXUdEgesNLKL1yiJrTH7ydh2BElDFn/3Nns=; b=oUIA08mFfu5/8Yj2mSyWTXOV0ujuvzwq69lh4KTbL8QGWo38BS98l0BKTTLb6UX+MCflLo Qx4NkIOUX2s4OQv3RnTLRHDi+mtU6I4y0DzOOQktOc8am3QagXeuZLVIVNgsgSUGcEx+AM 4vzgXA03s+ad3zx9S8G6nsBFCZlHs0RZAk7R7xL90/loqb2qcNygbdZFiHPl6xM2ASie5c CAxKdibAyd/OhR+4j5xKk6ke9LDkh+NQawXuR7Wn7/xWNXFM8XyGT8WhLM/fdRdXQVRyth hMWVY05/Ilg8lzmi5Tirb2g7yUV1oU/t1tS7E+q4dngVd2hXlPgqr2qjfu9dZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664620991; a=rsa-sha256; cv=none; b=Hm+OdXJ3EMI13XqWXBDHlKV4gBolfKttLqFGDLPS6XpKUnA4s/Kpvtzx73bdwxEdcitHlG 92Hbbnl2R2Oe77Ireo07fbFV8pTK2FkEVb3F/TY2w7xC5icPWSKaR3Kc8lfsUVy/DAJ+02 Bii4frTeVrBXBEYSBdx63HU6kRR5UUXQyJcPFLU5ytGkiHtB0csgPrcHaV3W7TOe3nGYOE NZ0PX8g8CyeHCQNto4bmzT8/Jyh6YVtGBpWS4TgC9JEeKQWSTEaWtfConRVUtfY8xgshQF O6sFvEtArhfaZyBFD2GcYjqfv+nSXAKN9483iRq3NaKsg/wgaoKI9NhZEeQWkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=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" X-Migadu-Spam-Score: 2.36 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=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" X-Migadu-Queue-Id: D2C676A63 X-Spam-Score: 2.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: WoXjSrFCnRg6 On 01/10/2022 10:30, Ihor Radchenko wrote: > Max Nikulin writes: > >> Another point is that most of the mentioned commands a close to >> verbatim, but Org has much more special characters recognized as markup >> and no markup is allowed inside Org verbatim snippets. Escaping (by zero >> width spaces?) of code and samples may be prohibitively inconvenient in >> Org if markup should be recognized inside. > > We need a new special object type for markup that does not suffer from > the limitations of our current single-char-style *markup* constructs. > (It is not even solely motivated by this request from RMS; we just need > something to allow whitespace in verbatim boundaries) 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.