[Emacs] Add created to org-projectile TODOs
This commit is contained in:
parent
99632ec108
commit
5f4109ca33
@ -2789,7 +2789,8 @@ Intero seems to be causing hangs, so it has been disabled
|
|||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** lua
|
*** lua
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package lua-mode)
|
(use-package lua-mode
|
||||||
|
:defer t)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** C/C++
|
*** C/C++
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
@ -3135,6 +3136,11 @@ Intero seems to be causing hangs, so it has been disabled
|
|||||||
(unless (boundp 'org-capture-templates)
|
(unless (boundp 'org-capture-templates)
|
||||||
(defvar org-capture-templates nil))
|
(defvar org-capture-templates nil))
|
||||||
|
|
||||||
|
(defvar imalison:created-property-string "
|
||||||
|
:PROPERTIES:
|
||||||
|
:CREATED: %U
|
||||||
|
:END:")
|
||||||
|
|
||||||
(imalison:add-to-org-agenda-files
|
(imalison:add-to-org-agenda-files
|
||||||
(list imalison:org-gtd-file imalison:org-habits-file
|
(list imalison:org-gtd-file imalison:org-habits-file
|
||||||
imalison:org-calendar-file imalison:org-inbox-file))
|
imalison:org-calendar-file imalison:org-inbox-file))
|
||||||
@ -3150,20 +3156,11 @@ Intero seems to be causing hangs, so it has been disabled
|
|||||||
(add-to-list 'org-capture-templates
|
(add-to-list 'org-capture-templates
|
||||||
`("y" "Calendar entry (Linked)" entry
|
`("y" "Calendar entry (Linked)" entry
|
||||||
(file ,imalison:org-calendar-file)
|
(file ,imalison:org-calendar-file)
|
||||||
"* %? %A
|
,(format "%s%s\n%s" "* %? %A" imalison:created-property-string "%^T")))
|
||||||
:PROPERTIES:
|
|
||||||
:CREATED: %U
|
|
||||||
:END:
|
|
||||||
%^T"))
|
|
||||||
|
|
||||||
(add-to-list 'org-capture-templates
|
(add-to-list 'org-capture-templates
|
||||||
`("c" "Calendar entry" entry
|
`("c" "Calendar entry" entry
|
||||||
(file ,imalison:org-calendar-file)
|
,(format "%s\n%s\n%s" "* %?" imalison:created-property-string "%^T")))
|
||||||
"* %?
|
|
||||||
:PROPERTIES:
|
|
||||||
:CREATED: %U
|
|
||||||
:END:
|
|
||||||
%^T"))
|
|
||||||
|
|
||||||
(add-to-list 'org-capture-templates
|
(add-to-list 'org-capture-templates
|
||||||
`("h" "Habit" entry (file ,imalison:org-habits-file)
|
`("h" "Habit" entry (file ,imalison:org-habits-file)
|
||||||
@ -3181,7 +3178,7 @@ Intero seems to be causing hangs, so it has been disabled
|
|||||||
((org-agenda-overriding-header
|
((org-agenda-overriding-header
|
||||||
"Upcoming high priority tasks:"))))
|
"Upcoming high priority tasks:"))))
|
||||||
(due-today '(tags-todo
|
(due-today '(tags-todo
|
||||||
"+DEADLINE=<\"<+0d>\""
|
"+DEADLINE=<\"<+1d>\"|+SCHEDULED=<\"<+0d>\""
|
||||||
((org-agenda-overriding-header
|
((org-agenda-overriding-header
|
||||||
"Due today:"))))
|
"Due today:"))))
|
||||||
(recently-created '(tags-todo
|
(recently-created '(tags-todo
|
||||||
@ -3429,11 +3426,12 @@ alphanumeric characters only."
|
|||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(setq org-projectile-projects-file
|
(setq org-projectile-projects-file
|
||||||
(imalison:join-paths imalison:org-dir "projects.org"))
|
(imalison:join-paths imalison:org-dir "projects.org")
|
||||||
|
org-projectile-capture-template
|
||||||
|
(format "%s\n%s" "* TODO %?" imalison:created-property-string))
|
||||||
(add-to-list 'org-capture-templates
|
(add-to-list 'org-capture-templates
|
||||||
(org-projectile-project-todo-entry
|
(org-projectile-project-todo-entry
|
||||||
:capture-character "l"
|
:capture-character "l"
|
||||||
:capture-template "* TODO %? %a\n"
|
|
||||||
:capture-heading "Linked Project TODO"))
|
:capture-heading "Linked Project TODO"))
|
||||||
(add-to-list 'org-capture-templates
|
(add-to-list 'org-capture-templates
|
||||||
(org-projectile-project-todo-entry
|
(org-projectile-project-todo-entry
|
||||||
@ -4200,6 +4198,7 @@ I had to disable this mode because something that it does messes with coding set
|
|||||||
** recentf
|
** recentf
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package recentf
|
(use-package recentf
|
||||||
|
:defer 3
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(setq recentf-max-saved-items 1000
|
(setq recentf-max-saved-items 1000
|
||||||
|
Loading…
Reference in New Issue
Block a user