emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Austin Frank <austin.frank@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: POLL: the 40 variables project
Date: Thu, 29 Jan 2009 23:46:27 -0500	[thread overview]
Message-ID: <m0iqnxtn8c.fsf@gmail.com> (raw)
In-Reply-To: FD50CA36-A385-4C80-8E86-E3BE9F352B0A@uva.nl


[-- Attachment #1.1: Type: text/plain, Size: 4919 bytes --]

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

[-- Attachment #1.2: Type: application/pgp-signature, Size: 193 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  parent reply	other threads:[~2009-01-30  4:46 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-29  8:49 POLL: the 40 variables project Carsten Dominik
2009-01-29 11:13 ` Friedrich Delgado Friedrichs
2009-01-29 13:02   ` Carsten Dominik
2009-01-29 13:40     ` Dan Griswold
2009-01-29 11:46 ` Womick, Don
2009-01-29 11:59 ` Tassilo Horn
2009-01-29 13:37   ` Sebastian Rose
2009-01-29 13:30 ` Bernt Hansen
2009-01-29 13:46 ` Chris Leyon
2009-01-29 14:10 ` Matthew Lundin
2009-01-29 14:49 ` Bernt Hansen
2009-01-29 14:55 ` srandby
2009-01-29 16:01 ` Eric S Fraga
2009-01-29 16:40 ` Dan Davison
2009-01-29 16:40 ` Michael Ekstrand
2009-01-29 17:24 ` Sivaram Neelakantan
2009-01-29 17:56 ` Manish
2009-01-29 21:02   ` Dan Davison
2009-01-29 23:07   ` Carsten Dominik
2009-01-30  7:46     ` Manish
2009-01-30  8:18       ` Carsten Dominik
2009-01-30  8:29         ` Manish
2009-01-30  8:38           ` Carsten Dominik
2009-01-30  8:52             ` Manish
2009-01-30  9:16               ` Carsten Dominik
2009-01-30 10:35                 ` Scot Becker
     [not found]                 ` <e7cdbe30902011255y680747e8vb8731a775a73dc73@mail.gmail.com>
2009-02-01 22:15                   ` Carsten Dominik
2009-02-02 10:36                   ` Carsten Dominik
     [not found]       ` <87ljstx71e.fsf@gollum.intra.norang.ca>
2009-01-30 13:50         ` Carsten Dominik
2009-01-30 15:27       ` Carsten Dominik
2009-01-29 18:02 ` William Henney
2009-01-29 19:07 ` Peter Jones
2009-01-29 19:44 ` Hsiu-Khuern Tang
2009-01-29 22:06 ` Steven E. Harris
2009-01-29 22:43 ` Oliver Charles
2009-01-30  3:32 ` Ross Patterson
2009-01-30 12:13   ` Sebastian Rose
2009-01-30  3:44 ` Dennis Groves
2009-01-30  4:12   ` Manish
2009-01-30  4:46 ` Austin Frank [this message]
2009-01-30  8:17 ` Ulf Stegemann
2009-01-30 12:26   ` Sebastian Rose
2009-01-30  8:26 ` Cameron Horsburgh
2009-01-30  8:43 ` R: " Giovanni Ridolfi
2009-01-30  9:21   ` Manish
2009-01-30 11:09 ` Shaun Johnson
2009-01-30 12:08 ` Rainer Stengele
2009-01-30 12:48 ` Mikael Fornius
2009-01-30 15:56 ` William Henney
2009-01-30 16:12 ` Christian Egli
2009-01-30 16:34 ` Manuel Hermenegildo
2009-02-01  0:34   ` Samuel Wales
2009-01-30 16:36 ` Eric Schulte
2009-01-31 13:06 ` Martin Stemplinger
2009-02-01 15:18 ` James TD Smith
2009-02-04 15:29 ` Charles Sebold
2009-02-05 14:55   ` Manish
2009-02-04 21:28 ` Mike Newman
2014-01-17 20:55 ` [Orgmode] " Manish
2014-01-19 15:54   ` Bastien
2014-01-20  2:18     ` M
2014-01-20 11:17       ` Bastien
2014-01-20 11:38         ` Rainer M Krug
2014-01-20 11:47           ` Bastien
2014-01-20 17:07           ` Eric S Fraga
2014-01-20  7:05     ` henry atting
2014-01-20 11:16       ` Bastien
2014-04-30 15:29   ` Sungmin
2014-04-30 15:50     ` Eric S Fraga
     [not found] <20090130091800.B54F32868C@mailhost.cs.tu-berlin.de>
2009-01-30 11:33 ` Stephan Schmitt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m0iqnxtn8c.fsf@gmail.com \
    --to=austin.frank@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).