<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<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">Now this is a great bug report! Takes me back to my early career as a tester on Aldus PageMaker 5. :)</p>

<p dir="auto">Sam Hathaway wrote (at 11:09 on 18 Oct 2017):</p>

<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<h2 style="font-size:1.2em">Scenario 1: No Markdown, works as expected</h2>

<h3 style="font-size:1.1em">Steps to replicate</h3>

<ol>
<li value="1">Reply to a text-only message.</li>
<li value="2">Type some non-Markdown text.</li>
<li value="3">Hit Cmd-W to close.</li>
<li value="4">Click “Don’t Save”.</li>
</ol>

<h3 style="font-size:1.1em">Expected/actual result</h3>

<ul>
<li>No message is added to the Drafts folder.</li>
</ul>

<h2 style="font-size:1.2em">Scenario 2: Markdown, draft is silently saved</h2>

<h3 style="font-size:1.1em">Steps to replicate</h3>

<ol>
<li value="1">Reply to a text-only message.</li>
<li value="2">Type some Markdown text, e.g. <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">Hello, *world!*</code></li>
<li value="3">Type some more text, e.g. <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">Goodbye, world!</code></li>
<li value="4">Hit Cmd-W to close.</li>
<li value="5">Click “Don’t Save”.</li>
</ol>

<h3 style="font-size:1.1em">Expected result</h3>

<ul>
<li>No message is added to the Drafts folder.</li>
</ul>

<h3 style="font-size:1.1em">Actual result</h3>

<ul>
<li>There is a new message in the Drafts folder that contains the state of the message <em>at the time that it was converted to Markdown format.</em> In this example, it will contain <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">Hello, *world!*</code> but <em>not</em> <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">Goodbye, world!</code>.</li>
</ul>

<h2 style="font-size:1.2em">Notes</h2>

<ul>
<li>If you close the message right after it switches into Markdown mode, MailMate doesn’t prompt for whether to save the message, but the draft is created anyway.</li>
<li>This probably happens with new messages (not replies) as well. I haven’t checked.</li>
<li>You probably need to have Markdown turned on in the first place for this to happen.
_______________________________________________
mailmate mailing list
<a href="mailto:mailmate@lists.freron.com" style="color:#777">mailmate@lists.freron.com</a>
<a href="https://lists.freron.com/listinfo/mailmate" style="color:#777">https://lists.freron.com/listinfo/mailmate</a></li>
</ul>
</blockquote>
</div>
</div>
</body>
</html>