Emacs 使用ido重新填充组织,不使用ido作为完成引擎

Emacs 使用ido重新填充组织,不使用ido作为完成引擎,emacs,elisp,org-mode,ido,Emacs,Elisp,Org Mode,Ido,我正在尝试使用组织模式设置捕获/重新填充工作流,但我无法让ido作为完成引擎工作 我已启用ido: (require 'ido) (setq ido-everywhere t) (ido-mode t) 然后在稍后的配置中,我尝试使用org refile使用以下配置设置ido完成 (setq org-agenda-files '("~/org/captured.org" "~/org/work.org" "~/org/learning.org"

我正在尝试使用组织模式设置捕获/重新填充工作流,但我无法让ido作为完成引擎工作

我已启用ido:

(require 'ido)
(setq ido-everywhere t)
(ido-mode t)
然后在稍后的配置中,我尝试使用
org refile
使用以下配置设置ido完成

(setq org-agenda-files
      '("~/org/captured.org"
        "~/org/work.org"
        "~/org/learning.org"
        "~/org/life.org"))
(setq org-refile-targets '((nil :maxlevel . 6)
                           (org-agenda-files :maxlevel . 6)))
(setq org-refile-use-outline-path 'file)
(setq org-completion-use-ido t)
我希望通过这些设置,当我尝试调用
org refile
时,我会在minibuffer中看到一个ido完成界面,列出我可以重新引用的文件和标题,结构类似于目录树

然而,我看到的只是一个空白,就像非ido完成接口一样。我能够完成这个界面。例如,我可以键入
wo[Tab]em[Tab]
以获取
工作/电子邮件
,但我更喜欢ido


我的配置有什么问题吗?

经过进一步的探索,阅读了StackOverflow,我意识到问题出在哪里

我一直在试验变量
org outline path complete in steps
,并在某个时候将其设置为
t
。确保将此变量设置为
nil
允许ido按预期工作

感谢这个答案帮助我: