From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 sLEdF5uatmKrYgEAbAwnHQ (envelope-from ) for ; Sat, 25 Jun 2022 07:18:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uEQuFpuatmIuTAEAG6o9tA (envelope-from ) for ; Sat, 25 Jun 2022 07:18:19 +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 0BDAC94DB for ; Sat, 25 Jun 2022 07:18:19 +0200 (CEST) Received: from localhost ([::1]:53922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4yBV-0006XY-QQ for larch@yhetil.org; Sat, 25 Jun 2022 01:18:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40092) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4yAt-0006XN-EC for emacs-orgmode@gnu.org; Sat, 25 Jun 2022 01:17:39 -0400 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]:33737) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4yAs-0000XB-2h for emacs-orgmode@gnu.org; Sat, 25 Jun 2022 01:17:39 -0400 Received: by mail-pl1-x636.google.com with SMTP id n10so3805110plp.0 for ; Fri, 24 Jun 2022 22:17:37 -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=rdaKDzCxSlpaUN/qI45Jk8+QBNMN52uYSocd2MvjEEI=; b=p7CcgKzgg3rQTM5HUxfL/IRWKSZ7itxuLy5V45sDvycacGXnX65lokj+hsVAgN6Pdq NbRMaQIj80Uf2/poh7+1ATpLFvGmIdEHzRZwMoFb+cJVlkcE/URv+kYQyoCvX5YlUKg4 TbAjEelxQdLN1zS92X1XZTB7gxArQDmjSr5Jnu0b7S7HhTgu7Rvo7XVPBEsp2qH1KsoL iAFNadGBjnR6Ixz/7cvhYVVVcXSqYUqcKGRw+gCgVbLeSlB7Ht51UxuGxfM6moObcXaL er7XnhkrbsRwnDLtwbzkv3pg+CvoI1rjVhwaUvnUZDmdWj4yYX+1haBUEDSOVo3vXnxB WnLg== 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=rdaKDzCxSlpaUN/qI45Jk8+QBNMN52uYSocd2MvjEEI=; b=S32Zdw0LTN2c2NXTLxwVGBbq1x1hIpd5UgmIzpFGvR+mRlCE7/wAV5aZwW3UJ+fdBc q2eBJin+HOGhyOf3cJ9S5vY6TY2yxwbQuYaBv03+WudSpNvnY6oII2eY/V6H/wgZuDGl /viXsf4n5muc4z8OfGDY0+POHjcMthJM3u1stLMJT4tSo/DNtXLFwMy2F3MuJIUpGxQT Xx4IPm6aqY5VX6Q1IxiM15Q6zj8WSfmpjgh9K5MZOEab++L/BoGzsmMNd2F1i1EFDOyG 2NJvAuCI9fVQOfVijNe0BlffWVReP4mKA/qaMFPLrcYy73WbwKiueadj5Cp91e/74mj/ rshw== X-Gm-Message-State: AJIora+kmRwkxN05j8/zScwmhfIHLwfBMdR0WaPm/77PAp/YTDVPOT6O FjoE/12ZEg1DkwvUTjRnBZePsXceBIkW9vMU X-Google-Smtp-Source: AGRyM1umrln8jaS8SPQBGLpEycohzCcd6c4uvQCCPQTtjbBoc6c6UYcJlBv7iLhBrTQFJpeqGhuzFw== X-Received: by 2002:a17:90a:5b0d:b0:1ea:d1ed:186e with SMTP id o13-20020a17090a5b0d00b001ead1ed186emr2697311pji.240.1656134256596; Fri, 24 Jun 2022 22:17:36 -0700 (PDT) Received: from localhost ([192.161.177.252]) by smtp.gmail.com with ESMTPSA id jh5-20020a170903328500b0015e8d4eb2b4sm2678127plb.254.2022.06.24.22.17.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jun 2022 22:17:36 -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: <87a6b3zc02.fsf@localhost> References: <87a6b3zc02.fsf@localhost> Date: Sat, 25 Jun 2022 13:18:48 +0800 Message-ID: <8735ftwcav.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::636; envelope-from=yantar92@gmail.com; helo=mail-pl1-x636.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=1656134299; 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=rdaKDzCxSlpaUN/qI45Jk8+QBNMN52uYSocd2MvjEEI=; b=L+0Z1qLl8D2PHX8jGK5k7Wy5w5/x/CO3zqVhfEWHDYHlGhw9fJyHbfUmosJRLvzQKC9ki1 z9xGjheIpzvBbl0f7GY7ujZBrCKC3Ec6xitx0dMRbWmOnTJtIQ2/Jd6+7mvBkkbA+XQ1Cq XC3xA3TF0KXY9hVacXoKv20bTV23+oO5d1XTzghc6EhU+QlVYCoasvkIJYawXakCeRpWQ1 ZyYUEACcerrVMqpprDL08f9dKIELxZBG5njqjvtTj2R04CCXtvWx2PAGwdVue0VCydlId8 5m4AthVMbugsyM9rKumS7hDbhZ3v955ges9oOXpBKUzOYHfyesvOKmcyHPezlw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656134299; a=rsa-sha256; cv=none; b=XwMYU7FPxK9gWChMenltGTbQpMJA4FzlHJQFSL2oUmfaq8rm0Mxka5Ch5qk+Jlm0WUV7LG fmmarVSU7WzoKZab2JCvHOlGZ/jMlrfM99+D85H7cHqrbL7fQntGrhzgneanC/fBJhGxbM ySngPAmhSGAdHpsSzHaFPtfQl252MhD3T5n58XR10bcsRIqMhhO6FyrxYNkMbPJRmLz3Qu M2lGJiGr5cRAuZsKZOU7zY5DN74ZZnq/hG9oE+GWlgaib+5csO7nCdW7Tfn1UyoVbzpq1s dUPdWDxWCZcudLjwON2KKLMVI5/AxYKWLjuxPqAlKX5XTjxQHFux+5eyiznQOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=p7CcgKzg; 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: -8.77 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=p7CcgKzg; 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: 0BDAC94DB X-Spam-Score: -8.77 X-Migadu-Scanner: scn0.migadu.com X-TUID: c7wvS18o/mU1 Ihor Radchenko writes: > A more efficient way could be introducing a new customization similar to > org-cycle-hide-block-startup. Say, it can be > org-cycle-hide-drawer-startup. See the attached patch. Applied onto main via bcfed0f34. Best, Ihor