From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joel Walker Subject: Re: org refile completion for won't use ido Date: Tue, 25 Apr 2017 17:34:04 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f403045f3f0af6e976054e01218f Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d34M0-0000kN-Q5 for emacs-orgmode@gnu.org; Tue, 25 Apr 2017 13:34:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d34Lw-00029h-RR for emacs-orgmode@gnu.org; Tue, 25 Apr 2017 13:34:20 -0400 Received: from mail-yw0-f179.google.com ([209.85.161.179]:35021) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d34Lw-00029I-Lp for emacs-orgmode@gnu.org; Tue, 25 Apr 2017 13:34:16 -0400 Received: by mail-yw0-f179.google.com with SMTP id u70so99289648ywe.2 for ; Tue, 25 Apr 2017 10:34:16 -0700 (PDT) Received: from mail-yb0-f169.google.com (mail-yb0-f169.google.com. [209.85.213.169]) by smtp.gmail.com with ESMTPSA id n23sm261516ywh.59.2017.04.25.10.34.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Apr 2017 10:34:15 -0700 (PDT) Received: by mail-yb0-f169.google.com with SMTP id 81so69880608ybp.0 for ; Tue, 25 Apr 2017 10:34:15 -0700 (PDT) In-Reply-To: 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 --f403045f3f0af6e976054e01218f Content-Type: text/plain; charset=UTF-8 Sorry for the noise, but I missed the note in the release about org-completion-use-id. Ignore - I'll look into adjusting my init for the the change. On Tue, Apr 25, 2017 at 12:17 PM Joel Walker wrote: > 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) > --f403045f3f0af6e976054e01218f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Sorry for the noise, but I missed the note in the release = about org-completion-use-id. Ignore - I'll look into adjusting my init = for the the change.

On Tue, Apr 25, 2017 at 12:17 PM Joel Walker <joel@trysomecode.com> wrote:
Whe= n using org-refile, I'm accustom to getting ido completion when selecti= ng 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 jus= t missing. I changed to org-mode release 8.3.6, things work as expected.

; Use full outline paths for refile targets - we file directly wit= h IDO
(setq org-refile-use-outline-path t)

; Targets complete dir= ectly with IDO
(setq org-outline-path-complete-in-steps nil)

; Al= low refile to create parent tasks with confirmation
(setq org-refile-all= ow-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 = 9;current-window)

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

(= setq org-refile-target-verify-function 'bh/verify-refile-target)
--f403045f3f0af6e976054e01218f--