From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Ido and org-refile/org-goto question Date: Sun, 18 Jan 2009 08:34:47 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LOYjp-0004cW-CT for emacs-orgmode@gnu.org; Sun, 18 Jan 2009 09:34:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LOYjo-0004cI-LX for emacs-orgmode@gnu.org; Sun, 18 Jan 2009 09:34:56 -0500 Received: from [199.232.76.173] (port=56477 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOYjo-0004cF-FW for emacs-orgmode@gnu.org; Sun, 18 Jan 2009 09:34:56 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:53450) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LOYjo-0004kK-74 for emacs-orgmode@gnu.org; Sun, 18 Jan 2009 09:34:56 -0500 Received: from Macintosh-5.local (pool-96-248-128-134.sbndin.dsl-w.verizon.net [96.248.128.134]) by mail.messagingengine.com (Postfix) with ESMTPSA id B17E82C4BA for ; Sun, 18 Jan 2009 09:34:50 -0500 (EST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi everyone, I'm trying to set up ido for completion with org-refile and org-goto. My question is whether I should expect TAB to work with ido within org. Normally when switching buffers with ido, when I press TAB, (1) the minibuffer drills down to the matching options (based on what I've typed so far) and (2) a temporary window shows me the remaining options and then (on a second press of tab) all available options. Similarly, when I use org-refile or org-goto without ido, pressing tab gives me a view of all available options for completion. But when ido is enabled in org, I get the following error when press tab (obviously, the content of the error changes with the context). ,---- | ido-file-lessp: Wrong type argument: arrayp, (#("Emacs/Releases/" 0 5 | (face org-level-1 org-category "computer" fontified t) 5 6 nil 6 14 | (face org-level-2 org-category "computer" fontified t) 14 15 nil) | "/Users/matt/mystuff/org/computer.org" "^\\*\\* Releases[ ]*$" 90233) `---- My relevant settings are as follows: --8<---------------cut here---------------start------------->8--- (require 'ido) (ido-mode 1) (ido-everywhere 1) (setq ido-confirm-unique-completion t) (setq ido-enable-flex-matching t) (setq ido-use-filename-at-point t) (setq org-refile-use-outline-path nil) (setq org-refile-targets '((org-agenda-files :maxlevel . 2))) (setq org-goto-interface 'outline-path-completion) (setq org-completion-use-ido t) (setq org-outline-path-complete-in-steps nil) --8<---------------cut here---------------end--------------->8--- Any advice would be greatly appreciated. Best, Matt