emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Powe <powem@ctpowe.net>
To: Org Mode List <emacs-orgmode@gnu.org>
Cc: marcel@hsdev.com
Subject: Re: Fwd: [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:51:06 -0400	[thread overview]
Message-ID: <676d5553-1ce8-546b-7788-20273e1edbdb@ctpowe.net> (raw)
In-Reply-To: <cdd5fdae-5c61-916b-9e6e-9e9d51a0a834@ctpowe.net>


[-- Attachment #1.1.1: Type: text/plain, Size: 2152 bytes --]


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 <https://www.postbox-inc.com>

[-- Attachment #1.1.2: Type: text/html, Size: 3521 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 972 bytes --]

       reply	other threads:[~2021-10-05 19:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cdd5fdae-5c61-916b-9e6e-9e9d51a0a834@ctpowe.net>
2021-10-05 19:51 ` Michael Powe [this message]
2021-10-08 11:55   ` Fwd: [BUG] org-save-all-org-buffers reapplies startup visibility [9.5 (release_9.5 @ /usr/local/share/emacs/29.0.50/lisp/org/)] Lennart C. Karssen
2021-10-08 22:00     ` Mark Barton
2021-10-08 22:30       ` Mark Barton
2021-10-09 16:38         ` No Wayman
2021-10-09 18:43           ` Mark Barton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=676d5553-1ce8-546b-7788-20273e1edbdb@ctpowe.net \
    --to=powem@ctpowe.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=marcel@hsdev.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).