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 0MrPIWNXlWIXkgAAbAwnHQ (envelope-from ) for ; Tue, 31 May 2022 01:46:43 +0200 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 OHO/IWNXlWLPzQAA9RJhRA (envelope-from ) for ; Tue, 31 May 2022 01:46:43 +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 3A46F392DC for ; Tue, 31 May 2022 01:46:43 +0200 (CEST) Received: from localhost ([::1]:57432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nvp5t-00059Z-Uk for larch@yhetil.org; Mon, 30 May 2022 19:46:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvp52-000597-NK for emacs-orgmode@gnu.org; Mon, 30 May 2022 19:45:48 -0400 Received: from mail-qk1-x72f.google.com ([2607:f8b0:4864:20::72f]:43628) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvp50-0000dP-JO for emacs-orgmode@gnu.org; Mon, 30 May 2022 19:45:48 -0400 Received: by mail-qk1-x72f.google.com with SMTP id r84so12051361qke.10 for ; Mon, 30 May 2022 16:45:42 -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=Er6xqXkiCj8IrjfuRkV/0TP8iMUI+kuN1Q0ANIlALwM=; b=ZlL2dpg3PHlmjolFnYxcTeB1zj8mBlVorWySk592qnKceWSkupZeHdGDCnWkuXgmaX AHvzP6+XvwyPeMshJBdYW1t6Xd/+nOmHLds10pOWLiDpTzet5pqX2Xvcb5CR7OHkDEVF j7w8+PpoJNy2UWuHM0wDARtu4ArfrZP5Kr7GTQavgZdzWnXyB5s9Y7/vuhuWuAb+RAxB K5Qc9vf1xg+qsj4PwcTQzm4zj477NZjUskGQalXtaDDwsvUiYWq8ILEflyvSDVEQef4h GEdFxWYR+qCXy9FZiaZX+SwnxXokW5KFjpSoo4O5JA46u7gNwe983whIkcLxriid5kN8 eeDw== 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=Er6xqXkiCj8IrjfuRkV/0TP8iMUI+kuN1Q0ANIlALwM=; b=bBwSFpQhBFjZ/6Io4SMdEiFrRJ8iRDHdobSlqbXzEZn88e/4WAL+6RtyrxD5oSDFa1 EwgFUBe5FPYEH5RHarZnL2FD8rAlz/FW++ME5eouiL7Ao3KsLYhKbft7JydncIHbvrxu xaVNszAaecqOJfy6iAfWblcy0/h8Qy0dv6guig1luV6BMLzMHM0bxBC8Jj/AuLoEmkto cBmR3ue/0UUucTxFwCsF8jKxn9raKwn0dr5C7XM6HtOMccds11PFoIDGTx1/73bEBH9r twK5DwpmmhUrMdcV9qtUI1V6m1jjEo1SIg5hlz89Z1xtwFF13Sv4d2pl43ANrKxGbxuJ gfgg== X-Gm-Message-State: AOAM533Idsr+hxfRNq8KCMzXa47kXc/+vHsKU+9MyLn40be3sRoSSUnI D7ihSqk750X+WXLzqQ8za9aLJ5EZWd0= X-Google-Smtp-Source: ABdhPJwondV/elvVFesUh8+rNe10lvEo7xh8DWOoXMidUTPyyP6AIxZdgVEpmhrVx6V6qBt/CVj8hQ== X-Received: by 2002:a37:40f:0:b0:6a5:c29b:4476 with SMTP id 15-20020a37040f000000b006a5c29b4476mr15876552qke.669.1653954341888; Mon, 30 May 2022 16:45:41 -0700 (PDT) Received: from localhost (22.b2.a86c.ip4.static.sl-reverse.com. [108.168.178.34]) by smtp.gmail.com with ESMTPSA id x15-20020a05620a01ef00b006a5ff4f9c6dsm4938327qkn.10.2022.05.30.16.45.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 May 2022 16:45:41 -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: Date: Tue, 31 May 2022 07:46:21 +0800 Message-ID: <87v8tmzir6.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::72f; envelope-from=yantar92@gmail.com; helo=mail-qk1-x72f.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=1653954403; 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=Er6xqXkiCj8IrjfuRkV/0TP8iMUI+kuN1Q0ANIlALwM=; b=uhUVPwdm/8Ii2ipHdL5KwMYfqHnJoljK9fbThEZAXYHT7YBlVMrFxJxezSuaKF6ENG1zwW VVammxEqomnGLPV2c0ZY14TXhY6GqwiY35mC3xQC3g5Bm+MD2IxVR9ZzHcYq9QjqkkamyE bA+2HL2r73cgXD7ncvRol098Kyz8QoJLX1kvPftoBBkDKZHMiVXvT2P84sK6d9s9OVCYp7 la1k/viJfJcG1s0Bv+lRFIqTaGgHzuFHzSzdW2o52xeW08SfzW8M7rLntRIAspMCAxRg5j ZW1y+FezMXq5kYJzBGNimnkRMbxAVPQuTVsZI4RcVpFgFraAB7AbnpbUQVUZKg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653954403; a=rsa-sha256; cv=none; b=Zf/butJFxT5JHpyZro71dAsHrOPd+yhBx11EHZVPvtMAvDTtEFujntxdcTztIarWfjCZvO +xmyHFW8qFI4oWkTWpdFyoyM+T6gUS+unPro3OwcdufhjJDu0oIolQAt81Xp1gI7Q4VY6p P2H5B8AUsUGR3ZujZ93dqOPoBG7EWkhpeq0EJgUh1/ybjlqKjuRjUXUbXBQrfFLY4jy8C9 MskmZRniACCreJ78bQfhp4szOSeS44THrrvSspZVpZiMctC7tHuJ72s9iQ6JuKvXQciUhC i76rb7t2uJgv+1re26GTFCUdHoN87gr0TuI25d/eVg1ZFDTsIYZ3+TRq+1YJJw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ZlL2dpg3; 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: -9.40 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ZlL2dpg3; 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: 3A46F392DC X-Spam-Score: -9.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: jCLffro/KCet 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? > 1. Clone https://gitlab.com/kaushalmodi/org-mode-mwe to a temp > directory (say, in /tmp) > 2. cd to the org repo and check out the main branch. The Org version > used when creating this report was release_9.5.3-520-g4dda0d. > 3. emacs -Q -L ./lisp/ > /tmp/org-mode-mwe/bug-recipes/collapse-all-post-subtrees/t.org & > 4. Evaluate the "code__fold_style" src block in that test file; it > sets the fold style to overlays > 5. Evaluate the "code__collapse_all_posts" src block; this code hides > all the subtrees with non-empty values for EXPORT_FILE_NAME or > CUSTOM_ID properties. 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. Best, Ihor