Description org-refile does not work.
使用org-refile时
出现下面的信息
Getting targets…done
Copied: Subtree(s) with 22 characters
org-copy-subtree: Invalid function: org-preserve-local-variables
Expected behaviour:
refile could be used
System Info
- OS: darwin
- Emacs: 25.3.1
- Spacemacs: 0.200.13
- Spacemacs branch: master (rev. c7a103a)
- Graphic display: t
- Distribution: spacemacs
- Editing style: vim
- Completion: helm
- Layers: ‘‘‘elisp (markdown (ibuffer :variables ibuffer-group-buffers-by ’projects) (chinese :variables chinese-enable-youdao-dict t) auto-completion emacs-lisp (python :variables python-sort-imports-on-save t python-enable-yapf-format-on-save t) django org syntax-checking) ‘‘‘
my org config:
(with-eval-after-load 'org
(setq org-agenda-files '("~/org/gtd/inbox.org"
"~/org/gtd/gtd.org"
"~/org/gtd/tickler.org"))
(setq org-capture-templates '(("t" "Todo [inbox]" entry
(file+headline "~/org/gtd/inbox.org" "Tasks")
"* TODO %i%?")
("T" "Tickler" entry
(file+headline "~/org/gtd/tickler.org" "Tickler")
"* %i%? \n %U")))
(setq org-refile-targets
'((nil :maxlevel . 3)
(org-agenda-files :maxlevel . 3)))
(setq org-refile-use-outline-path 'file)
(setq org-outline-path-complete-in-steps nil)
(setq org-todo-keywords '((sequence "TODO(t)" "WAITING(w)" "|" "DONE(d)" "CANCELLED(c)")))