From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kLkaI1hFuGK7HAEAbAwnHQ (envelope-from ) for ; Sun, 26 Jun 2022 13:39:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OKoeIlhFuGJdbgAAG6o9tA (envelope-from ) for ; Sun, 26 Jun 2022 13:39:04 +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 2FCFFC39E for ; Sun, 26 Jun 2022 13:39:04 +0200 (CEST) Received: from localhost ([::1]:52416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5QbW-00028U-E1 for larch@yhetil.org; Sun, 26 Jun 2022 07:39:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41516) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5Qak-00028M-FT for emacs-orgmode@gnu.org; Sun, 26 Jun 2022 07:38:14 -0400 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]:45872) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5Qai-0000BU-V9 for emacs-orgmode@gnu.org; Sun, 26 Jun 2022 07:38:14 -0400 Received: by mail-pg1-x536.google.com with SMTP id 184so6519221pga.12 for ; Sun, 26 Jun 2022 04:38:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=kWND6V4m26W4aIUcaj+Zoexz/Hlaaz6qts/liSaoZ5g=; b=E21EV9mXGsDj47G8XsJRvCzSfhXqTxYIk7Oqij1sZpGCRYiyalANh50kLd2m4sdhbN auT1Gb1WagQidbDiduWyqh99XgO+UG1qcNplgK9ZjY9iZWze4bfr/NTnENOEF3tlaXOK xslZ54jtNKkewEgRDJ0Y31Toq00z+NOQRfrDwFTviXR+IBG7FC9PL9rvGfDhkufRxH8T GV+MkrFlM6VNADTYNOKj0YDc9Lb0rOfars/kM8490vmeOBKNcSFSX1jN8ZH2DfibZD35 I8EyvqJX7MpNLZ2lqGVGIBQkGhJ8fzS4qOVOh3/Q81WsMmmCP/V1Xyay3XRtJ6bnnl+O zJrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=kWND6V4m26W4aIUcaj+Zoexz/Hlaaz6qts/liSaoZ5g=; b=0olGcHeXH0ZCNmvE8/o/CtFEZCRp3dx//Ro9x2XynQBg/IxYI2iXeGMHx3eAqFiYG8 1LzEwtrn0uS2tzizJDmFWgLGn4p8orOaFuesQGfirkLprwm2xFP47S5GzaU7IT2g54d5 zD2HpJIJh1hW06SHRZ3G7jX3gS2erfueyxjh1t4TrrLdLHI1SFyJThKwL4JC4MrRFqBF oLFm7BVvfZvqVTpG7NgHqV+diaGqzPRghy0p03lUWzF/v9zuGwuU3GpHq/zvDqgpunOc IGAOY9PHkWEHLPV849tdRY1wNFLsysVFv2dm5y2lXM55761NOVwIWp7/VkgZQECizZeM edKg== X-Gm-Message-State: AJIora9le8eM1fqVcWQCBbrlrGd8VOFfpkM/4xN1U7BUpZIwUw8JbaSH K8NsEbVCVe4nd1j/tAuMWJM= X-Google-Smtp-Source: AGRyM1vqkolNgB92ctO0gYVfQXw1bNpOBZza9rZaMlT/NPaS7Eowf040Pekccz9ptH0IW98Z/5eHHw== X-Received: by 2002:a63:1b26:0:b0:3fd:8db8:9602 with SMTP id b38-20020a631b26000000b003fd8db89602mr7639512pgb.239.1656243491444; Sun, 26 Jun 2022 04:38:11 -0700 (PDT) Received: from localhost ([64.32.23.62]) by smtp.gmail.com with ESMTPSA id e9-20020a170902784900b001636d95fe59sm5055291pln.172.2022.06.26.04.38.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 04:38:10 -0700 (PDT) From: Ihor Radchenko To: Fabio Natali Cc: emacs-orgmode@gnu.org Subject: Re: Allowed characters/formatting in Org text blocks In-Reply-To: References: <8735fsuv1t.fsf@localhost> Date: Sun, 26 Jun 2022 19:39:25 +0800 Message-ID: <875ykn3b82.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::536; envelope-from=yantar92@gmail.com; helo=mail-pg1-x536.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656243544; 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=kWND6V4m26W4aIUcaj+Zoexz/Hlaaz6qts/liSaoZ5g=; b=SU1fAo3siPLFiX22b4aN2MfdRht1cxTU3JPC1r83AO0s8OrXZqH9PYPs5Zw2n7/QgW5gms weR0q3eZddmiqacQocmITWjCYwS9m1yk5MqANPMxa2wp3xxRroW4vv5olEEzjUcbFT3kkT CQstnA/eAO06wGlrHmmcPOEsirBVjqAopWwFGyw7UuhsxTiDVKZLLOHqxPQtg0RR9zu/86 OvxDgw9Mhm8eOSMtfeoP7BPEWGFTU1odYCaHf1CjcyA+3vmsgxAgvey/qXqFfZz4K4okur cFZfBqcnn6biEwO+a1Y/jS38JmFTZjKmW9er38WJdzF7j2fKG9NDdGmK7irSqw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656243544; a=rsa-sha256; cv=none; b=i5j1wbHr9OvDOdOwdqBsy+iHcOs0PY3XSlUiVif0VDbwO10HOq0Pfb6r3Vyh6It4Op5zZz egMenOtqp+vEeq0JHaTpZzN8pVjHW1s72pb6xuZl60HTJN0nZhlbMWBUHO2/v51XMwW2cg ss0ueYKam6UShNcsfLHqIjiGbl6m6hUlL8NSkwyeWfyMbzwPspNKM6veJRXOiC3ziaPOeC jyLXvCKVvvK2dWuGMdEwfiGqG05+UMc6tkk/c4Y/lsQ1lnwQY3N2Y+yWk0kbdJ+09DcxnD fMf3IlZKLTi7NKUYXav2as7WOAvIZArQ4nm7md8EmdkWmoq9R9WiC0UwtlYwDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=E21EV9mX; 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: -1.96 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=E21EV9mX; 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: 2FCFFC39E X-Spam-Score: -1.96 X-Migadu-Scanner: scn1.migadu.com X-TUID: zjbcFXdk0LdX Fabio Natali writes: > Incidentally and FWIW, this is a bit counter-intuitive to me. I'd have > expected everything withing a comment or literal block to be treated as > content until the ending statement, =#+end_comment= or =#+end_src= > respectively. I suppose that this makes sense in the larger scheme of > Org things though? Each Org document consists of an optional first chapter followed by a sequence of headlines. Each headline is a sequence of optional section followed by sequence of child headlines. Each section is a sequence of ordinary syntax elements. No syntax element ever intersect other element. So, headlines always have higher priority over other elements because they always serve as separators of the document or parent heading contents. The high priority of headline elements has prons and cons. Consider the following markdown markup: test 1 ============== ``` (message "Hello world!") ... 100 headings not shown ... test 2 ============== (message "Hello world!") ``` Should "test 2" be considered a heading? The answer is not so important in short documents, but long documents with large number of headings may become very sensitive to incomplete or broken markup like the above. In Org, you just need to care about getting the headings right. Issues with all other markup elements should never go beyond the containing headline section, which is especially useful when Org document is used as todo-list with large number of headings. Best, Ihor