emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Lundin <mdl@imapmail.org>
To: emacs-orgmode@gnu.org
Subject: Ido and org-refile/org-goto question
Date: Sun, 18 Jan 2009 08:34:47 -0600	[thread overview]
Message-ID: <m2iqocadiw.fsf@fastmail.fm> (raw)


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

             reply	other threads:[~2009-01-18 14:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-18 14:34 Matthew Lundin [this message]
2009-01-31  5:30 ` Ido and org-refile/org-goto question Samuel Wales
2009-02-18  5:27   ` eric johnson
2009-02-18 12:38     ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2iqocadiw.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).