Skip to content

Commit

Permalink
final cleanup for v2.0 engage view
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevoke committed Dec 28, 2021
1 parent ecf5902 commit df800d1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
17 changes: 11 additions & 6 deletions dev/.emacs
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,23 @@
:map org-gtd-process-map
("C-c c" . org-gtd-choose)))

(use-package org-agenda
:ensure nil
:after org-gtd
:custom
(org-agenda-window-setup 'only-window))

(use-package camcorder :quelpa t)

(use-package command-log-mode :quelpa t)

(show-paren-mode)

(add-hook 'minibuffer-setup-hook 'my-minibuffer-setup)
(defun my-minibuffer-setup ()
(set (make-local-variable 'face-remapping-alist)
'((default :height 2.0))))

(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
Expand All @@ -73,9 +84,3 @@
'(command-log-mode-open-log-turns-on-mode t)
'(command-log-mode-window-size 40)
'(package-selected-packages '(camcorder org-gtd quelpa-use-package)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:family "Source Code Pro")))))
10 changes: 7 additions & 3 deletions org-gtd-customize.el
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ the items once they have been processed and add them to that list."

(defcustom org-gtd-archive-location
(lambda ()
(let ((year (number-to-string (caddr (calendar-current-date)))))
(string-join `("gtd_archive_" ,year "::datetree/"))))
(let ((year (number-to-string (caddr (calendar-current-date)))))
(string-join `("gtd_archive_" ,year "::datetree/"))))
"Function to generate archive location for org gtd.
That is to say, when items get cleaned up from the active files, they will go
Expand Down Expand Up @@ -90,7 +90,11 @@ top level heading, or the behavior of org-gtd will be undefined."

(defcustom org-gtd-agenda-custom-commands
'(("g" "Scheduled today and all NEXT items"
((agenda "" ((org-agenda-span 1))) (todo "NEXT|WAIT-DELEGATED_TO"))))
(
(agenda "" ((org-agenda-span 1)))
(todo "NEXT" ((org-agenda-overriding-header "All NEXT items")))
(todo "WAIT" ((org-agenda-todo-ignore-with-date t)
(org-agenda-overriding-header "Blocked items"))))))
"Agenda custom commands to be used for org-gtd.
The provided default is to show the agenda for today and all TODOs marked as
Expand Down

0 comments on commit df800d1

Please sign in to comment.