From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 MKp7LPWVqWOEPwAAbAwnHQ (envelope-from ) for ; Mon, 26 Dec 2022 13:39:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yG16LPWVqWO6XAAA9RJhRA (envelope-from ) for ; Mon, 26 Dec 2022 13:39:17 +0100 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 9428416196 for ; Mon, 26 Dec 2022 13:39:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9mkN-0007EU-7s; Mon, 26 Dec 2022 07:38:27 -0500 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 1p9mkM-0007EB-54 for emacs-orgmode@gnu.org; Mon, 26 Dec 2022 07:38:26 -0500 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p9mkK-0003Of-6t for emacs-orgmode@gnu.org; Mon, 26 Dec 2022 07:38:25 -0500 Received: by mail-lf1-x132.google.com with SMTP id p36so15769912lfa.12 for ; Mon, 26 Dec 2022 04:38:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=XDFMD3LrINnp7TFfqMmGcsxxT/X4sRPxlZO+WtW63OA=; b=bw5Nl7AxU5OC15Cx3tce7mZfIB2J8LdICiO0TbQyM3/4UbWo7u57inCiA4k6w+vPiI T219j8mZ2ZxjAkHNoVr+zO36Mo60QuwayBUHbpZLcRt04puTba+IAl6Bgygxqlq3bbyF dwn0C5JDQ7i4n1xhmVlQ7kN2UVBdCwOti5xU8Gp4h8RHiRS46dl7fVYwXVsjBWheDfeR QZqQQZIo4uTjbKAbH6a2Nm+tu/pnxvYoh17RsGvhL2jZUi4iXEhzrG7iy0abd7rFy9W8 YcLKeN/SC3QGvmOIF+CbLVwXU0T2SmDMd6+iOOoZ2LK9BldU10BPT4RS0KLSdAMeSKFs c3xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XDFMD3LrINnp7TFfqMmGcsxxT/X4sRPxlZO+WtW63OA=; b=MjwP7YDod6zKpgAZu9bUJj+/yowkt8ebf24pGPFqudBwNVTqu6gfI5tlk4abaO15ro w9VN+JHzsYTDw38TfN75S/+X0JiFzOxZBR5uUGqZEtxjx8COCeGP/dGbBtCiagE/mvj6 Inc2/zfo+Ueu6nwrXG0oeeVW6wgeUcUI/c6IoCbMfHNMi4zj0L7sLWnMrK/Z2lMtTw9Y sdj5HjHACHKsK0qbWsNKYII3UVBMR8uTMpYgWIU9GByCBQi1E+dmK0r3aeRTLPDMpdPZ aeVRp1e8B/KK/WVgMzsw5psGDK93bWWF0on4Sf4Fr3tMSgjwxmdeMpCRIm1jPYj283yU xizw== X-Gm-Message-State: AFqh2kpQw47Zqal7kERFQ/ZH2MTqEL2rLqccf15/BtcZjKJCcWUQFnG3 NgHfVIRkiINjWYk3GG4oqIc= X-Google-Smtp-Source: AMrXdXumFlnCRBlmJXoZ/SAoTn692aYUKNPce3gzmyjmiQi+qDnjYAZOQm43CxTRJNnQ+bTZuX9OvA== X-Received: by 2002:ac2:4d03:0:b0:4a4:68b8:9c4b with SMTP id r3-20020ac24d03000000b004a468b89c4bmr5611830lfi.51.1672058301873; Mon, 26 Dec 2022 04:38:21 -0800 (PST) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id f2-20020a056512228200b004ca0ea7af24sm1795216lfu.174.2022.12.26.04.38.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Dec 2022 04:38:21 -0800 (PST) Message-ID: Date: Mon, 26 Dec 2022 19:38:20 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: Is the cascading logic of outlines a feature, or a design bug? Content-Language: en-US To: abq@bitrot.link, emacs-orgmode@gnu.org References: From: Max Nikulin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=manikulin@gmail.com; helo=mail-lf1-x132.google.com X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 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_FROM=0.001, NICE_REPLY_A=-1.147, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672058357; a=rsa-sha256; cv=none; b=oWqb6ZMK+wh+7hdwK3Ib7zBvkRfOixFQ03deYQU1ckAFm00itOwo11oZUHhU92lY09IOdl aT//KCPx1ReHj7/4rKSw1UW3OYxmz/pHNka2vVcW+aSQW6EnpuTW7ZColkmCG3WVRdOWF9 WJTIQ/LqcE0xAg6ORpoZ/RyLnPuYZA5NIpzpFxJIvsSBNpacDB/OdGWux8AW6AdTIQaBur EJTvUIvmrZyDH9wFtOdWeUFxaZz4agTK/E+/OoJTaxvG1v0AV/sBDJOIa0NuIvREbICXFF ZA2DFirEHT7ZNlZ6ITVPwYDgsprmc8dffjugfLGCvm/L0KcXTjrkIPkTL27ynA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=bw5Nl7Ax; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672058357; 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:dkim-signature; bh=XDFMD3LrINnp7TFfqMmGcsxxT/X4sRPxlZO+WtW63OA=; b=m6ZtcUEwoRlv9YbraTSsgA8R1AVwXyPCMWjAIEykchFuXyLJA6Zc2qpD8+8Yfd0h6tLHJe Cdngsj+EtpOn201pVuV+wJ8HYjkeiFYcoqwptR5s0zGpXjuylk4hZuwbrTX87wgX508XUD GNjcWH+KPqelrsMoPJAPqyAe3ZuCGQhCP8bMg5eSdiW+KlJOGdGb6hmoOJJur+dGw9Bi8o S5i1s3mZP0tpkJjXUzXzvaMrvPHXL7sa+sHBATVidbNuep9sXQoDg6ZGTjbTCzY9FkbP/r SoAAfbKHe0iDxItPWixBdo9X/ZKi9ci3ttJyjMszWXghg4e5dk1WcCk+TUYqIA== X-Spam-Score: -1.73 X-Migadu-Queue-Id: 9428416196 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=bw5Nl7Ax; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -1.73 X-TUID: SXt5Fmowxe2Z On 26/12/2022 13:47, abq@bitrot.link wrote: > https://orgmode.org/worg/org-faq.html#closing-outline-sections answers > The answer given is: > "no. Org-mode adheres to the cascading logic of outlines, in which a > section is closed only by another section that occupies an equal or > greater level." > Is that limitation a feature, or a design bug? You may guess that this item appeared in FAQ after numerous discussions on this mailing list. Search its archive for details. The most close feature is inline tasks, there are other structures like #+begin_something/#+end_something blocks and :drawer:...:end: that have closing marker. Some Org syntax limitations are imposed to be able efficiently determine current context using regexp searches. So "** Heading" lines must be escaped in comments, nested identical #+begin_block structures are not allowed. Another point is treating Org files with syntax errors.