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
Describe the bug
When using the monthly org-journal mode, when org-journal-hide-entries-p is nil, running org-journal-new-entry hides any expanded sections that are not in the current date.
To Reproduce
Steps to reproduce the behavior:
Set org-journal-file-type to monthly and org-journal-hide-entries-p to nil
Create a couple of entries on different days (Alternatively, make several sections in the org-journal file, as below this list)
Run org-journal-new-entry
* Thursday, 10/19/2023
:PROPERTIES:
:CREATED: 20231019
:END:
** 10:32
This is a test
Please don't hide me
* Friday, 10/20/2023
:PROPERTIES:
:CREATED: 20231020
:END:
** 10:36
This is a new entry
Running org-journal-new-entry leads to the Thursday entry being hidden, which shouldn't happen due to org-journal-hide-entries-p being nil.
Expected behavior
Expected behavior is to have none of the sections collapsed when creating a new entry. The documentation states:
If true all but the current entry will be hidden when creating a new one.
Which makes me assume that no entries will be hidden / collapsed when creating a new one.
One possible solution to this is to change the function org-jounal--finalize-view (which is called in org-journal-new-entry) to the following:
Yes. I modified the function slightly so that only outline-hide-other is affected by org-journal-hide-entries-p (just in case the other functions were necessary).
Describe the bug
When using the monthly org-journal mode, when
org-journal-hide-entries-p
isnil
, runningorg-journal-new-entry
hides any expanded sections that are not in the current date.To Reproduce
Steps to reproduce the behavior:
org-journal-file-type
tomonthly
andorg-journal-hide-entries-p
tonil
org-journal-new-entry
Running
org-journal-new-entry
leads to theThursday
entry being hidden, which shouldn't happen due toorg-journal-hide-entries-p
beingnil
.Expected behavior
Expected behavior is to have none of the sections collapsed when creating a new entry. The documentation states:
Which makes me assume that no entries will be hidden / collapsed when creating a new one.
One possible solution to this is to change the function
org-jounal--finalize-view
(which is called inorg-journal-new-entry
) to the following:Which fixes my issue, but I'm not sure if it would mess with anything else.
Desktop (please complete the following information):
Your Emacs Configuration
Using DOOM-Emacs. Downloaded
org-journal
via thepackage!
macro.The text was updated successfully, but these errors were encountered: