[ adding Org mailing list to CC ]

"Christopher M. Miles" <[email protected]> writes:

>> Yes, it would be nice. The question is how to implement it nicely.
>
> The `completing-read-multiple` function returns a list of strings.
> I checked the source code of `org-attach-attach` function.
> Replace the `org-attach-attach` function first argument FILE with FILES.
> Replace (interactive (list (read-file-name ...))) with (interactive (list 
> (completing-read-multiple ...)))
> The FILES argument should be a list of file strings, if single file, the list 
> will be single element.
> Then just wrap all `copy-directory`, `copy-file`, `rename-file` etc with 
> `dolist` loop.
> The prototype logic like upper. Is it a good solution?

Will it provide completion UI?

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to