Re: Leading/trailing newlines [postscript about plugins]

Alex Robinson <[email protected]> Sun, 23 Sep 2007 14:39:16 +0100
Newsgroups gmane.comp.web.mason.devel
Message-ID <p06230903c31c1a9208bb@[192.168.6.105]>
(Sorry - this should really have been a postscript to my previous 
message, but I forgot)

I'm guessing that there's some big reason that I'm not understanding 
behind the decision to assign \$filter_buffer or $top_buffer to 
$stack_buffer.

But in the absence of there not being one, if $filter_buffer was used 
in all cases, this would open the way for the component output to be 
passed to the plugins that run at the end of the component's 
execution. Since the follwoing would no longer be an obstacle:

"It would be desirable for this hook to have access to the 
component's output as well as its return value, but this is currently 
impossible because output from multiple components combine into a 
single buffer"
http://www.masonhq.com/docs/manual/Plugin.html


Of course, this leaves me feeling that I am missing something. But if 
you don't ask...

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/