Björn Kettunen <[email protected]> writes:

>> Then, you can additionally introduce something like
>> (file-with-archives "file1" "file2" ...). If you want to implement such
>> feature, it is probably best to combine this patch and the extra addition.
>
> Thats's a good I think I have a patch.
> How is the multifile parameter supposed be handled in such an instance?
> I made it so that in case the parameter was consp that it uses the
> multifile parameter.

That makes sense.

> Ideally I would like that similar to single file-with-archices that
> archive and the their files are shown as one file.
> But not sure how to do that.

That's possible to do by combining the results coming from file and its
archives together.

> With the current patch now the archive handling is moved to be done
> after the files have been expanded so it's just called once for all
> cases.
> The side effect is that if a user uses a function it can now also return
> the scope and let org-mode expand the returned scope if it isn't already
> expanded.

This should be documented.

> * doc/org-manual.org: Document.
> * etc/ORG-NEWS: Announce

You need to document the extra features you added.

> -                 ((or `nil `file `subtree `tree
> +                 ((or `nil `file `subtree `tree `file-with-archives
>                        (and (pred symbolp)
> +                              (pred (not symbolp))

What is the purpose of this? It will always evaluate to nil.

-- 
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