From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joel Walker Subject: org refile completion for won't use ido Date: Tue, 25 Apr 2017 17:17:11 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114fd3d693f097054e00e583 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d345h-0001ka-7h for emacs-orgmode@gnu.org; Tue, 25 Apr 2017 13:17:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d345c-0003WQ-91 for emacs-orgmode@gnu.org; Tue, 25 Apr 2017 13:17:29 -0400 Received: from mail-yw0-f177.google.com ([209.85.161.177]:34460) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d345c-0003VJ-44 for emacs-orgmode@gnu.org; Tue, 25 Apr 2017 13:17:24 -0400 Received: by mail-yw0-f177.google.com with SMTP id k11so52317153ywb.1 for ; Tue, 25 Apr 2017 10:17:23 -0700 (PDT) Received: from mail-yw0-f182.google.com (mail-yw0-f182.google.com. [209.85.161.182]) by smtp.gmail.com with ESMTPSA id e190sm8815926ywd.33.2017.04.25.10.17.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Apr 2017 10:17:22 -0700 (PDT) Received: by mail-yw0-f182.google.com with SMTP id k11so52316912ywb.1 for ; Tue, 25 Apr 2017 10:17:22 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --001a114fd3d693f097054e00e583 Content-Type: text/plain; charset=UTF-8 When using org-refile, I'm accustom to getting ido completion when selecting a target due to the customizations in my init below. In org-mode release 9.0.5, the minibuffer won't ido for an org-refile. Ido works otherwise. There isn't an error, and refiling still works; ido completion is just missing. I changed to org-mode release 8.3.6, things work as expected. ; Use full outline paths for refile targets - we file directly with IDO (setq org-refile-use-outline-path t) ; Targets complete directly with IDO (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)) ; Use the current window when visiting files and buffers with ido (setq ido-default-file-method 'selected-window) (setq ido-default-buffer-method 'selected-window) ; Use the current window for indirect buffer display (setq org-indirect-buffer-display 'current-window) ;;;; Refile settings ; Exclude DONE state tasks from refile targets (defun bh/verify-refile-target () "Exclude todo keywords with a done state from refile targets" (not (member (nth 2 (org-heading-components)) org-done-keywords))) (setq org-refile-target-verify-function 'bh/verify-refile-target) --001a114fd3d693f097054e00e583 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
When using org-refil= e, I'm accustom to getting ido completion when selecting a target due t= o the customizations in my init below. In org-mode release 9.0.5, the minib= uffer won't ido for an org-refile. Ido works otherwise. There isn't= an error, and refiling still works; ido completion is just missing. I chan= ged to org-mode release 8.3.6, things work as expected.


; Use fu= ll outline paths for refile targets - we file directly with IDO
(setq or= g-refile-use-outline-path t)

; Targets complete directly with IDO(setq org-outline-path-complete-in-steps nil)

; Allow refile to cre= ate parent tasks with confirmation
(setq org-refile-allow-creating-paren= t-nodes (quote confirm))

; Use IDO for both buffer and file completi= on and ido-everywhere to t
(setq org-completion-use-ido t)
(setq ido-= everywhere t)
(setq ido-max-directory-size 100000)
(ido-mode (quote b= oth))
; Use the current window when visiting files and buffers with ido<= br>(setq ido-default-file-method 'selected-window)
(setq ido-default= -buffer-method 'selected-window)
; Use the current window for indire= ct buffer display
(setq org-indirect-buffer-display 'current-window)=

;;;; Refile settings
; Exclude DONE state tasks from refile targ= ets
(defun bh/verify-refile-target ()
=C2=A0 "Exclude todo keywo= rds with a done state from refile targets"
=C2=A0 (not (member (nth= 2 (org-heading-components)) org-done-keywords)))

(setq org-refile-t= arget-verify-function 'bh/verify-refile-target)
--001a114fd3d693f097054e00e583--