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 ms5.migadu.com with LMTPS id SEWaLToXq2ORZgEAbAwnHQ (envelope-from ) for ; Tue, 27 Dec 2022 17:03:06 +0100 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 OM7WLDoXq2OahAAAG6o9tA (envelope-from ) for ; Tue, 27 Dec 2022 17:03:06 +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 7109539E17 for ; Tue, 27 Dec 2022 17:03:06 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pACPH-0006L1-N0; Tue, 27 Dec 2022 11:02:26 -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 1pACPB-0006KT-Sy for emacs-orgmode@gnu.org; Tue, 27 Dec 2022 11:02:18 -0500 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pACPA-00016z-5c for emacs-orgmode@gnu.org; Tue, 27 Dec 2022 11:02:17 -0500 Received: by mail-lj1-x22e.google.com with SMTP id u12so10436481ljj.11 for ; Tue, 27 Dec 2022 08:02:15 -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:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=gVPq8DLtwjUN3fYbnWgy8oK4YgXMPGzH/J8ZVRBg2p4=; b=faeaYLHg3siWKqGF5iZz4TYMQqKAT03l+7jMfGhmUJV82AWHtJsHRM6NBnRv22wP4h L89YXSHkQS+fO081HputVxcMMTJOVLDgKGf1K03GRe5/BopZ2/LWhflq/QCxMP6f/D8x 30FBX0hioxBNTtUYMVEYtVzcOYL7T/UiAqAF0Z+6Hf7eVPLKh5Suh354WDvAj+31mTNz 9WvFkErAiAvkFGXvHcOfIwa9FGGUSJ6WwWNnwp3cIn8ajxGl6hj47wjebwGZLCZLxQZK anEbRhJBfXPGUR36uEgawjF+pmFFaGPrYyYiUiTxzO6aY7XXtRXfd3qawF6VIeZHP15+ HwvA== 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:cc: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=gVPq8DLtwjUN3fYbnWgy8oK4YgXMPGzH/J8ZVRBg2p4=; b=vrxUkwMyDnec7pTq+XHWySfZSxCkbz9vYBoWzSJeNZbe2Lzb2+iLNcOeSSkh6KJ84E SlaZCw3rzVFIu93NUSk+s2HEKG8ZteTCbpEPy2kF18ZTIcpeIfCR1MfXMw6tANcr9GXY GbiMdcfTJ+6FxBQREdDDb7dLvXY2SPjTzIeMr1RoWJjc1P0UA6txcqlr5l2nFoBh3Uqh 5K2PsENSgxybAG8bYWYLNSrUgneJcaGmcgfbdc+Kl+Q25CwxioRZoH6C0ywKxj/3KQpq eaX34BL1Byh+VNUUF41Vo/bWU8EFjGolZDIHBJP/GDtfa9hKwWfNekM11Zpdq3iDVjj3 cxCw== X-Gm-Message-State: AFqh2kp1l6Go+a0O704jjAISrHJbGARLo+qqXhTXb7J4FYyaOguoPCKc XUANUCQ0Dj9JmkfBGrO7T2TgvdqEoggQqg== X-Google-Smtp-Source: AMrXdXuXM75/QiO+SPH6Q5NN5yp/E+ZJy8A/lhnbfzVZKiGQJ2Fe8JalnOaiiFtzNx59DUYVY27e8A== X-Received: by 2002:a05:651c:554:b0:27f:acdd:e435 with SMTP id q20-20020a05651c055400b0027facdde435mr5924074ljp.39.1672156934328; Tue, 27 Dec 2022 08:02:14 -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 a12-20020a2e860c000000b0027f770526ebsm1669471lji.75.2022.12.27.08.02.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Dec 2022 08:02:13 -0800 (PST) Message-ID: Date: Tue, 27 Dec 2022 23:02:12 +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 Cc: 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::22e; envelope-from=manikulin@gmail.com; helo=mail-lj1-x22e.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=1672156986; a=rsa-sha256; cv=none; b=U+C13Jr1Vn1eMG+LuDeLSP7kQ3qXKBMGNziT5JKBoTZqJjx8VfxP4Ygqm629XVxl9Clr4B 4nccw6eRnZaGPfwoQ+fMGVSB3c42m8PtivgFE4/yjgtfk3h3gWY6kUAjzZAaqRFyHlMc9/ T8TKx+wx0060BPwNNf5Ss8lD1yYXnQZ8tuJuDR4KdQEc69X4TuntxDDeuBMAzMBGvd+dMs Xit/z9uBCEXeLvhiNYWM9rmxb1zKo5nDg7HrJu9IX2ERjG26MUus8uJHTx/9uQWgNGNUxi FbZbYKYtmG+44hVZB7evMLUMOD3f9nYIbL5Q9fwqd7gD0A2mZ8TqgiRLph0KOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=faeaYLHg; 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=1672156986; 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:dkim-signature; bh=gVPq8DLtwjUN3fYbnWgy8oK4YgXMPGzH/J8ZVRBg2p4=; b=KwaEuZYszu+g4yIN98Cu2oXQ22sGRa5gb05AFnGVfG3p15lGAlplDRzryZy+xjZpv2wWm3 acNbMJUlnXXtXZfcZlhR6dv+a6toyqrHLk8oQTbOBWuOsNhSn+7gdHV0ry59UD6oT1dBHi OMfkoJYMNsZUXkUjGp+WtJ2ZiLUOToFRP8GD/myZqrDQRhGbvSitJPXGhOrdOItDeHstFz Xc19txRaMj0Rre8V48DBzG6WWXXrP/6OYdhxCo4o1GtWBfrXVO+tu3qDmTnCDXWB+CF4JF OSzCbwzJV6lqKy3xmXQSe9fp+ByuhWPI/5ZA+AE+2utOV2FbkBR7+lwtayoQaw== X-Spam-Score: -0.83 X-Migadu-Queue-Id: 7109539E17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=faeaYLHg; 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: -0.83 X-TUID: eC/UucUcEABA On 27/12/2022 00:03, abq@bitrot.link wrote: > When I searched prior to posting, the only info I could find was how to > work around the restriction. But my question isn't how to work around > it; my question is, what is its purpose? I have an impression that I saw messages explaining that the real problem is to implement the feature consistently and to avoid too much code for handling it in various functions. I do not have specific links. Reading such discussion I would pay more attention to messages from Carsten, Bastien, Nicolas. > It doesn't affect regexp search efficiency. Regexps would be more complex, sometimes several iterations would be required. You may underestimate amount of code that should be adapted for this feature. In general, I do not mind to have such feature e.g. to have an overview headings with comments between deep dive notes. However if I desperately need it, I will write a custom unfolding function (for tagged subheadings or for drawers). I am unsure that benefits outweigh additional complexity and performance penalty. This topic belongs to a several feature requests that pop up regularly and fade with almost no outcome (intra-word emphasis, merged cells in tables).