X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/89b2c0cbcc6d6f3d5b114d0a3f349fb591306db3..e7ce747313f513bedacb4db342befb29ee45bb83:/doc/todo/pagespec_expansions.mdwn diff --git a/doc/todo/pagespec_expansions.mdwn b/doc/todo/pagespec_expansions.mdwn index 9915d8b3b..8f2363368 100644 --- a/doc/todo/pagespec_expansions.mdwn +++ b/doc/todo/pagespec_expansions.mdwn @@ -48,6 +48,12 @@ I can see why it might not be much of an improvement. :) --Ethan >>> Ah.. in that case, why not use "a/b/* and !a/b/*/*" ? No need for a new >>> symbol. --[[Joey]] +>>>> I know it's not necessary, but it would be helpful. --Ethan + +>>>>> I don't see the need for a new syntax since it's only a little long +>>>>> using the old one. And of course even that can now be shortened: +>>>>> "./* and !./*/*" --[[Joey]] + OK, I took a shot at implementing the changes. I was thinking about making pagespecs relative by default but I couldn't decide whether page `foo/bar` inlining `*` should match `foo/bar/*` or `foo/*`. @@ -114,7 +120,14 @@ and you can see it work at >>> of deeply nested subdirs. >>> --[[Joey]] +>>>> Context-dependence was my conclusion too. My feeling is that inlining +>>>> in a subdirectory of the current page is more common, but I don't +>>>> really know. However, I think the changes as written should work OK +>>>> with my index patch and allowing inlining from a/b/c/, so I'm +>>>> satisfied. --Ethan + > I've committed support for ./ to ikiwiki now, based on your patch. +> [[todo/done]] > --[[Joey]] >> Cool! I haven't played with it yet, but looking over the patch, I see that