Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add additional configuration to .el file.

  • Loading branch information...
commit e96c1340e74646db086e3760bb4542256181763f 1 parent 5b88c56
Puneeth Chaganti authored June 22, 2011

Showing 1 changed file with 22 additions and 0 deletions. Show diff stats Hide diff stats

  1. 22  demo.el
22  demo.el
@@ -10,11 +10,33 @@
10 10
    (ditaa . t)
11 11
    (sh . t)))
12 12
 
  13
+
  14
+(global-set-key (kbd "C-c a") 'org-agenda)
  15
+
13 16
 ;; Set agenda files
14 17
 (setq org-agenda-files (expand-file-name 
15 18
 			"agenda-files.org"
16 19
 			demo-dir))
17 20
 
  21
+;; Refile targets
  22
+; Targets include this file and any file contributing to the agenda -
  23
+; up to 5 levels deep
  24
+(setq org-refile-targets 
  25
+      (quote ((org-agenda-files :maxlevel . 5) 
  26
+              (nil :maxlevel . 5))))
  27
+
  28
+; Targets start with the file name - allows creating level 1 tasks
  29
+(setq org-refile-use-outline-path (quote file))
  30
+
  31
+; Targets complete in steps so we start with filename, TAB shows the
  32
+; next level of targets etc
  33
+(setq org-outline-path-complete-in-steps t)
  34
+
  35
+; Allow refile to create parent tasks with confirmation
  36
+(setq org-refile-allow-creating-parent-nodes (quote confirm))
  37
+
  38
+
  39
+
18 40
 ;; Capture templates
19 41
 (require 'org-capture)
20 42
 (global-set-key (kbd "C-M-r") 'org-capture)

0 notes on commit e96c134

Please sign in to comment.
Something went wrong with that request. Please try again.