<?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"
	>
<channel>
	<title>Comments on: Demystifying Mail.app Plugins for Leopard</title>
	<atom:link href="http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/</link>
	<description>Musings of a grad student</description>
	<pubDate>Thu, 21 Aug 2008 20:00:54 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: RobertG</title>
		<link>http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/#comment-1775</link>
		<dc:creator>RobertG</dc:creator>
		<pubDate>Sun, 03 Aug 2008 11:17:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/#comment-1775</guid>
		<description>I need a plug-in to manipulate attachments sort of like Eudora did.  Example - automatically copy or extract to an external directory.  I would prefer this to be an extension of the rule/filter set so I might not have to do it on all mails.  I would pay for such an extension but obviously not hundreds if I was the only user.  I can't image it wouldn't be very valuable to other previous Eudora switchers.  Any ideas guys?  Email to privateman at mac (dot) com
Thanks

[&lt;i&gt;Update:&lt;/i&gt; Edited to obfuscate email address from spammers. -jre]</description>
		<content:encoded><![CDATA[<p>I need a plug-in to manipulate attachments sort of like Eudora did.  Example - automatically copy or extract to an external directory.  I would prefer this to be an extension of the rule/filter set so I might not have to do it on all mails.  I would pay for such an extension but obviously not hundreds if I was the only user.  I can&#8217;t image it wouldn&#8217;t be very valuable to other previous Eudora switchers.  Any ideas guys?  Email to privateman at mac (dot) com<br />
Thanks</p>
<p>[<i>Update:</i> Edited to obfuscate email address from spammers. -jre]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Bell</title>
		<link>http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/#comment-1729</link>
		<dc:creator>Andy Bell</dc:creator>
		<pubDate>Wed, 16 Jul 2008 08:44:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/#comment-1729</guid>
		<description>Great article, just what I was looking for.  

I do have a question, do you know where in the long class dump I will be able to catch when a new mail is delivered and then find out which folder it was sent to?

Thanks
Andy</description>
		<content:encoded><![CDATA[<p>Great article, just what I was looking for.  </p>
<p>I do have a question, do you know where in the long class dump I will be able to catch when a new mail is delivered and then find out which folder it was sent to?</p>
<p>Thanks<br />
Andy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/#comment-1547</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 03 Jun 2008 22:01:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/#comment-1547</guid>
		<description>James,
People around here print their emails a lot, and we share very busy printers.  We are finally switching everyone to Mail--from Eudora.  Eudora put a single-line header with recipient(s) name, received timestamp, subject and page number at the top of each page.  Users are getting cranky about having to dig through the printer output to find the emails they have printed.

Before I dive in to writing a Mail plugin to do this, do you see any gotchas?   In other words, please stop me before I spend a lot of time on something that is impossible.  And I know I should just tell them to stop printing things, but I kinda want to try to write a plugin.

Thanks,
John</description>
		<content:encoded><![CDATA[<p>James,<br />
People around here print their emails a lot, and we share very busy printers.  We are finally switching everyone to Mail&#8211;from Eudora.  Eudora put a single-line header with recipient(s) name, received timestamp, subject and page number at the top of each page.  Users are getting cranky about having to dig through the printer output to find the emails they have printed.</p>
<p>Before I dive in to writing a Mail plugin to do this, do you see any gotchas?   In other words, please stop me before I spend a lot of time on something that is impossible.  And I know I should just tell them to stop printing things, but I kinda want to try to write a plugin.</p>
<p>Thanks,<br />
John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fdiv.net &#187; Apple Mail Hack: Move Message To Sent Folder</title>
		<link>http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/#comment-1476</link>
		<dc:creator>fdiv.net &#187; Apple Mail Hack: Move Message To Sent Folder</dc:creator>
		<pubDate>Sun, 20 Apr 2008 14:46:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/#comment-1476</guid>
		<description>[...] armed with James Eagan&#8217;s article on writing mailbundles I wrote a hack which adds a menu item, complete with keyboard shortcut, allowing the user to easily [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] armed with James Eagan&#8217;s article on writing mailbundles I wrote a hack which adds a menu item, complete with keyboard shortcut, allowing the user to easily [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ndtreviv</title>
		<link>http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/#comment-1442</link>
		<dc:creator>ndtreviv</dc:creator>
		<pubDate>Thu, 27 Mar 2008 12:14:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/#comment-1442</guid>
		<description>I'm a Java programmer and this actually makes writing an Objective-C plugin feasible!

The only thing is...can you add some instructions for doing it in XCode? That would make this the ultimate Apple Plugin tutorial for me :)</description>
		<content:encoded><![CDATA[<p>I&#8217;m a Java programmer and this actually makes writing an Objective-C plugin feasible!</p>
<p>The only thing is&#8230;can you add some instructions for doing it in XCode? That would make this the ultimate Apple Plugin tutorial for me <img src='http://www.bazza.com/~eaganj/weblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/#comment-1441</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Thu, 27 Mar 2008 06:50:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/#comment-1441</guid>
		<description>When I omit the "-A" compiling does not work.

With your example source files, I get the following 
error messages:

running py2app
*** filtering dependencies ***
365 total
361 filtered
1 orphaned
4 remaining
*** create binaries ***
*** byte compile python files ***
skipping byte-compilation of /Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/bootstrap/boot_plugin.py to boot_plugin.pyc
skipping byte-compilation of /Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/bootstrap/disable_linecache.py to disable_linecache.pyc
Traceback (most recent call last):
  File "/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/build_app.py", line 548, in _run
    self.run_normal()
  File "/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/build_app.py", line 619, in run_normal
    self.create_binaries(py_files, pkgdirs, extensions, loader_files)
  File "/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/build_app.py", line 683, in create_binaries
    dry_run=self.dry_run)
  File "/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/util.py", line 204, in byte_compile
    if force or newer(mod.filename, cfile):
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dep_util.py", line 22, in newer
    raise DistutilsFileError, "file '%s' does not exist" % source
DistutilsFileError: file '/Library/Python/2.5/site-packages/setuptools-0.6c7-py2.5.egg/pkg_resources.pyc' does not exist
&#62; /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dep_util.py(22)newer()
-&#62; raise DistutilsFileError, "file '%s' does not exist" % source
(Pdb)</description>
		<content:encoded><![CDATA[<p>When I omit the &#8220;-A&#8221; compiling does not work.</p>
<p>With your example source files, I get the following<br />
error messages:</p>
<p>running py2app<br />
*** filtering dependencies ***<br />
365 total<br />
361 filtered<br />
1 orphaned<br />
4 remaining<br />
*** create binaries ***<br />
*** byte compile python files ***<br />
skipping byte-compilation of /Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/bootstrap/boot_plugin.py to boot_plugin.pyc<br />
skipping byte-compilation of /Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/bootstrap/disable_linecache.py to disable_linecache.pyc<br />
Traceback (most recent call last):<br />
  File &#8220;/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/build_app.py&#8221;, line 548, in _run<br />
    self.run_normal()<br />
  File &#8220;/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/build_app.py&#8221;, line 619, in run_normal<br />
    self.create_binaries(py_files, pkgdirs, extensions, loader_files)<br />
  File &#8220;/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/build_app.py&#8221;, line 683, in create_binaries<br />
    dry_run=self.dry_run)<br />
  File &#8220;/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/util.py&#8221;, line 204, in byte_compile<br />
    if force or newer(mod.filename, cfile):<br />
  File &#8220;/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dep_util.py&#8221;, line 22, in newer<br />
    raise DistutilsFileError, &#8220;file &#8216;%s&#8217; does not exist&#8221; % source<br />
DistutilsFileError: file &#8216;/Library/Python/2.5/site-packages/setuptools-0.6c7-py2.5.egg/pkg_resources.pyc&#8217; does not exist<br />
&gt; /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dep_util.py(22)newer()<br />
-&gt; raise DistutilsFileError, &#8220;file &#8216;%s&#8217; does not exist&#8221; % source<br />
(Pdb)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Eagan</title>
		<link>http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/#comment-1437</link>
		<dc:creator>James Eagan</dc:creator>
		<pubDate>Wed, 26 Mar 2008 22:58:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/#comment-1437</guid>
		<description>@Max:  I wasn't sufficiently clear about the -A option to py2app.  It should continue to work if you move the bundle on the same machine (that's how I use it), but it should never be used on other machines.  For that, just omit the -A to build a standalone copy that embeds the python interpreter and all necessary libraries.</description>
		<content:encoded><![CDATA[<p>@Max:  I wasn&#8217;t sufficiently clear about the -A option to py2app.  It should continue to work if you move the bundle on the same machine (that&#8217;s how I use it), but it should never be used on other machines.  For that, just omit the -A to build a standalone copy that embeds the python interpreter and all necessary libraries.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Eagan</title>
		<link>http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/#comment-1436</link>
		<dc:creator>James Eagan</dc:creator>
		<pubDate>Wed, 26 Mar 2008 22:56:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/#comment-1436</guid>
		<description>@Peter:  Ah, you're right.  You could use a category to replace a method of an existing class, but that doesn't help use here, since we want to be able to call its supermethod.  Thus, it looks like this approach will no longer work under 64-bit machines.  I'll have to see what other options I can find for this use-case under such systems.</description>
		<content:encoded><![CDATA[<p>@Peter:  Ah, you&#8217;re right.  You could use a category to replace a method of an existing class, but that doesn&#8217;t help use here, since we want to be able to call its supermethod.  Thus, it looks like this approach will no longer work under 64-bit machines.  I&#8217;ll have to see what other options I can find for this use-case under such systems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/#comment-1435</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Wed, 26 Mar 2008 22:36:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/#comment-1435</guid>
		<description>Compiling with "-A" (for alias) works, but the resulting
plugin is only some KB in size and will not work if copied 
to the apropriate bundle folder.

However, such a  "-A"-Mailbundle works, if the binary
of the ASP which is available for download is put
in the bundle folder. Obviously, because of the "-A",
some files are missing which come with the binary.

Can anyone help me to find out, how I can create
a plugin, that can work on its own (without the binary
that is available for download here) added to the
bundles folder? Thanks!</description>
		<content:encoded><![CDATA[<p>Compiling with &#8220;-A&#8221; (for alias) works, but the resulting<br />
plugin is only some KB in size and will not work if copied<br />
to the apropriate bundle folder.</p>
<p>However, such a  &#8220;-A&#8221;-Mailbundle works, if the binary<br />
of the ASP which is available for download is put<br />
in the bundle folder. Obviously, because of the &#8220;-A&#8221;,<br />
some files are missing which come with the binary.</p>
<p>Can anyone help me to find out, how I can create<br />
a plugin, that can work on its own (without the binary<br />
that is available for download here) added to the<br />
bundles folder? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CDS</title>
		<link>http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/#comment-1434</link>
		<dc:creator>CDS</dc:creator>
		<pubDate>Wed, 26 Mar 2008 08:53:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.bazza.com/~eaganj/weblog/2008/02/16/demystifying-mailapp-plugins-for-leopard/#comment-1434</guid>
		<description>A fantastically useful little plugin. One of the many things (another being Quicksilver) that Apple should be acquiring and including in the OS.

Have you considered adding an option within the dialog box to locate and attach the missing file?</description>
		<content:encoded><![CDATA[<p>A fantastically useful little plugin. One of the many things (another being Quicksilver) that Apple should be acquiring and including in the OS.</p>
<p>Have you considered adding an option within the dialog box to locate and attach the missing file?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
