Emacs is giving me errors when I start it from the terminal. It didn’t do this before, and I hadn’t updated either emacs or MacOS but this morning when I started emacs it gave this behaviour.
Thinking that maybe it was because I was using an out of date version of emacs or that I’d installed it incorrectly, I reinstalled it using homebrew (brew install --cask emacs
). Now when I try to open it from the terminal it gives me:
[HomeMac2-937] ~ > emacs &
[1] 22636
[HomeMac2-937] ~ > 1 HIToolbox 0x00007ff80dff8726 _ZN15MenuBarInstance22EnsureAutoShowObserverEv + 102
2 HIToolbox 0x00007ff80dff82b8 _ZN15MenuBarInstance14EnableAutoShowEv + 52
3 HIToolbox 0x00007ff80df9c908 SetMenuBarObscured + 408
4 HIToolbox 0x00007ff80df9c4ca _ZN13HIApplication15HandleActivatedEP14OpaqueEventRefhP15OpaqueWindowPtrh + 164
5 HIToolbox 0x00007ff80df96996 _ZN13HIApplication13EventObserverEjP14OpaqueEventRefPv + 252
6 HIToolbox 0x00007ff80df5ebd2 _NotifyEventLoopObservers + 153
7 HIToolbox 0x00007ff80df963e6 AcquireEventFromQueue + 494
8 HIToolbox 0x00007ff80df853ec ReceiveNextEventCommon + 285
9 HIToolbox 0x00007ff80df852b3 _BlockUntilNextEventMatchingListInModeWithFilter + 70
10 AppKit 0x00007ff80778cf33 _DPSNextEvent + 909
11 AppKit 0x00007ff80778bdb4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
12 AppKit 0x00007ff80777e3f7 -[NSApplication run] + 586
13 Emacs-x86_64-10_14 0x000000010a1f09ca -[EmacsApp run] + 362
14 Emacs-x86_64-10_14 0x000000010a1f0756 ns_term_init + 3622
15 Emacs-x86_64-10_14 0x000000010a2088b1 Fx_open_connection + 33
16 Emacs-x86_64-10_14 0x000000010a16ab21 funcall_subr + 289
17 Emacs-x86_64-10_14 0x000000010a16a0eb Ffuncall + 843
18 Emacs-x86_64-10_14 0x000000010a1b041b exec_byte_code + 1675
19 Emacs-x86_64-10_14 0x000000010a16a089 Ffuncall + 745
20 Emacs-x86_64-10_14 0x000000010a16a0eb Ffuncall + 843
21 Emacs-x86_64-10_14 0x000000010a1b041b exec_byte_code + 1675
22 Emacs-x86_64-10_14 0x000000010a16a089 Ffuncall + 745
23 Emacs-x86_64-10_14 0x000000010a1b041b exec_byte_code + 1675
24 Emacs-x86_64-10_14 0x000000010a16a089 Ffuncall + 745
25 Emacs-x86_64-10_14 0x000000010a1b041b exec_byte_code + 1675
26 Emacs-x86_64-10_14 0x000000010a169934 apply_lambda + 356
27 Emacs-x86_64-10_14 0x000000010a16561f eval_sub + 783
28 Emacs-x86_64-10_14 0x000000010a16966a Feval + 106
29 Emacs-x86_64-10_14 0x000000010a168087 internal_condition_case + 263
30 Emacs-x86_64-10_14 0x000000010a0ee54d top_level_1 + 45
31 Emacs-x86_64-10_14 0x000000010a1676fb internal_catch + 267
32 Emacs-x86_64-10_14 0x000000010a22adf6 command_loop.cold.1 + 54
33 Emacs-x86_64-10_14 0x000000010a0dd166 command_loop + 134
34 Emacs-x86_64-10_14 0x000000010a0dd076 recursive_edit_1 + 118
35 Emacs-x86_64-10_14 0x000000010a0dd2eb Frecursive_edit + 347
36 Emacs-x86_64-10_14 0x000000010a0dbe86 main + 7574
37 dyld 0x00007ff804234310 start + 2432
And it makes more of these errors every time I reopen the window.
When I open the GUI from Applications it works fine.
Why is this happening and how can I stop it?