[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sole Completion bug?
From: |
Kyle Meyer |
Subject: |
Re: Sole Completion bug? |
Date: |
Sun, 14 Feb 2021 23:06:12 -0500 |
Raoul Comninos writes:
> (setq org-goto-interface (quote outline-path-completion))
>
> If I now search, for example, for a heading containing the name "Chris",
> orgmode will only pick up ONE of the headings that contains this name,
> and it will say "sole completion", although there are several other
> headings that also contain the name.
>
> For example:
>
> * Chris Bell
> * Phone Chris Bell
> * Meeting with Chris Bell
>
> I get /Chris Bell [Sole Completion]
Hmm, isn't this just following the built-in completing-read's behavior?
(completing-read
"Prompt: "
(list "Chris Bell"
"Phone Chris Bell"
"Meeting with Chris Bell"))
;; `C<tab>` => Chris Bell -> `<tab>` => Chris Bell [Sole completion]