Add support for include files
Closed this issue · 3 comments
bdarcus commented
Hi,
thanks, I will try it... about the multi-document.
Yes, e.g. I have a main dockument and the chapters in a subfolder
And within the text directory one could have something like:
So, no I would not say that all open org files is the best approach (usually I have plenty of org files open, which are not relevant for the document).
There could be a few other options:
- one needs to define a
main
-org-file (which would be the one with the includes above), but I am not sure if the includes are recognized. - The kind of (recursive) grepping takes place in all org-files in the current directory of the current file (this would work with the setup above).
- one defines a directory where the kind of grepping taks place
Thank you very much!
Originally posted by @fab6 in #3 (comment)
bdarcus commented
Seems, @fab6, the best approach would just be to open the include files in temp buffers, and parse their targets?
fab6 commented
not exactly sure, what a temp buffer is, but this is a certain minor mode and one would parse all of these, then it sounds quite practical
bdarcus commented
It just means it would open the files and parse them without the user being
aware. A temp buffer is effectively a hidden buffer.