[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Agenda preserve setting on date change
From: |
Ihor Radchenko |
Subject: |
Re: Agenda preserve setting on date change |
Date: |
Wed, 10 Apr 2024 14:16:32 +0000 |
Russell Adams <RLAdams@adamsinfoserv.com> writes:
> I pull up a file in 'emacs -Q'.
>
> M-x org-agenda 1 a (restricted to current file, create agenda view).
> Now viewing the weekly agenda in buffer *Org Agenda*.
> Press "L" to enable logbook.
> Press "[" to enable inactive timestamps.
>
> I now see the full week with log and timestamps.
>
> Press "b" to go back one week.
>
> I now see last week's agenda. Logbook mode is still enabled. Inactive
> timestamps are missing.
>
> Pressing "[" will enable inactive timestamps again.
Ok. I can see what is happening.
Unlike agenda log-mode, where L toggles the mode on/off, the inactive
timestamps are not toggled; they can only be enabled and re-enable
manually when the agenda view is refreshed.
This is consistent with the documentation:
‘v [’ or short ‘[’ (‘org-agenda-manipulate-query-add’)
Include inactive timestamps into the current view. Only for
weekly/daily agenda.
Note how there no word "toggle" in the manual. It explicitly refers to
the "current view".
I am not sure why it is done this way and I cannot see any explanations
in the git logs.
I do not see why it should not be possible to make inactive timestamp
display into a toggle.
Patches welcome. It is an easy patch.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>