[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#887332: marked as done (org-mode no longer automatically saves archive files)



Your message dated Wed, 05 Jul 2023 19:30:48 -0400
with message-id <87wmzeey1j.fsf@DigitalMercury.freeddns.org>
and subject line Re: Bug#887332: 887332
has caused the Debian Bug report #887332,
regarding org-mode no longer automatically saves archive files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
887332: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887332
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: elpa-org
Version: 9.1.6+dfsg-1
Severity: minor

I have org-mode archive completed items into a separate file,
configured with:

(setq org-archive-location "~/data/org/archive/%s::")

org-mode used to save that archive file after each archived item.
When upgrading from 9.1.2 to 9.1.5, this behavior stopped; now
archive/foo.org is kept as an open buffer in Emacs with unsaved
data.  This means that if I exit Emacs without saving, it leaves
an autosave file behind, and I have to answer a prompt when exiting
Emacs since I otherwise never visit that buffer.

I can see why upstream would have made this change, since it's a
bit more consistent with how Emacs normally works, but I preferred
the old behavior.  It would be nice if there were some non-default
option I could set to request org-mode always save the archive file
after archiving an item.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages elpa-org depends on:
ii  elpa-htmlize    1.51-1
ii  emacsen-common  2.0.8

Versions of packages elpa-org recommends:
pn  emacs  <none>

Versions of packages elpa-org suggests:
pn  ditaa                      <none>
pn  org-mode-doc               <none>
ii  texlive-fonts-recommended  2017.20180110-1
ii  texlive-latex-extra        2017.20180103-2

-- no debconf information

--- End Message ---
--- Begin Message ---
Control: fixed -1 org-mode/9.4.0+dfsg-1

Bastien <bzg@gnu.org> writes:

> Sébastien Delafond <seb@debian.org> writes:
>
>> this was Debian bug #887332 :
>>
>>   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887332
>
> This is now fixed in Org's master branch: I have added a new option
> `org-archive-subtree-save-file-p' which allows to fine-tune the saving
> behavior.
>
> See https://code.orgmode.org/bzg/org-mode/commit/3d0282ef
>
> This will be released in Org 9.4, sometime during the next month.

Thank you for this info!  I've updated this bug's metadata and am
closing it now.

> Thanks, and sorry for the delay,

Likewise, sorry it took someone so long to follow-up on this bug.

Regards,
Nicholas

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: