had a crack at this tonight
authorhttp://jmtd.livejournal.com/ <http://jmtd.livejournal.com/@web>
Fri, 23 Oct 2009 23:15:23 +0000 (19:15 -0400)
committerJoey Hess <joey@kitenet.net>
Fri, 23 Oct 2009 23:15:23 +0000 (19:15 -0400)
doc/todo/allow_site-wide_meta_definitions.mdwn

index 70ccc2b682d207bea9c316236ca9a6aef48244e4..57bc7a6fdda09f2e56510b6cf992e88253d6989b 100644 (file)
@@ -72,3 +72,13 @@ my github ikiwiki fork):
 > by the fact that some (but not all!) meta headers are idempotent.
 > 
 > --[[smcv]]
 > by the fact that some (but not all!) meta headers are idempotent.
 > 
 > --[[smcv]]
+
+>> Thanks for your comment. Tonight I had a go at implementing the syntax
+>> you propose here. I decided the simplest thing to do might be for the scan
+>> subroutine to convert any hashes found in the meta_defaults list into calls
+>> to the preprocess routine. I've got a bit stuck trying to convert a hash to
+>> a named parameter list (or just a subroutine parameter list that is). I may
+>> try to look again in the morning (brain a bit sleepy)
+>>
+>> ...and on writing this comment I see your second suggestion was essentially
+>> to do exactly that :) -- [[Jon]]