all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bug? org-set-tags never uses ido
@ 2013-10-31 16:39 Anders Johansson
  2013-11-01  1:33 ` Eric Abrahamsen
  2014-03-05  0:20 ` Samuel Wales
  0 siblings, 2 replies; 8+ messages in thread
From: Anders Johansson @ 2013-10-31 16:39 UTC (permalink / raw)
  To: emacs-orgmode

Greetings,
I want to use ido everywhere and wanted to know why this doesn't seem to 
work for setting org-mode tags (it never has for me).

Using edebug to step through the call to org-icompleting-read which 
org-set-tags does I can see that it never gets to using ido since the 
last condition below is false:
org.el:10147-10150 (package repository version 20131028):
    (if (and org-completion-use-ido
         (fboundp 'ido-completing-read)
         (boundp 'ido-mode) ido-mode
         (listp (second args)))

This is not strange, since org-icompleting-read is called like this in 
org-set-tags:

org.el:14519-14521
                (org-icompleting-read "Tags: "
                          'org-tags-completion-function
                          nil nil current 'org-tags-history))))))

ido apparently needs a list of possible completions, not a single symbol.

I don't understand much more of this really.
Is it a bug? Have I misunderstood something?

Greetings,
Anders Johansson

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-04-02 17:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-31 16:39 Bug? org-set-tags never uses ido Anders Johansson
2013-11-01  1:33 ` Eric Abrahamsen
2014-03-04 22:22   ` Anders Johansson
2014-03-05  0:20 ` Samuel Wales
2014-03-05  0:31   ` Anders Johansson
2014-03-05  0:47     ` Samuel Wales
2014-03-05  1:49       ` Eric Abrahamsen
2014-04-02 17:37       ` Anders Johansson

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.