Jump to content
Sign in to follow this  
Sebastian

Emacs focus

Recommended Posts

Hello -

 

I would love to have a workflow to open/focus certain apps with a global shortcut (eg cmd+1 for firefox, cms+2 for slack, cmd+3 for emacs etc). I've setup a basic workflow and it works like a charm apart from the Emacs app (https://emacsformacosx.com). It seems that the launch command is ignored. Is there anything I can do to fix it?Screenshot-2019-11-28-at-13-11-13.png

Share this post


Link to post

@Sebastian Are there certain scenarios where it works, for example does it work when Emacs is fully quit?

 

What full path do you have to Emacs, and which version of macOS are you using?

Share this post


Link to post

Hey,

 

> Are there certain scenarios where it works, for example does it work when Emacs is fully quit?

 

Good catch, it does actually open the Emacs for the first time but it cannot focus it.

 

> What full path do you have to Emacs, and which version of macOS are you using?

 

Standard `/Applications/Emacs.app`, Catalina 10.15.1, Alfred 4.0.6 (build 1124).

Share this post


Link to post

This looks to be related to Catalina and Emacs specifically:

 

https://www.alfredforum.com/topic/13807-upgrade-macos-catalina-and-alfred-4-alfred-couldnt-switch-the-window-to-emacs/

 

Outside of Alfred, what behaviour do you get with Emacs using alternative methods of re-launch (e.g. double clicking in finder, and from Spotlight).

 

Also, are there any other apps which exhibit this behaviour?

 

Cheers,

Andrew

Share this post


Link to post

> Outside of Alfred, what behaviour do you get with Emacs using alternative methods of re-launch (e.g. double clicking in finder, and from Spotlight).

 

None of this work. Only cmd+tab and clicking on the dock helps. 

 

Is there any alternative way to setup Alfred? Could you give me some technical details that I could post to emacs for osx issues page so they can look at it as well?

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  
×
×
  • Create New...