Actually fixed issue with todo item ids
This commit is contained in:
parent
08114ca1c6
commit
9e563b6be4
@ -587,10 +587,10 @@ This is the section to include imports from other files.
|
|||||||
(org-babel-load-file file-path)
|
(org-babel-load-file file-path)
|
||||||
(warn (concat "Failed to load config: " file-path))))
|
(warn (concat "Failed to load config: " file-path))))
|
||||||
|
|
||||||
|
(jm/load-config-if-exists "~/.emacs.d/functions.org") ; Personal Elisp Functions
|
||||||
(jm/load-config-if-exists "~/.emacs.d/org.org") ; Org-mode
|
(jm/load-config-if-exists "~/.emacs.d/org.org") ; Org-mode
|
||||||
(jm/load-config-if-exists "~/.emacs.d/lsp.org") ; Language Server Protocol
|
(jm/load-config-if-exists "~/.emacs.d/lsp.org") ; Language Server Protocol
|
||||||
(jm/load-config-if-exists "~/.emacs.d/terminal.org") ; Emacs Terminal
|
(jm/load-config-if-exists "~/.emacs.d/terminal.org") ; Emacs Terminal
|
||||||
(jm/load-config-if-exists "~/.emacs.d/functions.org") ; Personal Elisp Functions
|
|
||||||
(jm/load-config-if-exists "~/.emacs.d/email.org") ; Mu4e/SMTP Config
|
(jm/load-config-if-exists "~/.emacs.d/email.org") ; Mu4e/SMTP Config
|
||||||
|
|
||||||
;; Load EXWM configuration if environment variable set.
|
;; Load EXWM configuration if environment variable set.
|
||||||
|
@ -2,18 +2,6 @@
|
|||||||
|
|
||||||
As of now, I haven't added anything here, though I do expect to start adding some custom functions as I learn more about Elisp.
|
As of now, I haven't added anything here, though I do expect to start adding some custom functions as I learn more about Elisp.
|
||||||
|
|
||||||
* Automatic Todo IDs
|
|
||||||
|
|
||||||
The following function and hooks automatically adds IDs to each todo item for easier searching with ~org-roam~.
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(defun jm/org-todo-auto-add-ids ()
|
|
||||||
(when (org-get-todo-state)
|
|
||||||
(org-id-get-create)))
|
|
||||||
|
|
||||||
(add-hook 'org-after-todo-state-change-hook 'jm/org-todo-auto-add-ids)
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
* Org Roam Dailies Shortcuts
|
* Org Roam Dailies Shortcuts
|
||||||
|
|
||||||
Shortcut to goto todays org-roam dailies document.
|
Shortcut to goto todays org-roam dailies document.
|
||||||
|
@ -206,6 +206,14 @@ Adds a hook to repeated tasks in org agenda that, when repeated, checkboxes will
|
|||||||
(add-hook 'org-todo-repeat-hook #'org-reset-checkbox-state-subtree)
|
(add-hook 'org-todo-repeat-hook #'org-reset-checkbox-state-subtree)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Automatically Add Todo UUIDs
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(add-hook 'org-after-todo-state-change-hook
|
||||||
|
(lambda () (when (org-get-todo-state)
|
||||||
|
(org-id-get-create))))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* Org Roam
|
* Org Roam
|
||||||
|
|
||||||
Org-roam is a plain-text knowledge management system. It brings some of Roam's more powerful features into the Org-mode ecosystem such as org-file linking, etc.
|
Org-roam is a plain-text knowledge management system. It brings some of Roam's more powerful features into the Org-mode ecosystem such as org-file linking, etc.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user