You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When archiving a second-level headline that inherits its category from the parent headline, the ARCHIVE_CATEGORY is wrong, if the second-level headline is the last entry before another first-level headline with a different category.
Steps to reproduce
Create an org file with the following contents:
* Project goal goes here
:PROPERTIES:
:CATEGORY: categoryA
:END:
** TODO This is a project task
* This is another project goal
:PROPERTIES:
:CATEGORY: categoryB
:END:
** TODO This is another project task
Archive task This is a project task
Check ARCHIVE_CATEGORY in the archive file and notice that it's categoryB, instead of categoryA
Expected behavior
ARCHIVE_CATEGORY should be the parent task category, i.e. categoryA in this case.
Describe the bug
When archiving a second-level headline that inherits its category from the parent headline, the
ARCHIVE_CATEGORY
is wrong, if the second-level headline is the last entry before another first-level headline with a different category.Steps to reproduce
This is a project task
ARCHIVE_CATEGORY
in the archive file and notice that it'scategoryB
, instead ofcategoryA
Expected behavior
ARCHIVE_CATEGORY
should be the parent task category, i.e.categoryA
in this case.Emacs functionality
No response
Minimal init.lua
Screenshots and recordings
No response
OS / Distro
macOS 15.2
Neovim version/commit
0.10.4
Additional context
No response
The text was updated successfully, but these errors were encountered: