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

new to OSX, tell EA to open on current space? #58

Open
zeltak opened this issue Nov 16, 2018 · 2 comments
Open

new to OSX, tell EA to open on current space? #58

zeltak opened this issue Nov 16, 2018 · 2 comments

Comments

@zeltak
Copy link

zeltak commented Nov 16, 2018

Hi again! been using EA for months on linux and lovin' it :)

Now at work have to use OSX and it works well. only issue is that emacs is always on space #1 and chrome on space #2. when i launch EA it takes me automatically to space #1 where EA opens.
Anyway to define the EA frame to open on the current space where it was launched from?

thx!!

Z

@zachcurry
Copy link
Owner

Hey buddy 👋 it’s been a while.

I’m aware of this issue. I have yet to look into a solution to this problem. If you look at the source code for this tool you will see that it’s a tower of dirty hacks and the solution to this issue, if it exists, will be another dirty hack. If it is possible to get the workspace number of the active window from System Events via AppleScript and if it’s possible to tell emacsclient to launch the new frame in a particular workspace, then I think we can resolve this issue.

I’m currently very busy on other projects at this time, but if someone else looks into the two requisites I mentioned and report back, it’d be a big help. Otherwise, it will be a few weeks before I have the time to look into this.

@zeltak, you’re awesome! Thank you for your continued involvement and your contributions to the project. You’re an official EA superstar! 💫

@dariusbdockery
Copy link

I know this answer is a bit late, but this sounds like a similar problem I was having. This might not be an EA issue. I assigned Emacs to this desktop (through the options menu from the dock in Mac OS) so I would have windows in the right place at startup. So anytime Emacs launched a new frame (like EA), the frame would pop up on the assigned desktop instead of where it was called from. I just unassigned Emacs and EA worked perfectly.

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

3 participants