From: Kyle Meyer <kyle@kyleam.com>
To: Nathaniel Flath <flat0103@gmail.com>,
org-mode List <emacs-orgmode@gnu.org>
Subject: Re: [PATCH] org-agenda tag completion works with ido
Date: Thu, 13 Jul 2017 00:35:57 -0400 [thread overview]
Message-ID: <87bmopdkcy.fsf@kyleam.com> (raw)
In-Reply-To: <CAPrg3HBYSkjj7ev_YR0kciOWhSaF+Ui85tXH4GVtWo1-Frs1rQ@mail.gmail.com>
Nathaniel Flath <flat0103@gmail.com> writes:
> After upgrading to the latest org-mode, tag completion when filtering
> in the agenda was broken - I had to fully enter the tag, despite using
> ido (eg I would have a tag 'home', and 'ho-enter' would not compete).
[...]
> * org-agenda.el (org-agenda-filter-by-tag):
> (org-agenda-filter-by-tag): pass t to require-match argument of completing-read.
^ repeated function name
> This causes ido-mode to complete tags properly when inputting partial matches, rather
> that just sending the typed input.
Wouldn't this mean that, in general, ido won't complete partial matches
properly when require-match is nil? That doesn't sound right.
I'm not an ido user, but testing with
(require 'ido-ubiquitous)
(ido-ubiquitous-mode 1)
partial completion seems to work fine when I hit tab after calling
org-agenda-filter-by-tag. Are you using ido-ubiquitous, or are you
using some other package to get ido completion for non-file/buffer
completion?
In this particular case, your change looks OK because I think all useful
values should be in the collection. But I don't understand why you're
not able to do partial completion without this change. Are you running
into the same issue everywhere else that completing-read is called with
a nil value for require-match?
--
Kyle
next prev parent reply other threads:[~2017-07-13 4:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-13 0:23 [PATCH] org-agenda tag completion works with ido Nathaniel Flath
2017-07-13 4:35 ` Kyle Meyer [this message]
2017-07-13 17:07 ` Nathaniel Flath
2017-07-13 18:02 ` Kyle Meyer
2017-07-13 18:14 ` Kyle Meyer
2017-07-13 18:19 ` Nathaniel Flath
2017-07-13 19:03 ` Nathaniel Flath
2017-07-13 19:19 ` Kyle Meyer
2017-07-13 19:52 ` Nathaniel Flath
2017-07-13 20:31 ` Kyle Meyer
2017-07-16 16:42 ` Nathaniel Flath
2017-07-16 21:03 ` Kyle Meyer
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bmopdkcy.fsf@kyleam.com \
--to=kyle@kyleam.com \
--cc=emacs-orgmode@gnu.org \
--cc=flat0103@gmail.com \
/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 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.