[OS X Emacs] Delay opening HTML files from a shell

Jamie Taylor Jamie.Taylor at pobox.com
Mon Jul 15 22:07:56 EDT 2019

I attempted to send this a month ago, but the list mail server rejected it,
and I didn't get around to sending it again from a different source.  I'd
be interested to know if any of this helps.


Some googling and brief experimentation has lead me to believe
that this behavior is related to the code signature (or the lack
thereof) on the application.  Specifically, I observed the
following three data points:

The current released version of Aquamacs, which is signed, does
not exhibit this behavior.

A nightly that I happened to have lying around (2018-02-23), which
is not signed, does exhibit the slow "open" command behavior.

However, if that same nightly is opened by running its binary
directly rather than opening it as normal (i.e., running
$  ~/Desktop/Aquamacs\ 2018-02-23\ nightly.app/Contents/MacOS/Aquamacs
rather than double-clicking its icon), everything is speedy again.

So my hypothesis is that if you either a) sign the app bundle that you
built, or b) launch it by running the binary from the terminal rather
than opening the app bundle, then you will get your speedy "open"
behavior back.

If anyone wants to go down the rabbit hole of trying to figure out
why it works this way, here are a couple of search terms and links that
might be of interest:  Mojave TCC, Attribution Chain
(the most interesting bits are in the comment thread)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20190715/9c3fb761/attachment.html>

More information about the MacOSX-Emacs mailing list