summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKyle Meyer <meyerkya@gmail.com>2013-07-16 01:22:34 -0400
committerKyle Meyer <meyerkya@gmail.com>2013-07-17 00:19:15 -0400
commite36b53dc64eddfdbd9079eae5bae3aa444e8af29 (patch)
tree82d3e5755d09f2b66a33386dae0a34999b368c22 /init
parent97777c3deaf0ef52e2767db85ee6836521e7bc56 (diff)
downloademacs.d-e36b53dc64eddfdbd9079eae5bae3aa444e8af29.tar.gz
clean up org-mode/ido refiling settings
some ido settings were repeated and not org-specific
Diffstat (limited to 'init')
-rw-r--r--init/km-ido.el2
-rw-r--r--init/km-org.el17
2 files changed, 6 insertions, 13 deletions
diff --git a/init/km-ido.el b/init/km-ido.el
index d06163c..7f31ed2 100644
--- a/init/km-ido.el
+++ b/init/km-ido.el
@@ -7,6 +7,8 @@
ido-max-prospects 10
ido-save-directory-list-file "~/.emacs.d/cache/ido.hist")
+(setq ido-max-directory-size 100000)
+
;; recent files
(setq recentf-save-file "~/.emacs.d/cache/recentf"
recentf-max-saved-items 200
diff --git a/init/km-org.el b/init/km-org.el
index fdb9a14..62749a6 100644
--- a/init/km-org.el
+++ b/init/km-org.el
@@ -77,26 +77,17 @@
(setq org-cycle-separator-lines 1)
+
+;;;; Refile settings
+
;; from http://doc.norang.ca/org-mode.html
(setq org-refile-targets (quote ((nil :maxlevel . 3)
(km/org-refiling-targets :maxlevel . 2))))
-;; Stop using paths for refile targets - we file directly with IDO
-(setq org-refile-use-outline-path nil)
-
-;; Targets complete directly with IDO
+;; use IDO for refiling
(setq org-outline-path-complete-in-steps nil)
-
-;; Allow refile to create parent tasks with confirmation
-(setq org-refile-allow-creating-parent-nodes (quote confirm))
-
-;; Use IDO for both buffer and file completion and ido-everywhere to t
(setq org-completion-use-ido t)
-(setq ido-everywhere t)
-(setq ido-max-directory-size 100000)
-(ido-mode (quote both))
-;;;; Refile settings
;; Exclude DONE state tasks from refile targets
(defun km/verify-refile-target ()
"Exclude todo keywords with a done state from refile targets"