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 WCTzNeFZlWJT2gAAbAwnHQ (envelope-from ) for ; Tue, 31 May 2022 01:57:21 +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 QMXENeFZlWKusgAAauVa8A (envelope-from ) for ; Tue, 31 May 2022 01:57:21 +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 84A023945A for ; Tue, 31 May 2022 01:57:21 +0200 (CEST) Received: from localhost ([::1]:60708 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nvpGC-0007ko-7o for larch@yhetil.org; Mon, 30 May 2022 19:57:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvpFn-0007kP-03 for emacs-orgmode@gnu.org; Mon, 30 May 2022 19:56:55 -0400 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]:54233) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvpFl-0002CX-BO for emacs-orgmode@gnu.org; Mon, 30 May 2022 19:56:54 -0400 Received: by mail-pj1-x1030.google.com with SMTP id a10so2908636pju.3 for ; Mon, 30 May 2022 16:56:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ictzA3d1juRNe7pnahHpwFkemOKBObVZ8pRlYWQX50o=; b=YD7xJMDG2lxZ4579A9fduIoIgOc/RhRkyD4wtZXHs4GsXN020p690qK0ai5GRZJGod Kyax5zGQnbNu4r9rSi+RC1Q98fR165KS2r5tiZhe1WDThl243F3fv4R94eOjYE/XAiKA k1MNFU/5HBktdu28pn2bN7OZ6GfYxdjifB+vzuowZJnfFQUu9VsSZ//ZHwnYxBBfkprc JzL6kxmUdv8WnmXcgjBdlzLxEMKTImEN0wcp8ASgRrFz5iryr297IfnBBhFzy00ev9k/ Wc2K6EXP/lhAkjqaDWs/55K7NpTvXFYl+GWOxQ/2MnHap/Kz9vKzWS1JSPNGrlU4zG2C qkMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ictzA3d1juRNe7pnahHpwFkemOKBObVZ8pRlYWQX50o=; b=0U9y08XKSuhhdvAjau9RnMgIva11OUBFpEGkXFcOBRg//AxgQUbj6V7S7sg+6wywGb +nvqyFWWaXWctgkYerND/egeEU314HVnjpfY2U9nDpstPKx4fSSdj5g2agqrHTuYHQOA sbW3x1DV2eaaimIxoIOoBoSwnTI9cA52J4QeswmMpacKFG4gKLoSedYzrjBEQG7BRSjP ghVtkAtPNpmM9etnyAXufsHK6fw87L9sdk8WKvVjRhdL9+ucaCP5WWkexu8kg9IZXYQg SwaLBMzXpmIPKpOV0o9TLqN7wLoo/5cnkKRbnxn1J/voiXxrop2ug7psMuiXRwXXqBfp z4pQ== X-Gm-Message-State: AOAM532RNeSWMjjE7m2wAh6wGX7jAKdN9GkaUwYgInDSPHsT2p6r6GAe zhazS+3QY935MN5foMR/0Tm2fHx/eQ9ZQWypgNQ= X-Google-Smtp-Source: ABdhPJzzpfdDnZzKmZi75DxS0I5DydhZuEV65OPcvAwru1WAlKgRFmiKJKR4ZQS7MTN6ZIlVQWFlXbNnLLVd0zTtn/M= X-Received: by 2002:a17:903:120f:b0:15f:99f:9597 with SMTP id l15-20020a170903120f00b0015f099f9597mr57403148plh.45.1653955011843; Mon, 30 May 2022 16:56:51 -0700 (PDT) MIME-Version: 1.0 References: <87v8tmzir6.fsf@localhost> In-Reply-To: <87v8tmzir6.fsf@localhost> From: Kaushal Modi Date: Mon, 30 May 2022 19:56:42 -0400 Message-ID: Subject: Re: BUG: org cycling regression when using the legacy folding style overlays To: Ihor Radchenko Cc: emacs-org list Content-Type: multipart/alternative; boundary="000000000000f49bc905e0436884" Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=kaushal.modi@gmail.com; helo=mail-pj1-x1030.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, HTML_MESSAGE=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=1653955041; 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=ictzA3d1juRNe7pnahHpwFkemOKBObVZ8pRlYWQX50o=; b=nUrJt0Gy8olGwWBsy17b7rotSamCkeSjilq0XPqXod4CUfQzB7UBWjQGK8qLqJanZHopBt B+p+aDg1h6fMWY8GVCfH7XISMTE8HhMcblpKTkdjdLC9Orm69E6Y12AdkHiya7cVnn3cwt 71gvKg5IqM0ZUQA6eAnNHFe3ixWtulBt1FlEYntKXxt9Z9Uvbl3vy55bmlL6FKA0gssJ8x 0OMENms4k5Tex2hnQyUt5sOnKWBRd2+EkkOE7X8MZn7RCtBed6m2c3+Lf4V+H+ZnSbpAz0 Bv5P9zlOVJw8oKIFh4v84BoRl9+0AFXJlhqLmtSfvaPmx9AU7QbjTfDSMp8zPg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653955041; a=rsa-sha256; cv=none; b=WxHQZnfbHXRjsseU5XIVHtDnzqPFI/Rqjv4OqypYR6ZtSYfcYcimyt5Ifro8WSCh0uWue3 TcKckfa0/7W517IFEQLofPsrGRmDBYCSXEKgrybCxBQ7qziYoIdLf2EaONu4bAjOeJXuyD qNI4a7jewwTo0bjYRYJa+pxFqMoq4wf1k+5E3tibKD2LBF8UTO5JVe7ZgKs+/61xKBeqHy KPEj8gabq6xFXkDjG3WQsMcPYAAzuf3kH7KP8aCBGBeDeF5mDK+FUp46oEKcIqBLeuecCJ Sw0ayGMDsNTs474GcXu5B/gVzl2gfdweG8iYMujhEOLvaLrb6W1ueYdGL8859w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YD7xJMDG; 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: -4.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YD7xJMDG; 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: 84A023945A X-Spam-Score: -4.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: PJk5l/zykKn+ --000000000000f49bc905e0436884 Content-Type: text/plain; charset="UTF-8" On Mon, May 30, 2022, 7:45 PM Ihor Radchenko wrote: > Kaushal Modi writes: > > > I was trying to create a minimal reproducible example for a different > > issue and I ended up with this other issue that I didn't expect and so > > I am reporting that first. > > > > Issue: Opening an Org file gives (wrong-number-of-arguments # > looking-at> 2) error. > > Do I understand correctly that your reproducer has nothing to do with > this error? > Oddly, I was able to reproduce that error 2 times in an emacs -Q session, but after resetting the Org element cache, that error went away. So turns out that the same cache can be reused between emacs -Q and regular Emacs sessions? Your code__collapse_all_posts block makes use of hide-subtree from > outline.el. Please, do not use it. outline.el is no longer considered > compatible with Org. It was not in the past, and even more so now. This > has been announced in ORG-NEWS. > Thanks! I definitely missed that. I'll read up on how to do the same without hide-subtree. > --000000000000f49bc905e0436884 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, May = 30, 2022, 7:45 PM Ihor Radchenko <= yantar92@gmail.com> wrote:
Kaushal Modi <kaushal.modi@gmail.com> w= rites:

> I was trying to create a minimal reproducible example for a different<= br> > issue and I ended up with this other issue that I didn't expect an= d so
> I am reporting that first.
>
> Issue: Opening an Org file gives (wrong-number-of-arguments #<subr<= br> > looking-at> 2) error.

Do I understand correctly that your reproducer has nothing to do with
this error?

Oddly, I was able to reproduce that error 2 times in an emacs -Q= session, but after resetting the Org element cache, that error went away. = So turns out that the same cache can be reused between emacs -Q and regular= Emacs sessions?

Your code__collapse_all_= posts block makes use of hide-subtree from
outline.el. Please, do not use it. outline.el is no longer considered
compatible with Org. It was not in the past, and even more so now. This
has been announced in ORG-NEWS.

Thanks! I definitely missed that. I'll r= ead up on how to do the same without hide-subtree.=C2=A0
--000000000000f49bc905e0436884--