I have been using:
(defun org-todo-list-current-file (&optional arg) ;; "Like `org-todo-list', but using only the current buffer's file." (interactive "P") (let ((org-agenda-files (list (buffer-file-name (current-buffer))))) (if (null (car org-agenda-files)) (error "%s is not visiting a file" (buffer-name (current-buffer))) (org-todo-list arg)))) (global-set-key (kbd "<f7>") 'org-todo-list-current-file)
to create a Global list of TODO items, as a shortcut key to
C-c a < t .
I then used to be able to do
Press ‘N r’ (e.g. ‘0 r’)
To filter by a particular TODO type.
However, for some reason, this stopped working recently. Maybe due to an upgrade of emacs. Also pressing
r to refresh a list has stopped working.
However, if I use
C-c a < t to create the same Global list of TODO items, then
N - r and
r do work.
I have been trying to figure out a solution to this and have not come up with anything.
Any help much appreciated.