<!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">On 14 Jul 2016, at 22:39, Graham Heath wrote:</p>

<p dir="auto"></p></div>
<div style="white-space:pre-wrap"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><div dir="auto">This might not seem like a big deal, but I love Emmet, and so do many of my
</div><div dir="auto">web-dev cohorts.
</div></blockquote></div>
<div style="white-space:normal">

<p dir="auto">I didn’t know this was actually working for anybody.</p>

<p dir="auto"></p></div>
<div style="white-space:pre-wrap"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><div dir="auto">I’m not sure if this
</div><div dir="auto">is because its crashing in use, or if its because the plugin was installed,
</div><div dir="auto">but doesn’t support the OS and therefore it crashes in the background
</div><div dir="auto">without issue, or if there are other crashes.
</div></blockquote></div>
<div style="white-space:normal">

<p dir="auto">It crashes during load with <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">EXC_BAD_ACCESS</code>, here’s an excerpt from the crash:</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">io.emmet.EmmetTextmate     +[Emmet sharedInstance] + 47
io.emmet.EmmetTextmate     -[Emmet init] + 87
io.emmet.EmmetTextmate     -[Emmet setupJSContext] + 233
com.apple.CoreFoundation   -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 217

com.apple.JavaScriptCore   WTFCrash + 62
</code></pre>

<p dir="auto"></p></div>
<div style="white-space:pre-wrap"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><div dir="auto">Is there any way to know if this custom built plugin is causing crash
</div><div dir="auto">reports, or is it just the original?
</div></blockquote></div>
<div style="white-space:normal">

<p dir="auto">I extracted the UUID from the updated binary and searched for “load plug-in” crash reports with this UUID, and did not find any.</p>

<p dir="auto">So it does not appear that this version has caused any crashes.</p>

<p dir="auto"></p></div>
<div style="white-space:pre-wrap"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><div dir="auto">What I’ve discovered so far is that the blacklisting uses "contains" rather
</div><div dir="auto">than "equals" so updating the Bundle identifier to
</div><div dir="auto">'io.emmet.EmmetTextmate2' was not enough
</div></blockquote></div>
<div style="white-space:normal">

<p dir="auto">You tested this?</p>

<p dir="auto">The blacklist is an array, and the check is if the <em>array</em> contains the bundle identifier. So it should have worked.</p>

<p dir="auto">It’s worth mentioning that the blacklist can be changed by updating user defaults, so anyone with the updated/working Emmet plug-in can also run:</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">defaults write com.macromates.TextMate.preview disabledPlugIns -array
</code></pre>

<p dir="auto">But it would be best to give the working plug-in a new bundle identifier and have people use that instead. I can add a release notes entry about this, if there is something “official”.</p>
</div>
</div>
</body>
</html>