patbl
-
Posts
5 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by patbl
-
-
19 hours ago, Andrew said:
Is that in Finder (i.e. Finder window in /Applications/, or the Dock?)
That's in the Dock.
-
I've noticed that
tell applications "Emacs" to activate
is a bit laggy compared to the normal "Launch Apps / Files" action. Sometimes it takes a couple of seconds to change focus.
-
6 hours ago, Andrew said:
Could you please test what happens if you try launching Emacs from Finder by double clicking the app? I suspect you won't get focus in this situation either (i.e. a little Emacs / Catalina bug).
In fact, that works as expected. Clicking it the first time launches Emacs, and clicking it subsequent times switches focus to Emacs.
6 hours ago, Andrew said:If so, perhaps instead of a Launch Apps / Files, you could use a Run AppleScript in Alfred with something like:
tell applications "Emacs" to activate
Thanks, that works! That's good enough for me.
-
I have the same problem. I have a workflow that used to launch Emacs if it wasn't open, and switch focus to it if it was open:
This worked on Mojave. On Catalina, the shortcut launches the app if Emacs isn't yet running. But if Emacs is running, the shortcut doesn't do anything.
Upgrade macOS catalina and Alfred 4, Alfred couldn't switch the window to emacs
in Discussion & Help
Posted
Those instructions used to work for me. But when I followed them with Emacs 27.1, Emacs refused to start. Chris Farber, the author the blog post referred to earlier, posted a workaround in a comment.