Closed jsilve24 closed 2 years ago
You should be able to customize display-buffer-alist: (info "(ess) Controlling buffer display")
On Thu, Aug 19, 2021 at 8:55 PM Justin Silverman @.***> wrote:
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
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/emacs-ess/ESS/issues/1157, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC24ZCI2F2OH7OZGN46XPSDT5WRZFANCNFSM5CPJ24TQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .
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!
That worked thank you!
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