ENH remove journal from org
This commit is contained in:
parent
e27ecc5547
commit
caaa0d4597
13
etc/conf.org
13
etc/conf.org
|
@ -1742,8 +1742,7 @@ Save all org buffers 1 minute before the hour, then commit whatever I saved.
|
||||||
|
|
||||||
(defun nd/org-commit-repos ()
|
(defun nd/org-commit-repos ()
|
||||||
"Commit org git repos automatically"
|
"Commit org git repos automatically"
|
||||||
(let* ((journal-path (f-join org-directory "journal"))
|
(let* ((cmd (format "autogit \"%s\"" org-directory)))
|
||||||
(cmd (format "autogit \"%s\" \"%s\"" org-directory journal-path)))
|
|
||||||
(async-shell-command cmd)))
|
(async-shell-command cmd)))
|
||||||
|
|
||||||
;; TODO don't hardcode this name
|
;; TODO don't hardcode this name
|
||||||
|
@ -2419,11 +2418,11 @@ Prevent accidental refiling under tasks with done keywords
|
||||||
|
|
||||||
;; TODO this no work, although does work if var is global
|
;; TODO this no work, although does work if var is global
|
||||||
;; redfining the targets works for now
|
;; redfining the targets works for now
|
||||||
(add-hook 'org-agenda-mode-hook
|
;; (add-hook 'org-agenda-mode-hook
|
||||||
(lambda ()
|
;; (lambda ()
|
||||||
(when (equal (buffer-name) "*Org Agenda(A)*")
|
;; (when (equal (buffer-name) "*Org Agenda(A)*")
|
||||||
(setq-local org-refile-targets
|
;; (setq-local org-refile-targets
|
||||||
'(("~/Org/journal/goals.org" :maxlevel . 9))))))
|
;; '(("~/Org/journal/goals.org" :maxlevel . 9))))))
|
||||||
;; (lambda () (when (org-entry-get nil "GOAL") t))))))
|
;; (lambda () (when (org-entry-get nil "GOAL") t))))))
|
||||||
;; (setq org-refile-targets '((nil :maxlevel . 9)
|
;; (setq org-refile-targets '((nil :maxlevel . 9)
|
||||||
;; ("~/Org/reference/idea.org" :maxlevel . 9)
|
;; ("~/Org/reference/idea.org" :maxlevel . 9)
|
||||||
|
|
Loading…
Reference in New Issue