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

David Reitter david.reitter at gmail.com
Mon Jul 15 22:44:28 EDT 2019


I could certainly try this out by making a signed version.
This seems like odd behavior though - probably not as designed.

> On Jul 15, 2019, at 10:07 PM, Jamie Taylor <Jamie.Taylor at pobox.com> wrote:
> 
> 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
> https://github.com/macvim-dev/macvim/issues/763
> https://eclecticlight.co/2019/02/01/solving-problems-with-mojaves-privacy-protection/ (the most interesting bits are in the comment thread)
> 
> 
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> https://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx



More information about the MacOSX-Emacs mailing list