From: http://www.cse.unsw.edu.au/~willu/ Date: Fri, 22 May 2009 04:43:45 +0000 (-0400) Subject: response X-Git-Tag: 3.13~5^2~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9b5bf6ff85d7e738317aa87b68581082d9542394;p=ikiwiki.git response --- diff --git a/doc/todo/tracking_bugs_with_dependencies.mdwn b/doc/todo/tracking_bugs_with_dependencies.mdwn index 8268e4026..84b2448a6 100644 --- a/doc/todo/tracking_bugs_with_dependencies.mdwn +++ b/doc/todo/tracking_bugs_with_dependencies.mdwn @@ -277,6 +277,19 @@ account all comments above (which doesn't mean it is above reproach :) ). --[[W >>> because the link target it is being asked to check for is a single >>> page name, not a glob. +>>>> A named pagespec should fall into the glob case. These two pagespecs should be the same: + + link(a*) + +>>>> and + + define(aStar, a*) and link(aStar) + +>>>> In the first case, we want the pagespec to match any page that links to a page matching the glob. +>>>> In the second case, we want the pagespec to match any page that links to a page matching the named spec. +>>>> match_link() was already doing existential part. The patches to this code were simply to remove the `lc()` +>>>> call from the named pagespec name. Can that `lc` be removed entirely? -- [[Will]] + > * Generally, the need to modify `match_*` functions so that they > check for and handle named pagespecs seems suboptimal, if > only because there might be others people may want to use named