<div class="markdown">
<p dir="auto">On 7 Jul 2015, at 5:46, Alan Schussman wrote:</p>

<blockquote>
<p dir="auto">I'm editing this with a quickly-put-together Atom bundle -- basically a copy and tiny modification of the MacVim bundle. It seems to work okay and is super-minimal. It works like the other edit bundles, using ^-shift-O to invoke the popup menu to invoke the external editor.</p>
</blockquote>

<p dir="auto">Thanks for helping out.</p>

<blockquote>
<p dir="auto">You can grab the bundle at <a href="https://github.com/ats/atom.mmbundle">https://github.com/ats/atom.mmbundle</a>; clone to ~/Application Support/MailMate/Managed/Bundles, but be cautious because MailMate will overwrite and remove bundles that aren't part of its official set, if you accidentally un-check and then check it again in the bundles preference window.</p>
</blockquote>

<p dir="auto">For this reason, it is better to place the bundle here:</p>

<pre><code>~/Application Support/MailMate/Bundles/
</code></pre>

<blockquote>
<p dir="auto">I'm not an Atom user, so I don't know if there are more capabilities that an integration could take advantage of. It appears to pick up the markdown filetype and treat it properly, at least. The command requires that you've run "install shell commands" in Atom.</p>
</blockquote>

<p dir="auto">It might be better to use the TextMate bundle as inspiration. This includes a warning about the need to “install” the command. It also shows the use of the <code>--wait</code> command line argument which googling seems to show atom supports. Finally, the PATH variable is shorter. It would also be nice if it only includes the location(s) atom actually uses.</p>

<p dir="auto">Would you like to make these changes or should I fork and make them myself (when I have time)? In any case, I'll be glad to include the bundle in the default set of bundles available in MailMate.</p>

<p dir="auto">Again, thanks for helping out.</p>

<p dir="auto">-- <br>
Benny</p>

</div>