From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gF1zJxyTXGEbwwAAgWs5BA (envelope-from ) for ; Tue, 05 Oct 2021 20:02:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6Is7IxyTXGEJMgAA1q6Kng (envelope-from ) for ; Tue, 05 Oct 2021 18:02:04 +0000 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 1F77A29F9B for ; Tue, 5 Oct 2021 20:02:00 +0200 (CEST) Received: from localhost ([::1]:35594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXolL-0003GG-3s for larch@yhetil.org; Tue, 05 Oct 2021 14:01:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXodW-00079f-FF for emacs-orgmode@gnu.org; Tue, 05 Oct 2021 13:53:54 -0400 Received: from mail-yb1-xb32.google.com ([2607:f8b0:4864:20::b32]:42612) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXodT-0006kG-KL for emacs-orgmode@gnu.org; Tue, 05 Oct 2021 13:53:54 -0400 Received: by mail-yb1-xb32.google.com with SMTP id u32so47399608ybd.9 for ; Tue, 05 Oct 2021 10:53:50 -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:content-transfer-encoding; bh=t/xh3Apg4fxPODGKjs9BhGAGrg16QXW89JNOBDW2W2w=; b=YLvsdyFEYUzDfYOO7ueboBsxVbmoqEVEgU+WNYT2SM6EWBwwBN3Pxz73dji47Sco80 luobufahCiL2xUo/1BpXiAb3oa2eFFyP5Erfp2F57vlF1pcG77z8gILV89AXk1aJNAb/ QAGZIWqf53+JWW/sSM40hIGBKB/1QjMCchW4St6kxNQg0AmwrCuPWxnwfjly+QIc6qyh 8zGqFDireNgyPWubOPvrpV4/XoIt1e7RdA5ua36eP1faQYTIBQuw9Idecu+oh4D1Szv7 sZJ0Pm4ooSl/eavfUb2M+wo5usYMWORhNb3LIin1Ge3KcxgXHptlGHcq7701/a9da1ir 4Nzg== 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:content-transfer-encoding; bh=t/xh3Apg4fxPODGKjs9BhGAGrg16QXW89JNOBDW2W2w=; b=q37A2QySZomgkjAgISOQKlnsgwtzKcju0pWBjOtJFJ77xSDN53Zq5ZwGjAUy8JG3iv BBgRxqn3DFt2dhGM7dT1jGUIqlpz7l56/anEDyp+O2ykKAKFg0XijeCjUK2akeZKfmYa kLTNzhWtfwWTY3/hG1NE+I2WBU0IZPSxh4EKqtzKai7x2YCQXXIlqs8U/sNHzPrzCfLl ZSlmTWjoCO6pmJUoq4RYntUeutcqrNcmL2XOGl5sv5xqsV8XfcbloQNK9FQGf7/JfapD WPW0vV/tKYNt7ciPd/xbi2YKvpozSLNmVkxosyFdDz4xQu8iTtbqQbEGZzgkpILyPUXd poQQ== X-Gm-Message-State: AOAM533/TWr+6ffhhKU8o6VXBdSQU6En2EiBU4m0hJINrFxsqdhknnny AvTUYd6rwo3b+oZtXu9KlEI5rvlNALO6yKucN5V7ygEIgXM= X-Google-Smtp-Source: ABdhPJyAkdS3ShD7Kw/Tv7UDxnwmy8xLyGHlMAM+lO7VvLjTuhjNi3HIMaT/FBk7Pv7IVGMjInQOKJXYZN6l3ZiPJTs= X-Received: by 2002:a25:c082:: with SMTP id c124mr15738904ybf.494.1633456429663; Tue, 05 Oct 2021 10:53:49 -0700 (PDT) MIME-Version: 1.0 References: <87ilybmvvf.fsf@hsdev.com> In-Reply-To: <87ilybmvvf.fsf@hsdev.com> From: Bhavin Gandhi Date: Tue, 5 Oct 2021 23:23:12 +0530 Message-ID: Subject: Re: [BUG] org-save-all-org-buffers reapplies startup visibility [9.5 (release_9.5 @ /usr/local/share/emacs/29.0.50/lisp/org/)] To: Marcel van der Boom Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::b32; envelope-from=bhavin7392@gmail.com; helo=mail-yb1-xb32.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633456920; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=t/xh3Apg4fxPODGKjs9BhGAGrg16QXW89JNOBDW2W2w=; b=aUvrYC7Skoop6gTDQRkQnXn/3RNdpn3zrTlSpio3HcWZxzX8FHerkU4LJIC+pbHlIK1CAK tn7Mx0udw2i+2GQKQnUEYsVIf1LU42rq+cZrbJ2KdjVN4+9LL9HdG6HeSye/GkgjgH2506 DKVtKkhPIBJcShTiMlv6nDwAsl6GowIlmRRdgnMCGnU1IqV6ThzCvu4qXQX6VlwfWnT0JD XIc8mmIwXePzcebJCla4TKZS4BRsF+KedY1/xas0a6qv6an1zi8MYbz40U1703QFF1ElO8 oLfQLhSWXV3YRBcl86lWJLrFjLX5TqyWmfArHhWkTzKvwGSwkCfqqMJ70CJ4hA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633456920; a=rsa-sha256; cv=none; b=uHNHtgala4F8vDj4W1biUV/Ah9FEUoWTacheK2lnuuiJ5lilQgRMRs0GQA3wltkleuEaZM n3oEO+1uNBO4ZL+sylAUqqVrUShR55u8z6ezcWMhMSI/IDLtuChpQbxbpPaXkpKOiVVmih wTuU54r8N8jPhjhHJFrhue3D1YTsiqP+2BPKb+Rd3ohu00T5QX/bxuFV5/FZ7I/SoI/+5d 4oLBr74FKPXsmkMcmwe4zdpWvc3OWlJAeQ7ixsrdpVZ44YUkDTIIpRvplQyQkd2hB2eIpL qYwt/pnM8BJ5QsJn/qySz0MdIv3jKLJjtiPsopzCaleSN5uCq4sEPIXctjKUaw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YLvsdyFE; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YLvsdyFE; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 1F77A29F9B X-Spam-Score: -3.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: et+Ta4tW9Qr6 Hello Marcel, On Tue, 5 Oct 2021 at 19:14, Marcel van der Boom wrote: > [=E2=80=A6] > - emacs -Q test.org > - make sure the outline is unfolded > - make a change so test.org is 'dirty' > - M-x org-save-all-org-buffers > > Observed behaviour: > The outline in test.org will collapse and only show 'Header one' > > Expected behaviour: > Outline state does not change on calling `org-save-all-buffers` > I tried to follow the above steps with Emacs 27.1, and Org mode latest main branch as well as the release_9.5 tag. The only different step I took was this: emacs -Q -L ~/src/org-mode/lisp/ ~/test.org When I modify the test.org and call org-save-all-org-buffers, all the headings remain unfolded. I tried to switch to a different buffer and called the function, but still it remained in overview state. Maybe someone with the latest Emacs build from master can try to reproduce? --=20 Regards, Bhavin Gandhi (bhavin192) | https://geeksocket.in