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

ess-switch-to-inferior-or-script-buffer when script and inferrior REPL are in different frames. #1157

Closed
jsilve24 opened this issue Aug 20, 2021 · 3 comments

Comments

@jsilve24
Copy link

I use ess, emacs and i3. Because of the later I like to generally replace windows with frames.

Whenever I use ess-switch-to-inferior-or-script-buffer I would like it if it jumped to the iESS process in the other frame but instead it just opens a new window in the same frame as the script. Is there a way to generalize this behavior so it works across frames?

Thank you!
Justin

@jabranham
Copy link
Contributor

jabranham commented Aug 20, 2021 via email

@meedstrom
Copy link

I do the same as you. If you have an unconfigured display-buffer-alist, this should work:

(setq display-buffer-base-action '((display-buffer-use-some-frame
                                    display-buffer-pop-up-frame)
                                   ((reusable-frames . t))))

By the way, thanks for letting me know about this command!

@jsilve24
Copy link
Author

jsilve24 commented Oct 2, 2021

That worked thank you!

@jsilve24 jsilve24 closed this as completed Oct 2, 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

3 participants