Skip to content

Commit

Permalink
Merge pull request #65 from kickingvegas/27-add-org-agenda-set-property
Browse files Browse the repository at this point in the history
Add command org-agenda-set-property
  • Loading branch information
kickingvegas authored Nov 9, 2024
2 parents 583b5b3 + 6d4b089 commit 5a9b48a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Binary file modified docs/images/casual-agenda-operations-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions lisp/casual-agenda.el
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@
:transient t)]
[("R" "Refile…" org-agenda-refile)
("z" "Add Note" org-agenda-add-note)]
[("A" "Archive" org-agenda-archive-default-with-confirmation)]]

[("S" "Set Property" org-agenda-set-property)
("A" "Archive…" org-agenda-archive-default-with-confirmation)]]

["Clock"
:class transient-row
Expand Down
4 changes: 3 additions & 1 deletion tests/test-casual-agenda.el
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@
(casualt-mock #'org-agenda-redo)
(casualt-mock #'org-agenda-redo-all)
(casualt-mock #'org-agenda-goto-date)
(casualt-mock #'org-agenda-clock-goto))
(casualt-mock #'org-agenda-clock-goto)
(casualt-mock #'org-agenda-set-property))

(let ((test-vectors
'((:binding "t" :command org-agenda-todo)
Expand All @@ -215,6 +216,7 @@
(:binding "-" :command org-agenda-priority-down)
(:binding "R" :command org-agenda-refile)
(:binding "z" :command org-agenda-add-note)
(:binding "S" :command org-agenda-set-property)
(:binding "A" :command org-agenda-archive-default-with-confirmation)

(:binding "I" :command casual-agenda-clock-in)
Expand Down

0 comments on commit 5a9b48a

Please sign in to comment.