From: Oleh Krehel <ohwoeowho@gmail.com>
To: Rasmus <rasmus@gmx.us>
Cc: emacs-orgmode@gnu.org
Subject: Re: Could org-mode use `completing-read-function' instead of `org-icompleting-read'?
Date: Thu, 16 Apr 2015 17:30:44 +0200 [thread overview]
Message-ID: <CAA01p3r=347vt8-ZZ26VSYGCFE=K4A9zfH7R3yLEPjoGu8WVVg@mail.gmail.com> (raw)
In-Reply-To: <87egnkt7yv.fsf@gmx.us>
On Thu, Apr 16, 2015 at 5:21 PM, Rasmus <rasmus@gmx.us> wrote:
> Hi Oleh,
>
> Oleh Krehel <ohwoeowho@gmail.com> writes:
>
>>>> I was just trying to customize the completion back end for refiling
>>>> (ido isn't
>>>> great for that, even with the ido-vertical upgrade). And it's not
>>>> at all easy,
>>>> since ido seems to be hard-wired into org-mode's completion. Could we just
>>>> change to use `completing-read-function' instead of `org-icompleting-read'?
>>>
>>> I think it's nicer to use existing features/variables, but comparability
>>> is also an issue.
>>
>> Alright, I've made so that if `completing-read-function' is
>> `completing-read-default', nothing changes. But when it's set, it
>> used. So now, e.g. `helm-mode' or `ivy-mode' will automatically work.
>
> The change is no good IMO. For the fix to work one needs to set
> org-completion-use-ido. If this is non-nil it would be weird if ido is
> not used.
>
> I don't know how to use helm of ivy. But I think the attached patch is
> better. Would that work with helm and ivy?
I could live with it, but basically `org-completion-use-ido` says "I
don't care if you've temporarily disabled `ido-mode' or not, I'll use
ido anyway". This isn't a good approach, especially considering that
`ido-mode' is already a convenient minor mode.
Maybe `org-completion-use-ido' should be completely removed, and ido completion
should be used automatically when `ido-mode' is on.
Oleh
next prev parent reply other threads:[~2015-04-16 15:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-16 13:36 Could org-mode use `completing-read-function' instead of `org-icompleting-read'? Oleh Krehel
2015-04-16 14:10 ` Rasmus
2015-04-16 14:31 ` Oleh Krehel
2015-04-16 15:21 ` Rasmus
2015-04-16 15:30 ` Oleh Krehel [this message]
2015-04-16 15:35 ` Oleh Krehel
2015-04-16 17:45 ` Marcin Borkowski
2015-04-16 18:02 ` Oleh Krehel
2015-04-16 18:05 ` Rasmus
2015-04-16 22:25 ` Marcin Borkowski
2015-04-16 15:47 ` Rasmus
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='CAA01p3r=347vt8-ZZ26VSYGCFE=K4A9zfH7R3yLEPjoGu8WVVg@mail.gmail.com' \
--to=ohwoeowho@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=rasmus@gmx.us \
/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.