Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emacs opens a new instance instead of focusing existing one #82

Closed
dangom opened this issue Mar 19, 2021 · 4 comments
Closed

emacs opens a new instance instead of focusing existing one #82

dangom opened this issue Mar 19, 2021 · 4 comments

Comments

@dangom
Copy link

dangom commented Mar 19, 2021

When activating Emacs, spacehammer opens a new instance instead of focusing on an existing one.
I'm using the default config and a vanilla emacs setup.

My emacs 28 was installed by building it with build-emacs-for-macos, and symlinked to /Applications/Emacs.app.
I open emacs by running emacs &! on my zsh.

Is there anything suspicious in my setup that could lead to this issue?
I do have a server running and can connect to it via emacsclient.

Other potentially relevant info:
Hammerspoon latest (0.9.86)
spacehammer latest (81ca4e0)
MacOS Catalina 10.15.7

@agzam
Copy link
Owner

agzam commented Mar 20, 2021

What does running open -a Emacs from the terminal do for you? Does it activate existing instance or opens a new one?

@dangom
Copy link
Author

dangom commented Mar 21, 2021

Yes, it opens a new one.

@agzam
Copy link
Owner

agzam commented Mar 21, 2021

In that case this is neither a Hammerspoon, nor a Spacehammer issue. This is OSX thing, perhaps check if the app is properly linked. Maybe try tweaking ns-pop-up-frames var.

@agzam
Copy link
Owner

agzam commented Apr 26, 2021

@dangom, I'm going to close this for now.

@agzam agzam closed this as completed Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants