diff options
author | http://smcv.pseudorandom.co.uk/ <smcv@web> | 2011-11-14 06:50:37 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2011-11-14 06:50:37 -0400 |
commit | 6f26e11bf061e37eab68c30f4c4c037625bd9c3f (patch) | |
tree | ea3c623a22a00ce8bedbee5e5e2b40ae3aa7a36b /doc/bugs/conditional_preprocess_during_scan.mdwn | |
parent | 17ddbd9cbfa869aef9c73ddd863ba0daed1a4dae (diff) | |
download | ikiwiki-6f26e11bf061e37eab68c30f4c4c037625bd9c3f.tar ikiwiki-6f26e11bf061e37eab68c30f4c4c037625bd9c3f.tar.gz |
summarize IRC discussion
Diffstat (limited to 'doc/bugs/conditional_preprocess_during_scan.mdwn')
-rw-r--r-- | doc/bugs/conditional_preprocess_during_scan.mdwn | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/doc/bugs/conditional_preprocess_during_scan.mdwn b/doc/bugs/conditional_preprocess_during_scan.mdwn index 254ebac22..23b9fd2cc 100644 --- a/doc/bugs/conditional_preprocess_during_scan.mdwn +++ b/doc/bugs/conditional_preprocess_during_scan.mdwn @@ -28,7 +28,27 @@ reprocessed is done so in the same conditions as the original call. >> upstream. >> For what it's worth, I think that my post_scan hook mechanism would work ->> rather fine with your trail plugin. However, the case of the if +>> rather fine with your trail plugin. + +>>> We discussed this on IRC, and I think it's actually more complicated +>>> than that: the branch to sort by newest inlined entry wants a +>>> "pagespecs now work" hook, whereas for trail I want a "sorting now +>>> works" hook: +>>> +>>> * scan +>>> * pagespecs now work (post-scan) +>>> * Giuseppe's version of inline can decide what each inline +>>> contains, and thus decide where they go in `inline(mtime)` +>>> order +>>> * pagespecs and sorting now work (pre-render) +>>> * my trail plugin can decide what each trail contains, and +>>> also sort them in the right order (which might be +>>> `inline(mtime)`, so might be undefined until pagespecs work) +>>> * render +>>> +>>> --[[smcv]] + +>> However, the case of the if >> directive is considerably more complicated, because the conditional >> can introduce a much stronger feedback effect in the pre/post scanning >> dependency. In fact, it's probably possible to build a couple of pages |