From e36b53dc64eddfdbd9079eae5bae3aa444e8af29 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 16 Jul 2013 01:22:34 -0400 Subject: clean up org-mode/ido refiling settings some ido settings were repeated and not org-specific --- init/km-ido.el | 2 ++ init/km-org.el | 17 ++++------------- 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" -- cgit v1.2.3