[pmwiki-users] Keep() function documented

Joachim Durchholz jo at durchholz.org
Tue Jul 5 14:55:47 CDT 2005


Patrick R. Michaud wrote:

> On Tue, Jul 05, 2005 at 09:15:25PM +0200, Joachim Durchholz wrote:
> 
>> Patrick R. Michaud wrote:
>> 
>>> The only comment I have is that the docs might imply that the
>>> default '' pool is the only pool restored after processing markup
>>> rules, when in fact all pools are restored then.
>> 
>> Won't the 'L' pool be restored twice then? Not that I'm sure
>> whether that would be a bug or a feature...
> 
> Well, no, because once the 'L'-pool is restored, the output no longer
> contains any 'L'-pool keep tokens that could be restored a "second"
> time.

Um, what if one of the texts restored back into the output contains
an L-pool token?

> Perhaps a better way to phrase what I wrote above is to say that 
> after processing markup rules, all remaining Keep() items in the
> output are restored regardless of the pool they were in.

Exactly my thinking, I just wanted to get my understanding up to par 
before correcting the docs :-)

Regards,
Jo



More information about the pmwiki-users mailing list