Hello, Sebastian Reuße <s...@wirrsal.net> writes:
> * org.el (org--refile-new-path): Add. > (org-refile): Use it. > (org-refile-new-child): Make new nodes more compact. > > * test-org.el (test-org/org-refile): Add test. > > While ‘org-refile’ currently supports creating new headlines when > refiling, only one single headline can be created this way. For > convenience, we now generalize this use-case to support creating > arbitrary headline paths on the fly. 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’ 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? Regards, -- Nicolas Goaziou