<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 6 Dec 2020, at 21:08, Randy Bush wrote:</p>

<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999">
<p dir="auto">I want to use emacs to compose mail.  I started with this bundle:<br>
<a href="https://github.com/alexandru/emacs.mmbundle" style="color:#999">https://github.com/alexandru/emacs.mmbundle</a><br>
which gets mail into emacs and back to mailmate.</p>
</blockquote>

<p dir="auto">i tell MM to compose a reply and hit Command/Emacs/Edit (^O) and find<br>
myself in a message.eml buffer in fundamental mode.  no headers.</p>

<p dir="auto">my issue is that closing the emacs buffer, either with ^C^C or ^X^C<br>
does not seem to get the resulting buffer into the MM composition.<br>
^C^C does get</p>

<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">Wrote /var/folders/z5/l4jz_j850pl8449q0z2z2vt40000gn/T/com.freron.MailMate/edit/303674/message.eml
</code></pre>
</blockquote>

<p dir="auto">This works just fine for me.  I use emacsclient with a running server<br>
and ^X^S + ^X^C closes the frame and client and focus is back on the<br>
MailMate compose window.  In the last line, this script<br>
<a href="https://github.com/alexandru/emacs.mmbundle/blob/master/Support/bin/edit" style="color:#3983C4">https://github.com/alexandru/emacs.mmbundle/blob/master/Support/bin/edit</a><br>
activates MailMate again.  Maybe your execution does not reach that point?</p>

<p dir="auto">In any case, every time the file is saved, the MailMate compose window is updated.  It watches that file.</p>

<p dir="auto">Cheers,<br>
Thomas</p>

<p dir="auto">--<br>
Thomas Kahle<br>
<a href="https://www.thomas-kahle.de" style="color:#3983C4">https://www.thomas-kahle.de</a></p>
</div>
</div>
</body>
</html>