<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Small Afae Update</title>
	<atom:link href="http://robrohan.com/2008/05/04/small-afae-update/feed/" rel="self" type="application/rss+xml" />
	<link>http://robrohan.com/2008/05/04/small-afae-update/</link>
	<description>技术任意</description>
	<lastBuildDate>Fri, 04 Dec 2009 04:36:16 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nick</title>
		<link>http://robrohan.com/2008/05/04/small-afae-update/comment-page-1/#comment-6472</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Sat, 16 Aug 2008 04:59:20 +0000</pubDate>
		<guid isPermaLink="false">http://robrohan.com/2008/05/04/small-afae-update/#comment-6472</guid>
		<description>&lt;p&gt;I might\&#039;ve posted this comment in the forums if my OpenID were actually sufficient to allow me to post on the Afae forums, but apparently forum registration is a big dea l...  Anyway, I have one request for Afae that would make it seemingly invaluable (to me anyway) as an editor (stolen blatantly from Textmate, I believe): if you were able to write programs to be used as snippets, so that any snippet/program you wrote just took the input text in as arguments and wrote the snippet output to stdout.&lt;/p&gt;

&lt;p&gt;If I defined a \&quot;Hello\&quot; snippet in python:&lt;/p&gt;

&lt;p&gt;import sys
for arg in sys.argv:
    print \&quot;Hello\&quot;, arg&lt;/p&gt;

&lt;p&gt;and when it was run, would prompt me for the arguments and insert the printed out text where I called the snippet.  This would allow very complex and dynamic snippets...  You\&#039;d really only need a single HTML attribute snippet then, just like in the Textmate demo video (I think that\&#039;s how it worked anyway).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I might\&#8217;ve posted this comment in the forums if my OpenID were actually sufficient to allow me to post on the Afae forums, but apparently forum registration is a big dea l&#8230;  Anyway, I have one request for Afae that would make it seemingly invaluable (to me anyway) as an editor (stolen blatantly from Textmate, I believe): if you were able to write programs to be used as snippets, so that any snippet/program you wrote just took the input text in as arguments and wrote the snippet output to stdout.</p>

<p>If I defined a \&#8221;Hello\&#8221; snippet in python:</p>

<p>import sys
for arg in sys.argv:
    print \&#8221;Hello\&#8221;, arg</p>

<p>and when it was run, would prompt me for the arguments and insert the printed out text where I called the snippet.  This would allow very complex and dynamic snippets&#8230;  You\&#8217;d really only need a single HTML attribute snippet then, just like in the Textmate demo video (I think that\&#8217;s how it worked anyway).</p>]]></content:encoded>
	</item>
</channel>
</rss>
