Remove org-agenda stuff
I never really ended up using it, perhaps I will revisit it at some point but for know there is no need.
This commit is contained in:
parent
816ccf7c0c
commit
2d0854eef2
49
config.org
49
config.org
@ -70,43 +70,7 @@ needs to be set up to install them if they aren't already.
|
|||||||
(require 'org-tempo))
|
(require 'org-tempo))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Agenda
|
|
||||||
|
|
||||||
Set up a keybinding for [[help:org-agenda][org-agenda]] and tell it where to look. I
|
|
||||||
have a bunch of org documents making up a sort of wiki which I keep
|
|
||||||
under [[file:~/exo][~/exo]].
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(define-key global-map (kbd "C-c a") 'org-agenda)
|
|
||||||
(setq org-agenda-files
|
|
||||||
(directory-files-recursively "~/exo" "\.org$"))
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
Log when tasks were marked =DONE=, just for graphs.
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(setq org-log-done t)
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
I often want to see TODO items that aren't scheduled to decide on
|
|
||||||
something to do (if I've already done all the scheduled things), so
|
|
||||||
it's nice for [[help:org-agenda][org-agenda]] to have an option for that.
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(setq org-agenda-custom-commands
|
|
||||||
'(("u" "Unscheduled tasks" tags "-SCHEDULED={.+}/!+TODO")))
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
By default, the agenda clobbers the rest of the windows in the
|
|
||||||
current frame, which I find a bit annoying. That behaviour is
|
|
||||||
controlled by [[help:org-agenda-window-setup][org-agenda-window-setup]].
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(setq org-agenda-window-setup 'current-window)
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
** Source Blocks
|
** Source Blocks
|
||||||
|
|
||||||
Pressing tab inside a source block should indent appropriately for its
|
Pressing tab inside a source block should indent appropriately for its
|
||||||
language.
|
language.
|
||||||
|
|
||||||
@ -190,19 +154,6 @@ needs to be set up to install them if they aren't already.
|
|||||||
(setcdr (assoc "\\.pdf\\'" org-file-apps) "evince %s")))
|
(setcdr (assoc "\\.pdf\\'" org-file-apps) "evince %s")))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Archival
|
|
||||||
It's nice to be able to clear out old and irrelevant things from
|
|
||||||
task lists, etc. To that end, [[help:org-archive-subtree][org-archive-subtree]] is very nice. To
|
|
||||||
configure where archived items go, we can set [[help:org-archive-location][org-archive-location]]:
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(setq org-archive-location "%s-archive::datetree/")
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
The =datetree= bit there is a special option that means archived
|
|
||||||
items will be grouped by the date they were marked =DONE=, or the
|
|
||||||
date they were archived, if that's missing.
|
|
||||||
|
|
||||||
* Start up
|
* Start up
|
||||||
|
|
||||||
Org is better suited as scratch space than Funamental, I'd say.
|
Org is better suited as scratch space than Funamental, I'd say.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user