emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: POLL: the 40 variables project


From: Bernt Hansen
Subject: [Orgmode] Re: POLL: the 40 variables project
Date: Thu, 29 Jan 2009 09:49:18 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Carsten Dominik <address@hidden> writes:

> So here is my question to all of you.  Could you, in reply to this
> message, list all the Org-related variables that you have customized,
> along with the values you used?
>

It seems I'm using lots of these variables currently. (58)

I tune my work flow regularly - so some of these values change over time.

Here's how I found my matches:

$ git grep -h defcustom lisp/*.el | awk '{print $2}'  >/tmp/customvars.txt && 
grep -hf /tmp/customvars.txt ~/.emacs ~/custom.el >/tmp/myvars.txt;

The resulting list was edited to fill in more detail for multiline
items.

Now you asked for _all_ org variables ... and some of them aren't
defcustom settings (like org-agenda-mode-hook, and
org-blank-before-bullet) so I've included everything.

Where a hook uses a custom function I've included that too just for
completeness.

Here you go...

--- .emacs ---

(add-hook 'org-agenda-mode-hook '(lambda () (hl-line-mode 1)))

(setq org-clock-out-when-done nil)
(setq org-blank-before-bullet t)
(setq org-clock-out-remove-zero-time-clocks t)
(setq org-remember-clock-out-on-exit nil)
(setq org-clock-history-length 10)
(setq org-table-export-default-format "orgtbl-to-csv")

(add-hook 'org-finalize-agenda-hook 'my-org-agenda-to-appt)

;; Get appointments for today
(defun my-org-agenda-to-appt ()
  (interactive)
  (setq appt-time-msg-list nil)
  (org-agenda-to-appt))

(setq org-clock-persist t)
(setq org-clock-in-resume t)
(org-clock-persistence-insinuate)

;; Setup for ditaa graphics
(load "~/git/org-mode/contrib/lisp/org-exp-blocks")
(setq org-ditaa-jar-path "~/java/ditaa0_6b.jar")

(setq org-completion-use-ido t)

(setq org-publish-project-alist
      (quote (("norang-org"
               :base-directory "~/git/www.norang.ca"
               :publishing-directory 
"/ssh:address@hidden:~/www.norang.ca/htdocs"
               :recursive t
               :section_numbers nil
               :table-of-contents nil
               :base-extension "org"
               :publishing-function org-publish-org-to-html
               :style-include-default nil
               :section-numbers nil
               :table-of-contents nil
               :style-include-default nil
               :style "<link rel=\"stylesheet\" href=\"norang.css\" 
type=\"text/css\">"
               :author-info nil
               :creator-info nil)
              ("norang-extra"
               :base-directory "~/git/www.norang.ca/"
               :publishing-directory 
"/ssh:address@hidden:~/www.norang.ca/htdocs"
               :base-extension "css\\|pdf\\|png\\|jpg\\|gif"
               :publishing-function org-publish-attachment
               :recursive t
               :author nil)
              ("norang"
               :components ("norang-org" "norang-extra"))
              ("doc-org"
               :base-directory "~/git/doc.norang.ca/"
               :publishing-directory 
"/ssh:address@hidden:~/doc.norang.ca/htdocs"
               :recursive t
               :section_numbers nil
               :table-of-contents nil
               :base-extension "org"
               :publishing-function org-publish-org-to-html
               :style-include-default nil
               :style "<link rel=\"stylesheet\" href=\"/org.css\" 
type=\"text/css\">"
               :author-info nil
               :creator-info nil)
              ("doc-extra"
               :base-directory "~/git/doc.norang.ca/"
               :publishing-directory 
"/ssh:address@hidden:~/doc.norang.ca/htdocs"
               :base-extension "css\\|pdf\\|png\\|jpg\\|gif"
               :publishing-function org-publish-attachment
               :recursive t
               :author nil)
              ("org"
               :base-directory "~/git/org/"
               :publishing-directory "/ssh:address@hidden:~/org"
               :recursive t
               :section_numbers nil
               :table-of-contents nil
               :base-extension "org"
               :publishing-function org-publish-org-to-html
               :style-include-default nil
               :style "<link rel=\"stylesheet\" href=\"/org.css\" 
type=\"text/css\">"
               :author-info nil
               :creator-info nil)
              ("doc"
               :components ("doc-org" "doc-extra")))))

(setq org-columns-default-format "%40ITEM(Task) %17Effort(Estimated Effort){:} 
%CLOCKSUM")

(setq org-deadline-warning-days 30)
(setq org-default-notes-file "~/git/org/todo.org")

(setq org-todo-keyword-faces '(("TODO" :foreground "blue" :weight bold)
                               ("WAITING" :foreground "red" :weight bold)
                               ("SOMEDAY" :foreground "orange" :weight bold)
                               ("DONE" :foreground "forest green" :weight bold)
                               ("NOTE" :foreground "dark violet" :weight bold)
                               ("PHONE" :foreground "dark violet" :weight bold)
                               ("CLOSED" :foreground "forest green" :weight 
bold)
                               ("CANCELLED" :foreground "forest green" :weight 
bold)
                               ("PROJ" :foreground "blue" :weight bold)
                               ("PROJDONE" :foreground "forest green" :weight 
bold)
                               ("OPENPO" :foreground "blue" :weight bold)
                               ("CLOSEDPO" :foreground "forest green" :weight 
bold)))

(setq org-todo-keywords '((sequence "TODO(t)" "|" "DONE(d!/!)")
                          (sequence "WAITING(w@/!)" "SOMEDAY(s)" "|" 
"CANCELLED(c@/!)")
                          (sequence "QUOTATION(q!)" "QUOTED(Q!)" "|" 
"APPROVED(A@)" "EXPIRED(E@)" "REJECTED(R@)")
                          (sequence "OPENPO(O!)" "|" "CLOSEDPO(C@)")
                          (sequence "|" "NOTE(n)" "PHONE(T)")))

--- custom.el ---

(custom-set-variables
 '(org-agenda-clockreport-parameter-plist (quote (:link nil :maxlevel 3)))
 '(org-agenda-custom-commands (quote (("p" "Projects" tags #("PROJECT/!" 0 9 
(face org-warning)) ((org-use-tag-inheritance nil))) ("n" "Next Tasks" tags 
#("NEXT-CANCELLED/!TODO" 0 20 (face org-warning)) nil) ("b" "Stuff to Buy" tags 
#("BUY" 0 3 (face org-warning)) nil) ("w" "Tasks waiting on something" tags 
#("WAITING" 0 7 (face org-warning)) ((org-use-tag-inheritance nil))) ("x" "New 
Tasks" tags #("NEWTASK" 0 7 (face org-warning)) nil))))
 '(org-agenda-files (quote ("~/git/org/org.org" "~/git/org/sappi.org" 
"~/git/org/norang.org" "~/git/org/ciss-csp.org" "~/git/org/git.org" 
"~/git/org/todo.org" "~/git/org/bzflag.org")))
 '(org-agenda-include-diary t)
 '(org-agenda-log-mode-items (quote (closed clock)))
 '(org-agenda-repeating-timestamp-show-all t)
 '(org-agenda-show-all-dates t)
 '(org-agenda-skip-deadline-if-done t)
 '(org-agenda-skip-scheduled-if-done t)
 '(org-agenda-sorting-strategy (quote ((agenda priority-down time-up 
category-up) (todo priority-down) (tags priority-down))))
 '(org-agenda-start-on-weekday nil)
 '(org-agenda-text-search-extra-files (quote (agenda-archives)))
 '(org-agenda-todo-ignore-with-date t)
 '(org-blank-before-new-entry (quote ((heading) (plain-list-item))))
 '(org-clock-history-length 20)
 '(org-default-priority 68)
 '(org-enforce-todo-dependencies t)
 '(org-export-html-inline-images t)

 '(org-export-latex-classes (quote (("myletter" "% BEGIN My Letter Defaults
; this one is huge.  It's only slightly modified from the original
; posted by Russell Adams in his article
; http://permalink.gmane.org/gmane.emacs.orgmode/7684
; I've indented it so you can skip to the next item easily.
; Did you really want all this stuff?  :)

                 '(org-export-latex-classes (quote (("myletter" "% BEGIN My 
Letter Defaults
                \\documentclass[10pt,letterpaper]{letter}
                
\\usepackage[letterpaper,includeheadfoot,top=0.5in,bottom=0.5in,left=0.75in,right=0.75in]{geometry}
                \\usepackage[utf8]{inputenc}
                \\usepackage[T1]{fontenc}
                \\usepackage{hyperref}
                \\usepackage{lastpage}
                \\usepackage{fancyhdr}
                \\pagestyle{fancy}
                \\renewcommand{\\footrulewidth}{0.5pt}
                
                % Default footer
                \\fancyfoot[C]{\\small Page \\thepage\\ of \\pageref{LastPage}}
                % END My Letter Defaults
                
                " ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . 
"\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") 
("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . 
"\\subparagraph*{%s}")) ("myarticle" "% BEGIN My Article Defaults
                \\documentclass[10pt,letterpaper]{article}
                
\\usepackage[letterpaper,includeheadfoot,top=0.5in,bottom=0.5in,left=0.75in,right=0.75in]{geometry}
                \\usepackage[utf8]{inputenc}
                \\usepackage[T1]{fontenc}
                \\usepackage{hyperref}
                \\usepackage{lastpage}
                \\usepackage{fancyhdr}
                \\pagestyle{fancy}
                \\renewcommand{\\headrulewidth}{1pt}
                \\renewcommand{\\footrulewidth}{0.5pt}
                
                % Default footer
                \\fancyfoot[L]{\\small \\jobname \\\\ \\today}
                \\fancyfoot[C]{\\small Page \\thepage\\ of \\pageref{LastPage}}
                \\fancyfoot[R]{\\small \\copyright \\the\\year\\  Norang 
Consulting Inc.}
                % END My Article Defaults
                
                " ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . 
"\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") 
("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . 
"\\subparagraph*{%s}")) ("article" "\\documentclass[11pt,letterpaper]{article}
                \\usepackage[utf8]{inputenc}
                \\usepackage[T1]{fontenc}
                \\usepackage{graphicx}
                \\usepackage{hyperref}" ("\\section{%s}" . "\\section*{%s}") 
("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . 
"\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") 
("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report" 
"\\documentclass[11pt,letterpaper]{report}
                \\usepackage[utf8]{inputenc}
                \\usepackage[T1]{fontenc}
                \\usepackage{graphicx}
                \\usepackage{hyperref}" ("\\part{%s}" . "\\part*{%s}") 
("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") 
("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . 
"\\subsubsection*{%s}")) ("book" "\\documentclass[11pt,letterpaper]{book}
                \\usepackage[utf8]{inputenc}
                \\usepackage[T1]{fontenc}
                \\usepackage{graphicx}
                \\usepackage{hyperref}" ("\\part{%s}" . "\\part*{%s}") 
("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") 
("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . 
"\\subsubsection*{%s}")))))
                
 '(org-export-with-sub-superscripts nil)
 '(org-fast-tag-selection-single-key (quote expert))
 '(org-global-properties (quote (("Effort_ALL" . "0 0:10 0:30 1:00 2:00 3:00 
4:00 5:00 6:00 8:00"))))
 '(org-id-method (quote uuidgen))
 '(org-link-frame-setup (quote ((vm . vm-visit-folder-other-frame) (gnus . 
gnus-other-frame) (file . find-file-other-window))))
 '(org-log-done (quote time))
 '(org-lowest-priority 68)
 '(org-refile-targets (quote ((org-agenda-files :level . 1) (nil :level . 1))))
 '(org-remember-default-headline "Tasks")
 '(org-remember-store-without-prompt t)

 '(org-remember-templates (quote (("todo" 116 "* TODO %?
  %u
  %a" nil nil nil) ("buy" 98 "* TODO Buy %?                                     
                        :BUY:
  %u
" nil nil nil) ("note" 110 "* NOTE %?
  %U
  %a" nil nil nil) ("phone" 112 "* PHONE [[bbdb:%?]] - 
  %T" nil nil nil))))

 '(org-reverse-note-order nil)
 '(org-show-following-heading t)
 '(org-show-hierarchy-above t)
 '(org-show-siblings nil)
 '(org-stuck-projects (quote ("+PROJECT-CANCELLED/-DONE" nil ("NEXT") "")))

 '(org-tag-alist (quote ((#("PHONE" 0 5 (face nil)) . 116) (#("BUY" 0 3 (face 
nil)) . 98) (#("PROJECT" 0 7 (face nil)) . 112) (#("QUOTE" 0 5 (face nil)) . 
113) (#("NEXT" 0 4 (face nil)) . 110) (#("NORANG" 0 6 (face nil)) . 78) 
(#("SAPPI" 0 5 (face nil)) . 83) (#("BZFLAG" 0 6 (face nil)) . 66) (#("HOME" 0 
4 (face org-done)) . 72) (#("CANCELLED" 0 9 (face nil)) . 99) (#("WAITING" 0 7 
(face nil)) . 119))))
 '(org-time-stamp-rounding-minutes (quote (1 5)))
 '(org-todo-keyword-faces (quote (("TODO" :foreground "red" :weight bold) 
("WAITING" :foreground "orange" :weight bold) ("DEFERRED" :foreground "orange" 
:weight bold) ("ONGOING" :foreground "orange" :weight bold) ("DONE" :foreground 
"forest green" :weight bold) ("NOTE" :foreground "dark violet" :weight bold) 
("PHONE" :foreground "dark violet" :weight bold) ("MEETING" :foreground "dark 
violet" :weight bold) ("CLOSED" :foreground "forest green" :weight bold) 
("CANCELLED" :foreground "forest green" :weight bold))))
 '(org-todo-keywords (quote ((sequence "TODO(t!)" "|" "DONE(d!/!)") (sequence 
"WAITING(w@/!)" "ONGOING(o!)" "DEFERRED(D@/!)" "|" "CANCELLED(c@/!)") (sequence 
"QUOTATION(q!)" "QUOTED(Q!)" "|" "APPROVED(A@)" "EXPIRED(E@)" "REJECTED(R@)") 
(sequence "OPEN(O!)" "|" "CLOSED(C@)") (sequence "|" "NOTE" "PHONE" 
"MEETING"))))
 '(org-todo-state-tags-triggers (quote (("CANCELLED" ("CANCELLED" . t)) 
("WAITING" ("WAITING" . t) ("NEXT")) ("SOMEDAY" ("WAITING" . t)) (done ("NEXT") 
("WAITING")) ("TODO" ("WAITING") ("CANCELLED")))))
 '(org-use-fast-todo-selection t)

  (org-drawers quote ("PROPERTIES" "HIDE")))))
; Part of safe-local-variable-values
; I currently only have PROPERTIES drawers - I'm not using HIDE.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]