On Sat, Aug 1, 2026 at 1:50 PM Ihor Radchenko <[email protected]> wrote:
> Raymond Zeitler <[email protected]> writes: > > > Request: > > Add (org-agenda-check-type nil 'agenda) near the beginning of > > `org-agenda-todo' to prevent execution unless thing at point is an agenda > > item. Optionally, add a custom variable (perhaps named > > `org-agenda-todo-allow-only-agenda-items' or something similar) with > > default value of nil such that if non-nil, the added > (org-agenda-check-type > > nil 'agenda) statement is called. This ensures that `org-agenda-todo' > > works the same way as before, unless the user changes the default value. > > This is awkward. > > > Reason: > > Prevents this scenario: When a user marks a recurring task in the Tags > > List as Done, there is no indication that it happened. The TODO state > > remains at Todo and the task remains on the list, even though the > > schedule/deadline date advanced. The user might repeat the action, which > > will cause the schedule/deadline date to advance a second time. The next > > schedule/deadline may be missed as a result. > > > > This is described in more detail on my blog: > > See: > > > https://ray-on-emacs.blogspot.com/2026/07/the-problem-with-tags-lists.html > > What about providing a visual feedback like in agenda view? > See the attached draft patch. > The patch is much preferred, thank you. - Ray ------------- Details, I incorporated the patch into v 9.7.30. Then with cursor on an item on the Tags List, I pressed t n to mark the item done. The TODO status of the item changed to done in the agenda buffer, and remained that way. Meanwhile, the item in the Org file was updated to advance the schedule date; its TODO status was set to TODO. When I refreshed the agenda buffer, the TODO status of the item changed to TODO. The behavior is as expected. If at this point I forget that I marked it done, I should not be using a computer. :) Raymond Zeitler https://ray-on-emacs.blogspot.com/ [email protected]
