forgot to hit 'reply all.'


-------- Forwarded Message --------
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/)]
Date: Tue, 5 Oct 2021 15:47:42 -0400
From: Michael Powe <powem@ctpowe.net>
To: Bhavin Gandhi <bhavin7392@gmail.com>


Hello,

I hesitate to reply, but here's a report from Windows 10.

works as expected
C:\Emacs\emacs-28\bin\runemacs.exe -Q -L C:\Users\micha\AppData\Roaming\.emacs.d\elpa\org-9.5\ 'G:\My Drive\org\daily.org'
GNU Emacs 28.0.50 (build 1, x86_64-w64-mingw32) of 2021-08-11
Org mode version 9.5 (9.5-g0a86ad @ c:/Users/micha/AppData/Roaming/.emacs.d/elpa/org-9.5/)

Now for the bad news.

does not save files at all!
C:\Emacs\emacs29\bin\runemacs.exe -Q 'G:\My Drive\org\daily.org'
GNU Emacs 29.0.50 (build 1, x86_64-w64-mingw32) of 2021-10-02
Org mode version 9.5 (release_9.5 @ c:/Emacs/emacs29/share/emacs/29.0.50/lisp/org/)

Upon invoking the save, contents of the file shift to the left, then shift back; and that's it.

HTH.

mp

Bhavin Gandhi wrote on 10/5/2021 13:53:
Hello Marcel,

On Tue, 5 Oct 2021 at 19:14, Marcel van der Boom <marcel@hsdev.com> wrote:
[…]
- 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?


--
Sent from Postbox