Hello Nicolas,

Nicolas Goaziou <m...@nicolasgoaziou.fr> writes:

Compiling your patch generates the following warnings.

    org.el:11417:1:Warning: Unused lexical variable ‘parent’
    org.el:11417:1:Warning: Unused lexical variable ‘child’
org.el:11417:1:Warning: Unused lexical variable ‘parent-target’

Good catch, thanks. I forgot to remove these let-bindings when factoring the respective ‘org-refile’ branch into a separate function. I amended the commit correspondingly.

Also, I couldn't test it because completing asks for a mandatory match among candidates. Such a match is not possible if you need to create
a path out of the blue. Am I missing something?

Do you have ‘org-refile-allow-creating-parent-nodes’ set to an appropriate value? When non-nil, ‘org-refile’ should invoke the completing read function without requiring a full match.

Kind regards,

SR

--
Insane cobra split the wood
Trader of the lowland breed
Call a jittney, drive away
In the slipstream we will stay

Reply via email to