[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: POLL: the 40 variables project
From: |
Austin Frank |
Subject: |
[Orgmode] Re: POLL: the 40 variables project |
Date: |
Thu, 29 Jan 2009 23:46:27 -0500 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (darwin) |
On Thu, Jan 29 2009, Carsten Dominik wrote:
> - why you set the variable like this
> - if you feel that the default value of that variable
> should be different
> - Any other comments you might what to give.
I have four org config files: org-config.el, org-config-remember.el,
org-config-latex.el, and org-config-publish. At the beginning of
org-config.el I load the other three.
From org-config.el:
--8<---------------cut here---------------start------------->8---
(add-hook 'org-mode-hook
(lambda ()
(imenu-add-to-menubar "Imenu")
(local-set-key "\M-I" 'org-toggle-iimage-in-org)))
;;; general org functionality tweaks
(setq org-completion-use-ido t)
;;; customized list and outline behaviors
(setq org-empty-line-terminates-plain-lists t
org-log-state-notes-insert-after-drawers t
org-hide-leading-stars t)
;;; agenda customization
(setq org-agenda-files '("~/org/"))
(setq
org-agenda-window-setup 'other-frame
org-agenda-include-diary t
org-agenda-ndays 7
org-deadline-warning-days 14
org-agenda-show-all-dates t
org-agenda-skip-deadline-if-done t
org-agenda-skip-scheduled-if-done t
org-agenda-skip-timestamp-if-done t
org-agenda-start-on-weekday nil
org-stuck-projects
'("+LEVEL=2+CATEGORY=\"PROJ\"|+CATEGORY=\"TASK\"/-DONE-CANCELED"
("NEXT" "WAITING")
nil
"")
org-agenda-custom-commands
'(("n" "NEXT items" todo "NEXT")
("w" "WAITING items" todo "WAITING")
("h" "at Home" tags "@CASTLE|@ERRANDS|@WEGMANS")
("w" "at Work" tags "@LAB|@OFFICE")
("j" "Just Todos" todo "TODO")
("r" todo "TO-READ")
("z" todo "TO-SUMMARIZE")
("o" todo "TO-NOTE")
("f" todo "TO-FILE")
("p" "All reading tasks" ((todo "TO-READ")
(todo "TO-SUMMARIZE")
(todo "TO-NOTE")
(todo "TO-FILE")))))
(add-hook 'org-agenda-mode-hook '(lambda () (hl-line-mode 1)))
;;; notes
(setq
org-default-notes-file "~/notes.org"
org-reverse-note-order t)
;;; org-mairix
(setq org-mairix-gnus-results-group 'nnmairix-default-group
org-mairix-gnus-select-display-group-function)
;;; GTD setup
(setq
org-todo-keywords
'((sequence "TODO(t)" "NEXT(n)" "WAITING(w@/!)" "|" "DONE(d!)" "SOMEDAY(s)")
(sequence "TO-FIND(l)" "TO-READ(r)" "READ-NEXT(x)" "TO-SUMMARIZE(z)"
"TO-NOTE(o)" "TO-FILE(f)" "|" "READ(e!)")
(sequence "|" "CANCELED(c@/!)")))
(setq
org-log-done t
org-fast-tag-selection-single-key 'expert
org-tags-match-list-sublevels t
org-use-fast-todo-selection t
org-fast-tag-selection-include-todo t)
(defun org-toggle-iimage-in-org ()
"Display images in your org file"
(interactive)
(if (face-underline-p 'org-link)
(set-face-underline-p 'org-link nil)
(set-face-underline-p 'org-link t))
(iimage-mode))
;; sometimes we need IDs?
(setq org-id-method 'uuidgen)
;; moving items
(setq
org-refile-targets '((org-agenda-files . (:maxlevel . 3)))
org-refile-use-outline-path 'file)
--8<---------------cut here---------------end--------------->8---
From org-remember.el:
--8<---------------cut here---------------start------------->8---
;; moving tasks
(setq org-remember-use-refile-when-interactive t)
;; remember
(setq
org-remember-store-without-prompt t
org-remember-default-headline "Unfiled"
org-remember-templates
'(("todo"
?t "* TODO %? %^G\n CREATED: %u\n%a\n"
"~/org/todo.org"
"Unscheduled tasks")
("deadline"
?d "* TODO %? %^G\n DEADLINE: %^T\nCREATED: %u\n%a\n"
"~/org/todo.org"
"Unscheduled tasks")
("standing"
?s "* %?\n CREATED: %u\n%^T\n%a\n"
"~/org/todo.org"
"Standing obligations")
("event"
?e "* %? %^G\n CREATED: %u\n%^T\n%a\n"
"~/org/todo.org"
"One-time events")
("project todo"
?p "* TODO %? %^G\n CREATED: %u\n%a\n"
"~/org/projects.org")
("note"
?n "* %u %? %^G"
"~/org/notes.org"
"Unfiled Notes")
("to-read"
?r "* TO-READ %a\n** Details\n%:author (%:year). %:title. In %:journal,
%:pages.\n\n"
"~/org/todo.org"
"Reading")
("music"
?m "* %^{Song} by %^{Artist} on %^{Album}\n %U %?%!%&"
"~/org/notes.org"
"Music")))
--8<---------------cut here---------------end--------------->8---
org-config-latex.el sets org-export-latex-classes, but I never actually
use the classes I defined now that there are #+ directives for LaTeX
export.
org-config-publish.el sets org-publish-project-alist, and
--8<---------------cut here---------------start------------->8---
(setq
org-export-with-toc nil
org-export-with-section-numbers nil)
--8<---------------cut here---------------end--------------->8---
Thanks,
/au
--
Austin Frank
http://aufrank.net
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc
pgp3aHQQAJ7HO.pgp
Description: PGP signature
- Re: [Orgmode] POLL: the 40 variables project, (continued)
- Re: [Orgmode] POLL: the 40 variables project, William Henney, 2009/01/29
- [Orgmode] Re: POLL: the 40 variables project, Peter Jones, 2009/01/29
- Re: [Orgmode] POLL: the 40 variables project, Hsiu-Khuern Tang, 2009/01/29
- [Orgmode] Re: POLL: the 40 variables project, Steven E. Harris, 2009/01/29
- Re: [Orgmode] POLL: the 40 variables project, Oliver Charles, 2009/01/29
- [Orgmode] Re: POLL: the 40 variables project, Ross Patterson, 2009/01/29
- Re: [Orgmode] POLL: the 40 variables project, Dennis Groves, 2009/01/29
- [Orgmode] Re: POLL: the 40 variables project,
Austin Frank <=
- [Orgmode] Re: POLL: the 40 variables project, Ulf Stegemann, 2009/01/30
- Re: [Orgmode] POLL: the 40 variables project, Cameron Horsburgh, 2009/01/30
- R: [Orgmode] POLL: the 40 variables project, Giovanni Ridolfi, 2009/01/30
- Re: [Orgmode] POLL: the 40 variables project, Shaun Johnson, 2009/01/30
- [Orgmode] Re: POLL: the 40 variables project, Rainer Stengele, 2009/01/30
- [Orgmode] Re: POLL: the 40 variables project, Mikael Fornius, 2009/01/30
- Re: [Orgmode] POLL: the 40 variables project, William Henney, 2009/01/30
- [Orgmode] Re: POLL: the 40 variables project, Christian Egli, 2009/01/30