I have keyboard shortcuts set up to switch to virtual desktops with Ctrl-n. When I switch to a desktop, the "front-most" app in that window becomes focused. But not for Emacs.
Another, perhaps related, issue is that even though I have the When switching to an application, switch to a Space with open windows for the application option checked Mission Control preferences, when I Cmd-Tab to Emacs, the Emacs window is moved to the desktop I'm currently in. That's unexpected since when I Cmd-Tab to any other app, I'm switched to that desktop.
Any idea how to get Emacs to behave like normal applications?
- Emacs version:
GNU Emacs 25.1.1 (x86_64-apple-darwin15.4.0, Carbon Version 157 AppKit 1404.46) of 2016-10-24(brew install emacs-mac) - OS version:
10.11.4 (15E65)
emacs-mac-porttag, though. Is that the port by Mitsuhary Yamamoto? I am building from straight GNU source myself. – Harald Hanche-Olsen Oct 25 '16 at 15:20railwaycat/emacsmacport/emacs-mac: stable emacs-25.1-z-mac-6.0, HEADin Homebrew (brew info emacs-mac) – Andreas Jansson Oct 25 '16 at 15:33