Open Vonfry opened 3 years ago
Interesting. I am not a user of org-agenda
myself. Would you like to create a pull request to solve this issue?
As a (clearly sub-optimal) workaround I re-bind the function below to C-c C-c in org-journal-mode-map
.
(defun my--set-tag-plus-ctrlc-ctrlc ()
(interactive)
(org-journal--set-current-tag-alist)
(org-ctrl-c-ctrl-c))
(This won't work if you need org-journal-tag-alist
to work in contexts other than C-c C-c.)
Describe the bug When org agenda integration is enabled,
org-current-tag-alist
may not beorg-journal-tag-alist
butorg-tag-alist
instead which is set byorg-agenda
.To Reproduce Steps to reproduce the behavior:
org-journal-enable-agenda-integration
tot
org-journal-tag-alist
org-tag-alist
which is different fromorg-journal-tag-alist
org-journal-mode
->org-mode
is called at first, andorg-journal-tag-alist
assigns toorg-current-tag-alist
. Thenorg-agenda-mode
is enabled, andorg-tag-alist
assigns toorg-current-tag-alist
.Expected behavior
org-current-tag-alist
should be equal toorg-journal-tag-alist
.Desktop (please complete the following information):
GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.16.0)
20210714.911
9.4.6