From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sLl7Fd9kk2KYYwEAbAwnHQ (envelope-from ) for ; Sun, 29 May 2022 14:19:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4MKTFN9kk2LLpgAAG6o9tA (envelope-from ) for ; Sun, 29 May 2022 14:19: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 EB25C9A52 for ; Sun, 29 May 2022 14:19:42 +0200 (CEST) Received: from localhost ([::1]:59382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nvHtW-0007af-5S for larch@yhetil.org; Sun, 29 May 2022 08:19:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvHsx-0007aX-7r for emacs-orgmode@gnu.org; Sun, 29 May 2022 08:19:07 -0400 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]:47103) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvHss-0007Ft-R9 for emacs-orgmode@gnu.org; Sun, 29 May 2022 08:19:04 -0400 Received: by mail-pj1-x1030.google.com with SMTP id v5-20020a17090a7c0500b001df84fa82f8so8205111pjf.5 for ; Sun, 29 May 2022 05:19:02 -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=olrMshu1q7t0on3mkRtJUHp6YT0F5zL9oFZcw+IP7JM=; b=o89rqrXhAdYkE5bR7uW1UERBn3cyvfk5cWpAk1dumbtwBCjjas821Dm1WCbdj1kLKT RmKtatphGW5uhPWUnGvV/PmCGvpwetuf9FEUw3F3yX6DhDZnD+XPvWbryv3F9V1Pa3yD EfHDbAq4EwHSh4Tbia870tnybjE3obnHGLhYL2ikVpV97/3ItjMAJ+tp58xmKpz2CtL0 h99JgLzlof7PBVnCVBnYS9268cjICZI9vI5hKswW5nMgMIgw1DI0+7d7nLOqPp7OzMyV h9clRjDla7PtlrGWRdWRor7a+OvlPnZ7Q8on4PuVAxGEqB/IFgSHY+VvGUrNgjFV8Qy/ XJ1Q== 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=olrMshu1q7t0on3mkRtJUHp6YT0F5zL9oFZcw+IP7JM=; b=uegtoER8EXOMldjV/6cguvD1Lo7O3DiIA1oeaz/uLQQDXlKXNr+VSlipt0CGrRpKbG 1KpqnGUXMQFTrgtaaDNe8OSDoFnTE6O9O83QKiHUUDg8pGGv12ckJXAf1yS+dnUjwjD3 YiEgb9ZFpHqdSXnlop6qS3EC4H3oTcnfBCj27lehFNN4jqQ+gcY5BjqgztJSoVNu1kkY 8JCO8Ys6lJFTUoFMO+g3qGtFJVtHD7HWC0dn0ik5Si8VHCWs3CSRc2cZ47WYbFyPq0Go CPplp0OH6O4BbuyNLWqvsf2HKGQZ43ix7KIka18DsMXZk61Meq5Q32pHPUoFG0B7E9Y9 nwgQ== X-Gm-Message-State: AOAM530rtv76/FfpCLx6gN0jgD3NUTvjbFeF4SU7lmiOOurLqFU088eF t+lavvmn11Omx9JyQ85qEyqc0BrMaBQ= X-Google-Smtp-Source: ABdhPJw+48cLag/yH1mBaEEk5FglVFSt0DQJ3pD4ElQ3KBMrha61NN6PhXIh+toQ1YxTMXny9Zhf8g== X-Received: by 2002:a17:902:e889:b0:163:4f15:8a11 with SMTP id w9-20020a170902e88900b001634f158a11mr23571189plg.11.1653826741200; Sun, 29 May 2022 05:19:01 -0700 (PDT) Received: from localhost ([64.32.23.62]) by smtp.gmail.com with ESMTPSA id f11-20020a170902860b00b0015e8d4eb248sm7030783plo.146.2022.05.29.05.18.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 May 2022 05:19:00 -0700 (PDT) From: Ihor Radchenko To: Tor Kringeland Cc: "emacs-orgmode@gnu.org" Subject: Re: [PATCH] Re: Change in `org-cycle-hook' breaks behavior In-Reply-To: References: <87a6b3zc02.fsf@localhost> <87sfoucoyp.fsf@localhost> <875ylpvnhi.fsf@localhost> Date: Sun, 29 May 2022 20:19:40 +0800 Message-ID: <87mtf0wmxv.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1030.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=1653826783; 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=olrMshu1q7t0on3mkRtJUHp6YT0F5zL9oFZcw+IP7JM=; b=l0Z514yGBE7Lh+pPHvh+4uFRVxhn4y17uZBm66G16d6J2iF7MBGpMfV8sF0mZuak3XDoCP tZuZeZkiaPG+bmoGVz4ZyFlxPEA4MsscJpiSSEGjvJgijjq0OkedNdD76c63YLoEZtlgcc X7Pgt/e3emlrgCBzfE9F+va52KWL331xC6pdy3/jD3I38yNVp6wdyEjF09J2PWg3IoDvqd QNN9BEVIYQwswWqjcOp3LHWEpZnzHdmZqzWZkjdnd2ffsCPHaeOUL3O0Rf6Cli/ZTgFZpZ nP/3GjulD4WPj3oFYNoLRUjF73uu80muCr0xcxKdcMYfPNH5XJ94y7J5CBKvTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653826783; a=rsa-sha256; cv=none; b=DHPUDKlkL1/I4/4ukJwqavbd9Bj+ciN5HuQyme9V66K3U2GbO289zu52GIu59xlRzl9q4L gKhxyvsHmnP18IAoD15J3bt3x9k0lJDE2pMB9Eb+brv06yaUDJ93ma0or/NlFyUnR+bZad 3squjXNRNlMS1ahCs+/d2zRIYGd8eiR0dNi2tf/QVJs+6cyhZ1FFUwK/uSSRjrKbQS9ALx +nsliPtLBk7LvPiOPwvARP1ne41POEnfCBcAcwghDZCLqQnTXRwEhnv47EMra149SjH9yv 9P1Ey68H8yclbh6XchroSAMSco4ENlFTmNsUEtCSi8t6RogF3Ovp4M196BognQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=o89rqrXh; 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.34 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=o89rqrXh; 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: EB25C9A52 X-Spam-Score: -9.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: L0ls69dhF9kd Tor Kringeland writes: > Maybe a function like that could be added to Org, that the user could > add to `org-cycle-hooks' to produce the "opposite" of > `org-cycle-hide-drawers'/does what `org-cycle' used to do without > `org-cycle-hide-drawers' in the hook in Org 9.5? I will take a note on this for future reference. I do not plan to implement it yet, unless other people jump in and ask for this feature. Generally, org-fold.el can be restructured a bit better given that we have the working cache now and can generalize many old functions from org-fold. Best, Ihor