I have a weird problem. When I launch emacs GUI by double clicking the icon, or using
open -a emacs in the terminal, or calling the application from alfred/spotlight it takes 4-8 seconds to launch. But when I launch GUI emacs from the terminal by calling
/Applications/Emacs.app/Contents/MacOS/emacs it starts in about 1 second or a bit less. I haven't noticed this discrepancy before and I think it must be related to the way I'm building emacs but I can't see how.
So why would emacs start more quickly when calling
/Applications/Emacs.app/Contents/MacOS/emacs than it does when calling
I'm running emacs 27.0.5, but the same problem occurs with emacs 26.2.
I'm on macOS running Mojave 10.14.5. The build config is:
./autogen.sh ./configure \ --build=x86_64-apple-darwin \ --without-dbus \ --with-ns \ --with-imagemagick \ --with-modules \ --with-gnutls \ --with-json \ --disable-silent-rules \ make make install mv nextstep/Emacs.app /Applications