From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 iEsZHcOJlWJ2tgAAbAwnHQ (envelope-from ) for ; Tue, 31 May 2022 05:21:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sHbuHMOJlWKyGAAAauVa8A (envelope-from ) for ; Tue, 31 May 2022 05:21:39 +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 157313D750 for ; Tue, 31 May 2022 05:21:39 +0200 (CEST) Received: from localhost ([::1]:53880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nvsRt-0004KP-2r for larch@yhetil.org; Mon, 30 May 2022 23:21:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvsQH-0004KH-1c for emacs-orgmode@gnu.org; Mon, 30 May 2022 23:19:57 -0400 Received: from mail-qk1-x733.google.com ([2607:f8b0:4864:20::733]:44701) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvsQF-0004pR-Dv for emacs-orgmode@gnu.org; Mon, 30 May 2022 23:19:56 -0400 Received: by mail-qk1-x733.google.com with SMTP id i68so12273192qke.11 for ; Mon, 30 May 2022 20:19:55 -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=MdhU+r95C4RUqZAV0BxrxEcNM7v6WAdQUQ0epXGJD/w=; b=bcPlpO5b4xPLw4TmQUoOH5sXrAmPcLNn+785TM31fiOMOCf2h/Ru2FOFyaFLuysHLx bjtA9y9/J/MvVnfud2aGcq3Jx7RhTXSCkRrTgMG8Bp2UJxOQKEaI9R0qSm1bzIkJnbgw jh0nJEwbM8hgTS8DoFRb0yRTYVWjksgSOP5Pl6wP7jCfaO9OLZs6qqZfHpTDLOWDwhVt 3J4pUP9UXuxf8PH+i96R60wIK40FKEcF5vUg4kBL4eLDqihmIZRwuoC37SjfcgLueZ7j 7AhZXHqsvYdRpHvuDGIXtCMOQD23/hyJU7g3JkIlbSCDDxKz3BhUDUIDVbVdA2hLFvmH gatQ== 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=MdhU+r95C4RUqZAV0BxrxEcNM7v6WAdQUQ0epXGJD/w=; b=ivFZV0A44RRTuI59FCtuOqKMsJyEMfQAAi/1ptYSLWCDbf3BXjQpUUW2cwcGIlKJ9u juFCiB+Nl3llYfWZuMyTO+j5+sKvQj3+bcVbWoOSnSRTmap12Blqx5sd6SjxtUsdcxKP FDkxBFST1L1qTkXkj28d/ZW6odACdnw++Vp71kCvXHwnCdDYlDqo9D5/kP6MFSJ6Gb69 Cxkp6bVVdLgGt2FTqpI3lCxLygAgnoSGEoB10gF++QeJTi5l1p0ataYkCvRCSSfbqWIy kv0cYR/PA/ZQePQ6nIRgQzJsnK4KGTHHsGzpcHaW8c6VvZqh1LOIZSyF/TErJL0hYMla cfZA== X-Gm-Message-State: AOAM533BMng26qArmLyEabUoSXIhZlNxe/keX8YsZpjtS2It2RvilQpY SN7E9lZU0RcwLYaFRipvdK+49MBDT9Q= X-Google-Smtp-Source: ABdhPJyXk86JrYi3iEOdNAHG9Bpnk1UMmVs/VDQrR+9KkVLnFNds5v9l+QzQj8bVijbjkU8Wttj2tw== X-Received: by 2002:a05:620a:1a0e:b0:6a5:dac2:d0ec with SMTP id bk14-20020a05620a1a0e00b006a5dac2d0ecmr13102171qkb.667.1653967194337; Mon, 30 May 2022 20:19:54 -0700 (PDT) Received: from localhost (22.b2.a86c.ip4.static.sl-reverse.com. [108.168.178.34]) by smtp.gmail.com with ESMTPSA id c17-20020a05620a269100b006a37eb728cfsm8734526qkp.1.2022.05.30.20.19.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 May 2022 20:19:53 -0700 (PDT) From: Ihor Radchenko To: Kaushal Modi Cc: emacs-org list Subject: Re: BUG: org cycling regression when using the legacy folding style overlays In-Reply-To: References: <87v8tmzir6.fsf@localhost> Date: Tue, 31 May 2022 11:20:33 +0800 Message-ID: <877d62pev2.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::733; envelope-from=yantar92@gmail.com; helo=mail-qk1-x733.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=1653967299; 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=MdhU+r95C4RUqZAV0BxrxEcNM7v6WAdQUQ0epXGJD/w=; b=dKP3VEeE/ZErP5PI2sw/d+bCnKM//h0/2CB1rmf7o1nIOr1P5k8b9e20NNlJcC2zl+RYT8 C9CAJjXOIvbQH9/1ixPtYALPamCsx+cN5HCLVR4tszjY/44zuAVzHzR5zs9t/7JbD4KzOt PmPEH4ruy8QFctwoMyBSCaIek6VP53AvOYYxYWzdAZ/QrNaHR6APCM7zU5nFRVf9hRB9OC az/BsAVs309C4zsmtmaBePrB8lUTiKW4PE149fs0Wo0VgFBDhRI0AM9YvpgGo6dNxGndUi fEFdIPGYih4Jjprd/k8vXYP3cOdWqr0jUCPgbTZFOMc6hmLp/ihGGtKIzPLE/Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653967299; a=rsa-sha256; cv=none; b=RK7LGn3oOGQ9GQjwJQNrp2NjT/DtSaAYJYbbzgQoml/Y+mRLkhIyjLmSRG9VWteng8ut7h 49NHO1f8FzhuEzNsfAId7+bwpApL+01R+kU2rzDL1LQBu3uhqNMP9CYTEkAsX78pUHfC0l NCZWVIr+ZKhnyd9Flhyh2gCZvO1dxYfYiI/PpMXDkk0e4y72pfk6waaOQRAeDNDpa7ILCg KEJszGBEYAjihHdCMZmwizPtKkQ4L1NgAI1VUd8RVmbienh9fu0efQWLlxUoztAaTLdUfF 5SKK5bkWVrxBY8P3WE4J+rNdRF/RGP1zBJSPg5FNyGbCbdfzYreGkIMdPgkEXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=bcPlpO5b; 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: -5.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=bcPlpO5b; 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: 157313D750 X-Spam-Score: -5.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: uv7i64yDRayI Kaushal Modi writes: > I read the ORG-NEWS: > >> The new folding backend breaks some of the =outline-*= functions that >> rely on the details of visibility state implementation in >> =outline.el=. The old Org folding backend was compatible with the >> =outline.el= folding, but it is not the case anymore with the new >> backend. From now on, using =outline-*= functions is strongly >> discouraged when working with Org files. > > It says that the new folding backend won't work with outline.el. But > in this case, I am still using the old backend. > Are the outline.el functions expected to stop working for the old backend too? org-fold-core-style 'overlays is not enabling the old backend, but rather enables legacy support in the new backend. Strictly speaking, I can simplify the 'overlays option to work exactly like the old backend, but it will also require changing some other defaults, which is awkward. Also, it will discourage non-complying packages to keep using outline.el and instead ask users to change to the old backend. I would prefer to avoid this. 'overlays option is intended to be a emergency solution for people experiencing major issues with the new folding mechanism. It will be eventually removed. Best, Ihor