Skip to content

๐Ÿƒ Pop up a random TODO from your agenda every so often, using alert.el

Notifications You must be signed in to change notification settings

unhammer/org-random-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

35 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

org-random-todo

https://melpa.org/packages/org-random-todo-badge.svg https://stable.melpa.org/packages/org-random-todo-badge.svg

This will show a random TODO from your org-agenda-files every so often. It uses alert to show the notifications โ€“ see that package on how to use other notification methods than message.

If you want to navigate to the most recently shown random TODO, use M-x org-random-todo-goto-current; navigate to a new one with M-x org-random-todo-goto-new.

Installation

MELPA

If you use MELPA, you can just do M-x list-packages, find org-random-todo in the list and hit i x.

Manual

Install alert, and ensure youโ€™re running org-mode version 7.9.3f or later. Then just put org-random-todo.el somewhere in load-path.

Usage

Manual, loading on startup:

Put this in your ~/.emacs.d/init.el:

(require 'org-random-todo)
(setq org-random-todo-how-often 1500)
(org-random-todo-mode 1)

With use-package

I have this in my ~/.emacs.d/init.el to install it if not installed yet, and only load it after Iโ€™ve opened at least one org-mode file, and use notifications instead of message for this package:

(use-package org-random-todo
  :ensure t
  :after org
  :commands (org-random-todo-mode
             org-random-todo
             org-random-todo-goto-current
             org-random-todo-goto-new)
  :config
  (setq org-random-todo-how-often 1500)
  (org-random-todo-mode 1))

(use-package alert
  :defer t
  :config
  (alert-add-rule :mode     'org-mode
                  :category "random-todo"
                  :style 'notifications
                  :continue t))

Related

About

๐Ÿƒ Pop up a random TODO from your agenda every so often, using alert.el

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published