d12frosted / homebrew-emacs-plus

Emacs Plus formulae for the Homebrew package manager
MIT License
2.24k stars 175 forks source link

Slow startup of compile command when emacs is started from GUI #672

Open nicolasdespres opened 3 months ago

nicolasdespres commented 3 months ago

Issue description

When emacs-plus@29 is started from the dock (as a regular application) running a trivial command such echo foo with M-x compile takes nearly a second to start, whereas it is instant when emacs is started from the terminal. The compilation mode buffer does show quickly in both cases it is just the command that it is slow to start. Emacs has full disk access. Any idea how to solves this ?

Here my compilation flags: --with-native-comp --with-compress-install --with-poll --with-imagemagick --with-mailutils macOS version: Sonoma 14.3.1 (23D60)