Re: I should know this... finding INPUT-FILES

2020-01-24 Thread Phoebe Goldman
Thanks, all! I did the thing my dad suggested, and as far as I can tell everything is working now. All in all I have about half a page of code at https://github.com/gefjon/asdf-org-babel-tangle/blob/master/main.lisp which

Re: I should know this... finding INPUT-FILES

2020-01-24 Thread Robert Goldman
On 24 Jan 2020, at 15:30, Phoebe Goldman wrote: The impetus for this question is, I have subclassed cl-source-file with org-source-file and have defined tangle-op (as a subclass of both sideway-operation and upward-operation). my perform method is: (defmethod perform ((op tangle-op) (file

Re: I should know this... finding INPUT-FILES

2020-01-24 Thread Phoebe Goldman
The impetus for this question is, I have subclassed cl-source-file with org-source-file and have defined tangle-op (as a subclass of both sideway-operation and upward-operation). my perform method is: (defmethod perform ((op tangle-op) (file org-source-file)) (let* ((input-file (first

Re: I should know this... finding INPUT-FILES

2020-01-24 Thread Faré
1. output-translations is for output-files, not for input-files—except of course that input-files often will in turn call output-files on a previous operation that it depends on. 2. as to output-files, it is the outermost method that applies the output translations—when the second value is NIL;

I should know this... finding INPUT-FILES

2020-01-24 Thread Robert Goldman
I'm looking at the documentation for `INPUT-FILES` and `OUTPUT-FILES` and I see this: ``` (defgeneric output-files (operation component) (:documentation "Methods for this function return two values: a list of output files corresponding to this action, and a boolean indicating if they