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
The agenda mode currently can only show sections with an active timestamp. Because I regularily have the need to recap, what I did in the past at a particular date, I try to add inactive timestamps to sections in my org files.
To make it more convenient to actually do the recap (currently I use live-grep in vim with telescope) I would like to include those sections in an agenda view. Emacs Org mode seems to have this feature: org-agenda-manipulate-query-add.
I would like to implement it as part of core, if it has a chance to get merged. What do you think @kristijanhusak? Do you have some suggestions regarding entry points? I currently found:
Section:get_valid_dates_for_agenda() in parser/section.lua
AgendaView:_build_items() in views/agenda.lua
agenda/init.lua
My idea to implement this would be to add a method to AgendaView and Agendawhich just toggles a flag, which is false by default and gets passed toSection:get_valid_dates_for_agenda` to include the inactive dates or not.
The org documentation states, that org-agenda-manipulate-query-add just includes inactive dates in the agenda for the current view. I would interpet this that I need to close the agenda view and reopen it to get the original behavior. But there also seems to be a flag org-agenda-include-inactive-timestamps, which determines, if the agenda shows inactive timestamps or not and which is used to force a particular view mode directly.
So I am wondering what would be the appropriate user interface, if we try to be as close to Emacs Org mode as possible.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The agenda mode currently can only show sections with an active timestamp. Because I regularily have the need to recap, what I did in the past at a particular date, I try to add inactive timestamps to sections in my org files.
To make it more convenient to actually do the recap (currently I use live-grep in vim with telescope) I would like to include those sections in an agenda view. Emacs Org mode seems to have this feature: org-agenda-manipulate-query-add.
I would like to implement it as part of core, if it has a chance to get merged. What do you think @kristijanhusak? Do you have some suggestions regarding entry points? I currently found:
Section:get_valid_dates_for_agenda()
inparser/section.lua
AgendaView:_build_items()
inviews/agenda.lua
agenda/init.lua
My idea to implement this would be to add a method to
AgendaView and
Agendawhich just toggles a flag, which is false by default and gets passed to
Section:get_valid_dates_for_agenda` to include the inactive dates or not.The org documentation states, that org-agenda-manipulate-query-add just includes inactive dates in the agenda for the current view. I would interpet this that I need to close the agenda view and reopen it to get the original behavior. But there also seems to be a flag
org-agenda-include-inactive-timestamps
, which determines, if the agenda shows inactive timestamps or not and which is used to force a particular view mode directly.So I am wondering what would be the appropriate user interface, if we try to be as close to Emacs Org mode as possible.
Beta Was this translation helpful? Give feedback.
All reactions