From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= Newsgroups: gmane.emacs.devel Subject: Re: [elpa] externals/org-modern 0043e584db: Use `display ""` for hiding instead of `invisible t` Date: Thu, 01 Dec 2022 08:30:28 +0100 Message-ID: <87sfhzoa23.fsf@gmail.com> References: <166983107217.27025.10929395413721986131@vcs2.savannah.gnu.org> <20221130175752.70424C00B0F@vcs2.savannah.gnu.org> <87359zamcg.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34140"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Stefan Monnier , Daniel Mendler , emacs-devel@gnu.org, Ihor Radchenko To: Visuwesh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 01 08:31:32 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p0e2e-0008ji-HK for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Dec 2022 08:31:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0e1n-0004Mv-MK; Thu, 01 Dec 2022 02:30:39 -0500 Original-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 1p0e1i-0004Me-BE for emacs-devel@gnu.org; Thu, 01 Dec 2022 02:30:34 -0500 Original-Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p0e1g-0002FB-Cq for emacs-devel@gnu.org; Thu, 01 Dec 2022 02:30:34 -0500 Original-Received: by mail-wm1-x32c.google.com with SMTP id p13-20020a05600c468d00b003cf8859ed1bso814820wmo.1 for ; Wed, 30 Nov 2022 23:30:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IaOV/Jpw+AMcYF/pAKAUPdcwjkv9+dN+yfdNeIkRHQ4=; b=FD53kEGcTjcxamIpkphPh836AiolEy7usa1xJiMhcy3hIMC8HAHESkC5M/R2Y00F2F rh7v624gHvJSSSw0CRTMs2QUtThZKQU4OEivDZQUeXa8FMb6Z2hBl/OvzqSbgWkICNIm 1yqKkShxMIzFj8zkr8bSJUSUCZz4AB6aQ3QdK9WEPxMK9nAP6ZxZzEGH/z/aDHoMCCCr 6jpTAfAbfL6guwR2gaVakGu+ZRFNc4lhxyG4WkU4BJrwb8wTo/HsiV0vg1AE/LalGm/E K+M4OYKeRe6vp35iHKZu+3PkCiY578O+D98ymuL4W4Z4UTcRwaFODt01SrNQYS8yErpb Bkpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=IaOV/Jpw+AMcYF/pAKAUPdcwjkv9+dN+yfdNeIkRHQ4=; b=JBnS6grixSNCig4ies2zFH/iehosIhawn01O7OiMVaP/W4PpKo0B07pXxbfxvSKolV Vkei8NpZjzyUM7eBmLB4nmKFYlEwX7LLgC1S9tCmVS+pRXf2Ere9IK+H2j0TbSNUcg4x Ig21hEmoGJISPwSXJpa44Pa2nU4ba236qo8iYbZ8BJ3EX9svVGNRqLIBGXMvL4csCbZ1 jtPHgm7TUa1YTuHObldgHFGZZixmJAAb/LbSkJqvIYiKsKa5pZJ9D7ek/VUgaJRhQfEi JijMt/DH02dzQRdDmCSkiV9i58lh4pMqF2ywq9af5AaOrryWZ28GWZw2Z1qS/cWu3hXr 6Qiw== X-Gm-Message-State: ANoB5pmjSuEJQ6UE3DaMOl+PfRLCMcx/Jf/8NcwCqw3tm7Pg/2Zjeqsu 54xzmlrtEdgCjrXVocFI9l4= X-Google-Smtp-Source: AA0mqf5WuZyaa221GzUr1lftQwt7+iy1ODIxCtup6jGl4tqJF8oz6wd9rFjaNvcNmWGZl87rKjyCzw== X-Received: by 2002:a05:600c:5014:b0:3cf:72d9:10b0 with SMTP id n20-20020a05600c501400b003cf72d910b0mr33510609wmr.26.1669879830301; Wed, 30 Nov 2022 23:30:30 -0800 (PST) Original-Received: from amdahl30 ([2a01:e0a:253:fe0:2ef0:5dff:fed2:7b49]) by smtp.gmail.com with ESMTPSA id i1-20020adfaac1000000b002238ea5750csm4504841wrc.72.2022.11.30.23.30.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Nov 2022 23:30:29 -0800 (PST) In-Reply-To: <87359zamcg.fsf@gmail.com> (Visuwesh's message of "Thu, 01 Dec 2022 07:58:47 +0530") Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=kevin.legouguec@gmail.com; helo=mail-wm1-x32c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300804 Archived-At: Visuwesh writes: > [=E0=AE=AA=E0=AF=81=E0=AE=A4=E0=AE=A9=E0=AF=8D =E0=AE=A8=E0=AE=B5=E0=AE= =AE=E0=AF=8D=E0=AE=AA=E0=AE=B0=E0=AF=8D 30, 2022] Stefan Monnier wrote: > >>> Unfortunately it seems that the invisible text property has been ta= ken by >>> org-fold-core. >> >> What do you mean by that? > > In the latest release of Org, the outlines no longer use overlays to > fold but text-properties. All the assorted stuff was put in a general > purpose library called "org-fold". Relevant bit from ORG-NEWS: > *** Users experiencing performance issues can use new folding backend >=20 > The old folding backend used in Org is poorly scalable when the file > size increases beyond few Mbs. The symptoms usually include slow > cursor motion, especially in long-running Emacs sessions. >=20 > A new optimized folding backend is now available, and enabled by > default. To disable it, put the following to the Emacs config *before* > loading Org: >=20 > #+begin_src emacs-lisp > (setq org-fold-core-style 'overlays) > #+end_src >=20 > Even more performance optimization can be enabled by customizing > =3Dorg-fold-core--optimise-for-huge-buffers=3D. However, this option may > be dangerous. Please, read the variable docstring carefully to > understand the possible consequences. >=20 > When =3Dorg-fold-core-style=3D is set to =3Dtext-properties=3D, several n= ew > features will become available and several notable changes will happen > to the Org behavior. The new features and changes are listed below. > > [ subsections elided for brevity ] > **** Hidden parts of the links can now be searched and revealed during is= earch > **** =3Dorg-catch-invisible-edits=3D now works for hidden parts of the li= nks and for emphasis markers > **** Breaking structure of folded elements automatically reveals the fold= ed text > **** Folding state of the drawers is now preserved when cycling headline = visibility > **** =3Doutline-*=3D functions may no longer work correctly in Org mode My understanding (based only on skimming mailing lists, haven't tried Org 9.6 yet): * org-fold-core-style is 'text-properties by default, * ISTR a bug-gnu-emacs thread where overlay performance was improved, so I wondered if Org 9.6 might revert to overlays by default and make the new backend opt-in, * then again ORG-NEWS advertises "new features" with the new backend, so it's not just a matter of performance I guess? Paging Ihor in, to dispel any misunderstanding of mine.